(argh!) Better Trojan horse fix for Rnmail & Pnews

News administrator news at rosevax.Rosemount.COM
Fri Dec 9 04:38:51 AEST 1988


In article <1081 at psuhcx.psu.edu> wcf at psuhcx (Bill Fenner) writes:
>I have a big problem here... it seems that I have this bug, and there is
>no option modeline or modelines to vi.

Gak..well, if there's absolutely no way to disable this in your
vi, use sed or perl in Pnews & Rnmail to change the pattern
'[ev][xi]:[^:]*:' into something benign before dropping you into
vi.  Not terribly satisfactory, and rather slow...

sed 's/\([ve][ix]\):\([^:]*\):/\1;\2;/g'
..will change the colons to semicolons, for example

-----
Merlyn LeRoy



More information about the Comp.unix.wizards mailing list