Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!genrad!decvax!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.bugs.4bsd,net.unix-wizards Subject: Re: Bug_in_vi_map_funtion Message-ID: <132@umcp-cs.UUCP> Date: Thu, 9-Jun-83 07:17:30 EDT Article-I.D.: umcp-cs.132 Posted: Thu Jun 9 07:17:30 1983 Date-Received: Thu, 9-Jun-83 19:53:58 EDT Lines: 15 Speaking of VI map bugs, here's a cute bug that's very similar. Type :ab bar bar-bell then (in insert mode) type 'bar'. Wheee! Lots of fun, if you like watching the cursor move. Now hit DEL. Gosh! Where did all those 'bell's come from? (The latter doesn't always happen, and when it does you usually get some strange control character too). I ran into this bug once when I tried to abbreviate someone's first name to his full name, or some such. Vi should notice that it's expanding the abbreviation and refuse to expand it again, so that it won't endless loop. It would even be acceptable to stop expanding ALL abbreviations, as long as it stops expanding the initial one.