> Is there a common, standard way to wait for the press of any single key
> in a batch job?

Tricky. Old-style (serial) terminals were outright unable to send
anything less than a line of input to the computer. What do you call a
"batch" job? Usually that means a background job which gets run when
there's time, and by definition implies it's not interactive, ergo, no
wait for keypress possible. If you mean to say shell script,
investigate the stty program and temporarily put the terminal into raw
mode and so on, perhaps it'll work. Of course, waiting for pressing
<enter> is trivial - that's called "read" in bash. You could also fire
up something like

kdialog --msgbox "Press any key to continue"

or write your own short program in C.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to