Subject: qprompt - script prompt util
From: [email-masked] (Alex Kent)
Date: 12 Jul 1994 15:19:36 GMT
Newsgroups: comp.os.linux.announce

Qprompt is a simple shell utility that works excellent in interactive
scripts (like .login). It takes single character input and returns a
corresponding exit code based on the response. It has several command
line options, including a timer.

I have uploaded it to sunsite.unc.edu where it should (hopefully) go
into /pub/Linux/utils/shell. There is a linux executable and a man
page included. A few example possiblities of how it can be used in a
.login are also included.

Its short and its simple, but maybe some other folks can find it as
useful as I have.

Here is the .lsm for it:

Begin2
Title        =qprompt
Version      =2
Desc1        =A single character prompting utility with optional timer.
Desc2        =For use in shell programming, excellent for login scripts.
Desc3        =Uses exit codes to pass on which option was selected, simple
Desc4        =command line options. Short and simple.
Author       =Alex Kent
AuthorEmail  =[email-masked]
Maintainer   =Alex Kent
MaintEmail   =[email-masked]
Site1        =sunsite.unc.edu
Path1        =/pub/Linux/utils/shell
File1        =qprompt.tar.gz
FileSize1    =7249
Required1    =Not much, besides a shell that excepts exit codes
CopyPolicy1  =Feel free to trash, hack or rewrite it to your heart's content
Keywords     =shell script prompt 
Comment1     =Includes linux binary, man page and examples.
Entered      =Sat Jul 9 21:00 1994
EnteredBy    =Alex Kent
CheckedEmail =[email-masked]
End

-- 
-----------------------------------------------------------------------------
       Alex Kent                |    www:    http://nmt.edu/~alex
email: [email-masked]       |    office phone: (505)835-5437
       [email-masked]       |    home phone:   (505)835-6236 

--
Mail submissions for comp.os.linux.announce to: [email-masked]
PLEASE remember Keywords: and a short description of the software.