summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2021-08-28 01:36:46 +0200
committerpgen <p.gen.progs@gmail.com>2021-08-28 01:38:12 +0200
commit0a804a7ba9c20b505e97528c1f2b1db547ab825a (patch)
treeb6e627befe6003ce640a0a0e88c97a55c061a23f /smenu.1
parentefc51dfabb437a81f16017b12d9ea9d58ac4a552 (diff)
Add a global timeout which defaults to 15min
A new option can be used to modify this value: -f|-forgotten_timeout|-global_timeout
Diffstat (limited to 'smenu.1')
-rw-r--r--smenu.110
1 files changed, 10 insertions, 0 deletions
diff --git a/smenu.1 b/smenu.1
index b816084..c2ecd6e 100644
--- a/smenu.1
+++ b/smenu.1
@@ -67,6 +67,7 @@ and outputs the selection to stdout.
[\fB-v\fP|\fB-vb\fP|\fB-visual_bell\fP]
[\fB-Q\fP|\fB-ignore_quotes\fP]
[\fB-lim\fP|\fB-limits\fP \fIlimit:value\fP...]
+ [\fB-f\fP|\fB-forgotten_timeout\fP|\fB-global_timeout\fP \fItimeout\fP]
selectors ::= \fIcol1\fP[-\fIcol2\fP],...|\fIrow1\fP[-\fIrow2\fP],...|\
@@ -1627,6 +1628,15 @@ to set the maximum number of words allowed.
to set the maximum number of columns allowed.
.RE
+.IP "[\fB-f\fP|\fB-forgotten_timeout\fP|\fB-global_timeout\fP \fItimeout\fP]"
+(Allowed in all contexts.)
+
+This option defines a global timeout in seconds.
+The program will end without error after this period of inactivity.
+
+This timer is rearmed to its initial value on every keystroke.
+
+Its default value is 900 seconds (15 minutes).
.SH NOTES
If tabulators (\fI\\t\fP) are embedded in the input, there is no way
to replace them with the original number of spaces.