Xref: utzoo comp.sys.ncr:295 comp.unix.questions:22077 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!mcsun!hp4nl!phigate!ehviea!leo From: leo@ehviea.ine.philips.nl (Leo de Wit) Newsgroups: comp.sys.ncr,comp.unix.questions Subject: Re: Odd vi behaviour inside a shell script. Keywords: vi, sh, stderr, shell scripts Message-ID: <714@ehviea.ine.philips.nl> Date: 9 May 90 19:07:36 GMT References: <1284@telsys.aut.UUCP> <438@ncrstp.StPaul.NCR.COM> Reply-To: leo@ehviea.UUCP (Leo de Wit) Organization: Philips I&E Eindhoven Lines: 16 In article <438@ncrstp.StPaul.NCR.COM> mercer@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.