aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-22 12:25:47 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-22 12:25:47 +0000
commitd2c76d26bece633de80bd45a71179eda45340067 (patch)
treedd6d10c8d38362531d384f701e86a2d89926c592 /include
parentd217f2511d65100d0b536a463401ed474c59ced0 (diff)
downloadbusybox-w32-d2c76d26bece633de80bd45a71179eda45340067.tar.gz
busybox-w32-d2c76d26bece633de80bd45a71179eda45340067.tar.bz2
busybox-w32-d2c76d26bece633de80bd45a71179eda45340067.zip
Fernando Silveira writes:
Hi, Well, I made this patch a long time ago (08/2002) because it was a need of a project, but had no time to send it to you. It adds support to `autologin' option of the telnet protocol. It has been used since made with busybox 0.60.3 at production and I had no problems with it. I have ported it to the HEAD revision of the CVS server (20040211) and I hope you enjoy and apply it to the official sources. :) Thanks a lot! git-svn-id: svn://busybox.net/trunk/busybox@8550 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/usage.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 59e81c2d3..56650d565 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2415,11 +2415,26 @@
2415 "$ cat /tmp/foo\n" \ 2415 "$ cat /tmp/foo\n" \
2416 "Hello\n" 2416 "Hello\n"
2417 2417
2418#ifdef CONFIG_FEATURE_TELNET_AUTOLOGIN
2419#define telnet_trivial_usage \
2420 "[-a] [-l USER] HOST [PORT]"
2421#define telnet_full_usage \
2422 "Telnet is used to establish interactive communication with another\n" \
2423 "computer over a network using the TELNET protocol.\n\n" \
2424 "Options:\n" \
2425 "\t-a\t\tAttempt an automatic login with the USER variable.\n" \
2426 "\t-l USER\t\tAttempt an automatic login with the USER argument.\n" \
2427 "\tHOST\t\tThe official name, alias or the IP address of the\n" \
2428 "\t\t\tremote host.\n" \
2429 "\tPORT\t\tThe remote port number to connect to. If it is not\n" \
2430 "\t\t\tspecified, the default telnet (23) port is used.\n"
2431#else
2418#define telnet_trivial_usage \ 2432#define telnet_trivial_usage \
2419 "HOST [PORT]" 2433 "HOST [PORT]"
2420#define telnet_full_usage \ 2434#define telnet_full_usage \
2421 "Telnet is used to establish interactive communication with another\n"\ 2435 "Telnet is used to establish interactive communication with another\n"\
2422 "computer over a network using the TELNET protocol." 2436 "computer over a network using the TELNET protocol."
2437#endif
2423 2438
2424#ifdef CONFIG_FEATURE_TELNETD_INETD 2439#ifdef CONFIG_FEATURE_TELNETD_INETD
2425#define telnetd_trivial_usage \ 2440#define telnetd_trivial_usage \