vi with an 8-bit shell

Michael Greim greim at sbsvax.UUCP
Tue Aug 2 23:00:32 AEST 1988


In article <594 at etive.ed.ac.uk>, simon at 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 at sbsvax.UUCP           | Universitaet des Saarlandes          |
| CSNET: greim%sbsvax.uucp at Germany.CSnet| FB 10 - Informatik (Dept. of CS)     |
| ARPA:  greim%sbsvax.uucp at uunet.UU.NET | Bau 36, Im Stadtwald 15              |
| Phone: +49 681 302 2434               | D-6600 Saarbruecken 11, West Germany |
+------------------------------------------------------------------------------+
| # include <disclaimers/std.h>                                                |
+------------------------------------------------------------------------------+



More information about the Comp.bugs.4bsd.ucb-fixes mailing list