diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
commit | 47367e1d50b81501e8a6ce215f8be4eeacdda693 (patch) | |
tree | 28be64a4a758a274ef2459628ec29384722cd3fb /networking/telnet.c | |
parent | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (diff) | |
download | busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.gz busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.bz2 busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.zip |
Convert all networking/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 29 |
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 |