vi `ei:' (`modeline')
Bruce A. Kern
bak at csd-v.UUCP
Sun Oct 9 12:36:55 AEST 1988
>In article <13215 at hqda-ai.ARPA> jay at hqda-ai.ARPA (Jay Hiser) writes:
>>... but SysV vi has an interesting bug/feature that can cause a problem.
>>
[description of modeline follows...]
>
>Now, the code that checks for `mode lines' is rather sloppy. Not only
>does it match on `ex' and `vi', it also matches on `ei' and `vx'. And
>in 4.2BSD (and perhaps some SysV releases---no telling which ones since
>the release numbering is so bizarre) you cannot turn it off! More modern
>Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
Just a note to report that the entire feature seems to be absent in
the Microport V/AT 2.3-U version of vi. Executing
:set all
inside vi reports nothing about a [no]modeline option and editing the
following file:
0
ex:% s/0/abc/
1
2
3
4
ex:% s/0/abc/
produces nothing interesting.
--
Bruce A. Kern 1-203-270-0399
Computer Systems Design Voice: 730 - 1700 Mon. thru Fri.
29 High Rock Road Data: All other times
Sandy Hook, Ct. 06482
More information about the Comp.unix.questions
mailing list