Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!olivea!orc!bbn.com!papaya.bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.unix.shell Subject: Re: pipes and stdin (want keyboard back) Message-ID: <2849@litchi.bbn.com> Date: 18 Sep 90 19:29:22 GMT References: <4753@nisca.ircc.ohio-state.edu> Organization: BBN Systems and Technology, Inc. Lines: 13 In article <4753@nisca.ircc.ohio-state.edu> bobd@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