Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!steinmetz!vdsvax!barnett From: barnett@vdsvax.steinmetz.UUCP (Bruce G Barnett) Newsgroups: comp.sys.apollo Subject: Re: Weird vi bug Message-ID: <3001@vdsvax.steinmetz.UUCP> Date: Tue, 17-Nov-87 06:34:28 EST Article-I.D.: vdsvax.3001 Posted: Tue Nov 17 06:34:28 1987 Date-Received: Fri, 20-Nov-87 07:20:58 EST References: <8711152200.AA04047@fleetwood.cc.umich.edu> Reply-To: barnett@vdsvax.steinmetz.UUCP (Bruce G Barnett) Organization: General Electric CRD, Schenectady, NY Lines: 24 In article <8711152200.AA04047@fleetwood.cc.umich.edu> paul@FLEETWOOD.CC.UMICH.EDU ('da Kingfish) writes: |David Ackerman says ... | | We discovered a very strange bug in Apollo implementation of vi, at least the | version we have. If the characters "ei:X:" ... | |That's an undocumented "feature" of vi, and was not added by Apollo. |If you have a file that has what looks like ex/vi commands in the first |line, I believe, those commands will be executed. The idea was to |customize vi on a file by file basis. As I recall, the syntax was intended to be ex:... or vi:.... but the parsing does a [ev][xi], so ei:... and vx:.... also match. Ain't ad hoc parsers grand! :-) -- Bruce G. Barnett uunet!steinmetz!barnett