Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 1997 17:18:45 +0930
From:      Mike Smith <mike@smith.net.au>
To:        hackers@freebsd.org
Subject:   Timeout for sh(1) 'read' ??
Message-ID:  <199709260748.RAA00456@word.smith.net.au>

index | next in thread | raw e-mail


Hiho folks, a question for the sh(1) studs amongst you :

 - I want to prompt for input using 'read', and have the read return in
   some fashion after a timeout.

I'd like to do this just using sh, and I'm not too fussed about how 
hairy it is.  Any ideas?

(If sh has to be modified to achieve this, would it be a useful thing 
to bring back?)

mike




help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709260748.RAA00456>