mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
drivers/net/telnet.c: Handle ctrl events (SIGINT, SIGSTP).
This commit is contained in:
committed by
Gregory Nutt
parent
52203c4ae1
commit
de05dd6e67
+21
-5
@@ -36,23 +36,39 @@ config TELNET_TXBUFFER_SIZE
|
||||
int "Telnet TX buffer size"
|
||||
default 256
|
||||
|
||||
config TELNET_DUMPBUFFER
|
||||
bool "Dump Telnet buffers"
|
||||
default n
|
||||
depends on DEBUG_NET
|
||||
config TELNET_MAXLCLIENTS
|
||||
int "Maximum Telnet clients"
|
||||
default 8
|
||||
---help---
|
||||
The maximum number of Telnet clients tasks is limited by this
|
||||
number. This limitation is somewhat artificial since it only
|
||||
determines the size of a fixed-size, preallocated, internal array.
|
||||
|
||||
config TELNET_CHARACTER_MODE
|
||||
bool "Character mode"
|
||||
default n
|
||||
---help---
|
||||
The Telnet daemon works in character mode. In this case, the deamon
|
||||
The Telnet daemon works in character mode. In this case, the daemon
|
||||
will echo a character which telnet client sent. By default, it works
|
||||
in line mode.
|
||||
|
||||
config TELNET_IOTHREAD_PRIORITY
|
||||
int "I/O thread priority"
|
||||
default 100
|
||||
|
||||
config TELNET_IOTHREAD_STACKSIZE
|
||||
int "I/O thread stack size"
|
||||
default 1024
|
||||
|
||||
config TELNET_SUPPORT_NAWS
|
||||
bool "Support NAWS (Negotiate About Window Size)"
|
||||
default n
|
||||
|
||||
config TELNET_DUMPBUFFER
|
||||
bool "Dump Telnet buffers"
|
||||
default n
|
||||
depends on DEBUG_NET
|
||||
|
||||
endif # NETDEV_TELNET
|
||||
|
||||
config ARCH_HAVE_NETDEV_STATISTICS
|
||||
|
||||
Reference in New Issue
Block a user