thompson@dalcs.UUCP (Michael A. Thompson) (01/10/84)
<*> <*> I have discovered a bug in more (sorry about the pun, could't help myself) as distributed in 4.2BSD. As distributed if more is in a pipe line and the user does a shell escape the escaped command takes it's input from the file being piped to more. The fix is as follows: 11a12,13 > ** modified by Michael A. Thompson, Dal. U. fix so shell escape uses ter- > ** minal for stdin. 1247a1250,1251 > if (!isatty(0)) > freopen(ttyname(1), "r", stdin); -- Signed: Michael A. Thompson (I'll be punished for this) Net address: ...{utcsrgv,dartvax}!dalcs!thompson Where in the world: Dalhousie University Halifax, Nova Scotia