keywait(1)

keywait1

Pause and wait for input.

Usage

keywait [options] [prompt]

Overview

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 status

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

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8
  2. 9–11
  3. 12–13

Author

keywait was written by David Sugar <[email protected]>.

Reporting bugs

Report bugs to [email protected] or [email protected].

From ucommon-utils 7.0.1-0.4+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.