aboutsummaryrefslogtreecommitdiff
path: root/networking/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnet.c')
-rw-r--r--networking/telnet.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index 1a6986b94..f520fe1dd 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -20,6 +20,35 @@
20 * by Fernando Silveira <swrh@gmx.net> 20 * by Fernando Silveira <swrh@gmx.net>
21 * 21 *
22 */ 22 */
23//config:config TELNET
24//config: bool "telnet"
25//config: default y
26//config: help
27//config: Telnet is an interface to the TELNET protocol, but is also commonly
28//config: used to test other simple protocols.
29//config:
30//config:config FEATURE_TELNET_TTYPE
31//config: bool "Pass TERM type to remote host"
32//config: default y
33//config: depends on TELNET
34//config: help
35//config: Setting this option will forward the TERM environment variable to the
36//config: remote host you are connecting to. This is useful to make sure that
37//config: things like ANSI colors and other control sequences behave.
38//config:
39//config:config FEATURE_TELNET_AUTOLOGIN
40//config: bool "Pass USER type to remote host"
41//config: default y
42//config: depends on TELNET
43//config: help
44//config: Setting this option will forward the USER environment variable to the
45//config: remote host you are connecting to. This is useful when you need to
46//config: log into a machine without telling the username (autologin). This
47//config: option enables `-a' and `-l USER' arguments.
48
49//applet:IF_TELNET(APPLET(telnet, BB_DIR_USR_BIN, BB_SUID_DROP))
50
51//kbuild:lib-$(CONFIG_TELNET) += telnet.o
23 52
24//usage:#if ENABLE_FEATURE_TELNET_AUTOLOGIN 53//usage:#if ENABLE_FEATURE_TELNET_AUTOLOGIN
25//usage:#define telnet_trivial_usage 54//usage:#define telnet_trivial_usage