Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.bugs.4bsd Subject: Re: vi eats control-Ds in sourced files Message-ID: <10856@mimsy.UUCP> Date: 30 Mar 88 12:55:09 GMT References: <10817@mimsy.UUCP> <3900001@hpirs.HP.COM> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 23 >In article <10817@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@hpirs.HP.COM> wk@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@mimsy.umd.edu Path: uunet!mimsy!chris