aboutsummaryrefslogtreecommitdiff
path: root/shells/wapsh/files/patch-htshd::htshd.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-06 00:34:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-06 00:34:34 +0000
commit000de2cf3bcc49c65ec8102876b4f74de4bc0ea7 (patch)
treeace770fa6e9d0245e1ec92cdb6ff88cbabc8676c /shells/wapsh/files/patch-htshd::htshd.c
parentffd9771cf0ad76fa27acb3001dc5a65d9304edd4 (diff)
shells/wapsh - update, make fetchable, take maintainership
- Upgrade to latest version (make fetchable again) - Add WWW line and more supported phones to pkg-descr - Single PLIST file addition - Replace rc.d script with new rc.subr-style - Install in more appropriate place - Take maintainership PR: ports/94243 Submitted by: Shaun Amott <shaun@inerd.com>
Notes
Notes: svn path=/head/; revision=158921
Diffstat (limited to 'shells/wapsh/files/patch-htshd::htshd.c')
-rw-r--r--shells/wapsh/files/patch-htshd::htshd.c72
1 files changed, 0 insertions, 72 deletions
diff --git a/shells/wapsh/files/patch-htshd::htshd.c b/shells/wapsh/files/patch-htshd::htshd.c
index 48b1a6a49edf..8af522dd3581 100644
--- a/shells/wapsh/files/patch-htshd::htshd.c
+++ b/shells/wapsh/files/patch-htshd::htshd.c
@@ -13,75 +13,3 @@
/* Default name of global user
initialisation file */
#define RCFILE ".htshrc" /* Name of user-specific initialisation file
-@@ -3572,39 +3572,38 @@
- usage(void)
- {
- if (!weAreDaemon) {
-- fprintf(stderr,
--"htsh options are:
---b numbytes Specify upper limit for per-user shell output buffers
-- (Default: %d bytes)
---c numbytes Maximum number of bytes to be transferred at a time
-- between Client Shell and HTTP Server.
-- (Default: %d bytes, minimum setting %d bytes)
---d Run in debug mode
---D [y|n] If argument is 'y' run as daemon, otherwise ('n')
-- do not daemonise.
-- (If run from inetd, htsh is always a daemon. If run from a
-- shell, htsh is a daemon by default)
---f config-file Use named file for startup configuration, instead of %s
---F Do not use standard configuration file (%s)
---h Display this help message
---g global-init-file Use named file as login initialisation file for all user
-- logins. (Default: %s)
---H http-server Specify HTTP server from which connections will
-- be accepted. (Can be specified multiple times)
---L log-file-dir Record script(1) style log of each login session
-- in named directory
---o numsecs Timeout for shell output (Default: %3.1f seconds,
-- minimum: %3.1f, maximum: %4.1f seconds)
---p port-num Specify TCP port on which htsh should listen for
-- connections. (Default is %s in /etc/services)
---P 'proto-name... ' Specify list of allowed login protocols
-- (can be '%s' and or '%s'
---t numsecs Timeout for shell input (Default: %d seconds)
---u username Specify user who is allowed to login to htsh
-- (Can be repeated multiple times)
--
--The -c, -D, -o, -p, and -t options override corresponding options in the
--configuration file. The -h and -u options are additive with corresponding
-+ fprintf(stderr, "htsh options are: \n\
-+-b numbytes Specify upper limit for per-user shell output buffers \n\
-+ (Default: %d bytes)\n\
-+-c numbytes Maximum number of bytes to be transferred at a time \n\
-+ between Client Shell and HTTP Server. \n\
-+ (Default: %d bytes, minimum setting %d bytes)\n\
-+-d Run in debug mode\n\
-+-D [y|n] If argument is 'y' run as daemon, otherwise ('n')\n\
-+ do not daemonise. \n\
-+ (If run from inetd, htsh is always a daemon. If run from a \n\
-+ shell, htsh is a daemon by default)\n\
-+-f config-file Use named file for startup configuration, instead of %s\n\
-+-F Do not use standard configuration file (%s)\n\
-+-h Display this help message\n\
-+-g global-init-file Use named file as login initialisation file for all user\n\
-+ logins. (Default: %s)\n\
-+-H http-server Specify HTTP server from which connections will \n\
-+ be accepted. (Can be specified multiple times)\n\
-+-L log-file-dir Record script(1) style log of each login session\n\
-+ in named directory\n\
-+-o numsecs Timeout for shell output (Default: %3.1f seconds, \n\
-+ minimum: %3.1f, maximum: %4.1f seconds)\n\
-+-p port-num Specify TCP port on which htsh should listen for \n\
-+ connections. (Default is %s in /etc/services)\n\
-+-P 'proto-name... ' Specify list of allowed login protocols \n\
-+ (can be '%s' and or '%s'\n\
-+-t numsecs Timeout for shell input (Default: %d seconds)\n\
-+-u username Specify user who is allowed to login to htsh\n\
-+ (Can be repeated multiple times)\n\
-+\n\
-+The -c, -D, -o, -p, and -t options override corresponding options in the\n\
-+configuration file. The -h and -u options are additive with corresponding\n\
- options in the configuration file\n",
- DEF_OUTPUT_BUFFER_LIMIT,
- DEF_CS_MAX_TRANSFER_SIZE, CS_MAX_TRANSFER_SIZE_LOW_BOUND,