keywait - Man Page

pause and wait for input.

Synopsis

keywait [options] [prompt]

Description

Pause and wait for keyboard input.  A prompt can be displayed to the user,  and the timeout to wait for keyboard input can be specified.  Before waiting any pending input is automatically flushed.  If no timeout is specified then keywait will wait forever.

Options

--timeout=seconds

Specify number of seconds to wait for input.

--help

Outputs help screen for the user.

Exit Codes

Returns 0 if keyboard entry was received.  1 if timeout.  2 for any error.

Author

keywait was written by David Sugar <dyfet@gnutelephony.org>.

Reporting Bugs

Report bugs to bug-commoncpp@gnu.org or bugs@gnutelephony.org.

Info

August 2013 GNU uCommon GNU Telephony