🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1115

Re: vi with an 8-bit shell

#1115
From: Michael Greim
Date: Tue, 02 Aug 1988 13:00
27 lines
1913 bytes
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 <disclaimers/std.h>                                                |
+------------------------------------------------------------------------------+
Technical Details
Message-ID: <580@sbsvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!mcvax!unido!sbsvax!greim
References: <571@etive.ed.ac.uk> <575@sbsvax.UUCP> <594@etive.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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