Odd vi behaviour inside a shell script.

Leo de Wit leo at ehviea.ine.philips.nl
Thu May 10 05:07:36 AEST 1990


In article <438 at ncrstp.StPaul.NCR.COM> mercer at ncrstp.StPaul.NCR.COM (Dan Mercer) writes:
|[]
|
|Vi uses stderr on the ioctl call that sets it up for raw data
|handling.  If stderr is redirected,  the terminal will not be in the 
|correct state,  and all the full screen algorithms will be off.  I
|know of no way around this.

I seriously doubt that this is always the case. A simple test, doing

$ vi 2>/dev/null /etc/termcap

on a Pyramid (ucb universe) showed no apparent problems. Can you
elaborate on what should go wrong?

    Leo.



More information about the Comp.unix.questions mailing list