vatsanp@unix386.Convergent.COM (Srivatsan Parthasarathy) (10/16/90)
How does cat | vi work ? Particularly ^D. Cat should interpret the ^D as EOF and terminate but when I tried it out vi scrolled the screen. Consensus in my group seems to be that vi puts /dev/tty in raw mode. So cat cannot see ^D anymore as EOF. vi terminates when the user types :q! or something to that effect and cat exits because its output pipe gets broken. Anything different about cat | sh ? -- vatsan vatsanp@unix386.convergent.com