Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ames!ptsfa!ihnp4!homxb!mhuxt!mhuxm!mhuxo!ulysses!sfmag!sfsup!mpl From: mpl@sfsup.UUCP (M.P.Lindner) Newsgroups: comp.unix.questions Subject: Re: Shell escapes within piped programs Message-ID: <1910@sfsup.UUCP> Date: Fri, 21-Aug-87 16:53:39 EDT Article-I.D.: sfsup.1910 Posted: Fri Aug 21 16:53:39 1987 Date-Received: Sun, 23-Aug-87 11:36:54 EDT References: <510@cgcha.UUCP> Organization: AT&T-IS, Summit N.J. USA Lines: 12 Summary: that all depends In article <510@cgcha.UUCP>, wtho@cgcha.UUCP writes: > My question: Shouldn't shell escapes redirect the input (and output) > to the terminal? Yes and no. In general, it shouldn't redirect the standard input/output of the command. However, here is a case where the shell escape is invoked *not* by the standard input of the program (the listing) but by the user (on the terminal). I think "more" should connect the input/output of the command to the I/O stream it read the shell escape on in the first place. Mike Lindner ...!attunix!mpl