qprompt       version 2.3       19 Oct, 1994
by Andreas_Bagge@maush2.han.de

This is my new version of qprompt. 
Qprompt allows reading from a command line in raw mode optionally 
with timeout. For example, the command

	qprompt -P -10 a b c

displays the output

	hit one key of [abc] or RETURN (timeout in 10 sec) 

and waits for a single keystroke (no Return required!).
The result code of the command tells which character was typed, 
and may be used in further shell script processing. 
There are many options available to customize the prompt, the
timeout or other things (see man page for details).


Installation
------------
To compile, type

     make

Before install the binary and the manpage, you may want to change
the install directories in the Makefile (/usr/local/... by default). 
To install, type

     make install
     make install.man


qprompt 2.1 was tested on Linux 1.1.51 with gcc 2.5.8 and 
libc 4.5.26.

Please mail comments, bugs, flames, etc to Andreas_Bagge@maush2.han.de

Andreas Bagge
25 Sept. 1994



The README of the original author follows, 
some of his statements are obsolet in my new version:
=====================================================================



qprompt
version 2
May, 1994
by Alex Kent ... alex@nmt.edu


For those of you who aren't super shell programming buffs, but would still
like some spiffiness to your shell scripts, (peticularly for logging
in) qprompt maybe something you can find useful.

I have been using it in my .login for several months and some other
folks I have know have found it useful, so I figured maybe I would
pass it around a bit more.

What it does:
qprompt takes single character input (in raw mode) from standard in
and returns an exit code which can be used in script decision making.
It also has a timer which if no input (or the proper input) is
received then it exits with a unique code. This option can be disabled
if you want it to prompt for input indefinitely. Since it does take
single character  input, enter is not required to be hit following the
choice. (A nice option over using the shell input method)

[Examples deleted because syntax changed. 
 See man page for new examples A.B.]
