Trojan horse FIX for Rnmail and Pnews

Geoff Kuenning geoff at desint.UUCP
Wed Dec 7 07:18:55 AEST 1988


In article <6798 at rosevax.Rosemount.COM> merlyn at ernie.rosemount.com writes:

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

Sorry, but these diffs are not exactly adequate.  They presume that
all users use vi, which is not at all true.

To support all editors, you would have to do something like:

    caes "${VISUAL-${EDITOR-$defeditor}}" in
	vi|*/vi|ex|*/ex)
	    nomodeline='+set nomodeline'
	    ;;
    esac

...

    ${VISUAL-${EDITOR-$defeditor}} ${nomodeline:+"$nomodeline"} $tmpart $oldart
-- 
	Geoff Kuenning   geoff at ITcorp.com   uunet!desint!geoff



More information about the Comp.unix.wizards mailing list