diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-09-06 05:24:05 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-09-06 05:24:05 +0000 |
commit | 619c58eea0231380a6bbdde5770568789a514567 (patch) | |
tree | fd23866db41fb3c31035b7d82c58db336ba1138c /usr.bin/rsh/rsh.1 | |
parent | d4b2a43950acbcece588e8197b004c436ce0a75e (diff) | |
download | src-619c58eea0231380a6bbdde5770568789a514567.tar.gz src-619c58eea0231380a6bbdde5770568789a514567.zip |
Add a timeout flag so that failing operations can at least be caught
and flagged. Closes PR#1513
Submitted-By: David Muir Sharnoff <muir@idiom.com>
Notes
Notes:
svn path=/head/; revision=18067
Diffstat (limited to 'usr.bin/rsh/rsh.1')
-rw-r--r-- | usr.bin/rsh/rsh.1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/rsh/rsh.1 b/usr.bin/rsh/rsh.1 index 0a578d6dec99..d19f38177f35 100644 --- a/usr.bin/rsh/rsh.1 +++ b/usr.bin/rsh/rsh.1 @@ -40,6 +40,7 @@ .Sh SYNOPSIS .Nm rsh .Op Fl Kdnx +.Op Fl t Ar timeout .Op Fl k Ar realm .Op Fl l Ar username .Ar host @@ -105,6 +106,11 @@ option turns on .Tn DES encryption for all data exchange. This may introduce a significant delay in response time. +.It Fl t +The +.Fl t +option allows a timeout to be specified (in seconds). If no +data is sent or received in this time, rsh will exit. .El .Pp If no |