1keywait(1) GNU Telephony keywait(1)
2
3
4
6 keywait - pause and wait for input.
7
9 keywait [options] [prompt]
10
12 Pause and wait for keyboard input. A prompt can be displayed to the
13 user, and the timeout to wait for keyboard input can be specified.
14 Before waiting any pending input is automatically flushed. If no time‐
15 out is specified then keywait will wait forever.
16
18 --timeout=seconds
19 Specify number of seconds to wait for input.
20
21 --help Outputs help screen for the user.
22
24 Returns 0 if keyboard entry was received. 1 if timeout. 2 for any
25 error.
26
28 keywait was written by David Sugar <dyfet@gnutelephony.org>.
29
31 Report bugs to bug-commoncpp@gnu.org or bugs@gnutelephony.org.
32
34 Copyright © 2013-2014 David Sugar, Tycho Softworks.
35 This is free software; see the source for copying conditions. There is
36 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
37 PURPOSE.
38
39
40
41
42GNU uCommon August 2013 keywait(1)