Hi,

given the read command 

read -t10 dummy

I'd like to distinguish between a timeout (no key hit) and a simple >return<.
In other shells I do this usually by testing the return value of read: 
It's 0 when a button press occurred and 1 on timeout.

Any ideas how I can handle this here?

BTW: I'm using 1.7.4 and this might be outdated - In that case, to which 
(minimal!) version I'll have to upgrade?

Regards,
Roger
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to