pipes and stdin (want keyboard back)
Rich Salz
rsalz at bbn.com
Wed Sep 19 05:29:22 AEST 1990
In article <4753 at nisca.ircc.ohio-state.edu>
bobd at nisca.ircc.ohio-state.edu (Bob Debula) writes that when doing
s|fnews
inside rn, the article is on stdin, and later he needs to read the keyboard.
Open up /dev/tty:
cat >/tmp/article$$
trap "exec rm -f /tmp/article" 0 1 2 3 15
exec </dev/tty
....
--
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.
More information about the Comp.unix.shell
mailing list