Xref: utzoo comp.unix.wizards:13350 news.sysadmin:1915 Path: utzoo!attcan!uunet!pilchuck!ssc!mcgp1!newsadm From: newsadm@mcgp1.UUCP (Netnews Administrator) Newsgroups: comp.unix.wizards,news.sysadmin Subject: Re: Trojan horse FIX for Rnmail and Pnews Summary: 3B1 vi has no modeline[s] option Message-ID: <1687@mcgp1.UUCP> Date: 9 Dec 88 16:03:49 GMT References: <6798@rosevax.Rosemount.COM> <591@auspex.UUCP> <6811@rosevax.Rosemount.COM> Organization: McCaw Cellular Communications, Inc., Seattle, WA Lines: 16 In article <6811@rosevax.Rosemount.COM>, news@rosevax.Rosemount.COM (News administrator) writes: > If anyone has a vi > that doesn't understand +set nomodeline[s], they should speak up. The AT&T 3B1 (aka 7300 aka UNIX-PC) vi has modeline[s] on by default, with no way to turn it off! I'm thinking of writing a simple C program, called vi, that scans the file[s] to be edited looking for the culprit string. It will delete or modify the offending string and then call the real vi. I don't know how much interest there is in something like this, but I will post the source if and when I ever get it done. John Opalko jgo@mcgp1.UUCP (3B2 at work) john@n7kbt.WA.COM (3B1 at home)