vi eats control-Ds in sourced files
Chris Torek
chris at mimsy.UUCP
Wed Mar 30 22:55:09 AEST 1988
>In article <10817 at mimsy.UUCP> I wrote
>>Index: ucb/ex/ex_get.c 4.3BSD Fix
>>Description:
>> When vi (ex) reads .exrc files or other sourced files, it
>> discards control-D.
In article <3900001 at hpirs.HP.COM> wk at hpirs.HP.COM (Wayne Krone) writes:
>Is this really a problem that needs fixing?
Yes.
>Quote the ctrl-D with a ctrl-V and it works without the fix.
Not in 4.3BSD (see `Index:' above). A 4.3BSD .exrc containing
the `map!' command with the following sequence of characters:
control-V control-D space f o o
Running vi produces a `missing rhs' error and ^D has not been
map!'ed.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list