summaryrefslogtreecommitdiffstats
path: root/usr.bin/rsh/rsh.1
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-09-06 05:24:05 +0000
committerjkh <jkh@FreeBSD.org>1996-09-06 05:24:05 +0000
commitadb8bc7102eee36041efffed2332a6cbf34e43a6 (patch)
treefd23866db41fb3c31035b7d82c58db336ba1138c /usr.bin/rsh/rsh.1
parentb740ca21953c554322365be1145a08a49671c067 (diff)
downloadFreeBSD-src-adb8bc7102eee36041efffed2332a6cbf34e43a6.zip
FreeBSD-src-adb8bc7102eee36041efffed2332a6cbf34e43a6.tar.gz
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>
Diffstat (limited to 'usr.bin/rsh/rsh.1')
-rw-r--r--usr.bin/rsh/rsh.16
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/rsh/rsh.1 b/usr.bin/rsh/rsh.1
index 0a578d6..d19f381 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
OpenPOWER on IntegriCloud