Path: utzoo!utgpu!attcan!uunet!mcvax!unido!sbsvax!greim From: greim@sbsvax.UUCP (Michael Greim) Newsgroups: comp.bugs.4bsd Subject: Re: vi with an 8-bit shell Summary: does the fix break anything? Message-ID: <580@sbsvax.UUCP> Date: 2 Aug 88 13:00:32 GMT References: <571@etive.ed.ac.uk> <575@sbsvax.UUCP> <594@etive.ed.ac.uk> Organization: Universitaet des Saarlandes, Saarbruecken, West Germany Lines: 27 In article <594@etive.ed.ac.uk>, simon@lfcs.ed.ac.uk (Simon Brown) writes: > > well, just changing the "case '%'" switch-field in unix0() so it uses > *up++ = *fp++ > in place of > *up++ = *fp++ | QUOTE; > seems to do the trick. (i naughtily patched the binary instead of changing > the source, but that was just to quickily check it out :-). That was obvious, of course. What I meant was : "whatever is this QUOTE for?", and "will removing it break anything?". I hazarded a guess that it might be to protect shell meta characters, but this might be completely wrong. Just now I don't have the time (and the nerves) to dig into vi to find out. I will leave the QUOTE in, because we have no ksh, so it does not matter for us. -mg -- +------------------------------------------------------------------------------+ | UUCP: ...!uunet!unido!sbsvax!greim | Michael T. Greim | | or greim@sbsvax.UUCP | Universitaet des Saarlandes | | CSNET: greim%sbsvax.uucp@Germany.CSnet| FB 10 - Informatik (Dept. of CS) | | ARPA: greim%sbsvax.uucp@uunet.UU.NET | Bau 36, Im Stadtwald 15 | | Phone: +49 681 302 2434 | D-6600 Saarbruecken 11, West Germany | +------------------------------------------------------------------------------+ | # include | +------------------------------------------------------------------------------+