Xref: utzoo comp.unix.wizards:13266 news.sysadmin:1862
Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!bellcore!texbell!sneaky!gordon
From: gordon@sneaky.TANDY.COM (Gordon Burditt)
Newsgroups: comp.unix.wizards,news.sysadmin
Subject: Re: Trojan horse FIX for Rnmail and Pnews
Summary: This fix breaks rn if editor != vi
Message-ID: <5047@sneaky.TANDY.COM>
Date: 7 Dec 88 06:07:20 GMT
References: <6798@rosevax.Rosemount.COM>
Reply-To: gordon@sneaky.UUCP (Gordon Burditt)
Organization: Gordon Burditt
Lines: 17

>Here are the context diffs to fix Rnmail and Pnews.
>Larry Wall, do you copy?

[Condensed down guts of patch follow:]

< 	${VISUAL-${EDITOR-$defeditor}} $tmpart $oldart
> 	${VISUAL-${EDITOR-$defeditor}} '+set nomodeline' $tmpart $oldart

Isn't this fix more than a little vi-specific?  If EVERYONE at your site 
uses vi, fine, but I think it breaks attempts to use any editor other
than vi.  /bin/ed merrily edits the file '+set nomodeline'.  Then Pnews
or Rnmail work with the unmodified file.  Emacs will probably do something 
strange with it also.  Further, not all versions of vi even have a 
"nomodeline" option.

				Gordon L. Burditt
				...!texbell!sneaky!gordon