Article View: news.software.nn
Article #6617Re: Changing EDITOR in nn
From: Milt Epstein
Date: Thu, 27 Oct 1994 02:19
Date: Thu, 27 Oct 1994 02:19
27 lines
1821 bytes
1821 bytes
ellis@nova.gmi.edu (R. Stewart Ellis) writes: >fox@netcom.com (Fuzzy Fox) writes: > > >I used to use 'vi' as my $EDITOR with nn, but recently I have been > >trying a vi-clone called 'vile'. I set my $EDITOR so that it calls up > >vile, but now the cursor starts out at the top of the file instead of > >several lines in, as it did with vi. > > >I figure that nn is trying to be clever because it doesn't know if vile > >will support the '+nnn' parameter for choosing a starting line number. > >I know that vile *does* support this, so how do I tell nn to go ahead > >and feed this option to my editor? > >Edit aux in the nn lib directory. Find the case switch that calls >vi|emacs... and add vile to that line. To add to this, if you are not making a system wide change, you'll need to copy the aux script to your own directories somewhere (most likely in ~/.nn), and tell nn to use that version instead (it looks like that's controlled by the variables mail-script and news-script). -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Technical Details
Message-ID:
<epstein.783224346@ta6.cs.uiuc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!ta6.cs.uiuc.edu!epsteinReferences:
<foxCy1s40.7M3@netcom.com> <ellis.783140624@gmi.edu>Show Full Headers
Complete Article Headers
Message-ID: <epstein.783224346@ta6.cs.uiuc.edu> Subject: Re: Changing EDITOR in nn Date: Thu, 27 Oct 1994 02:19:06 +0000 From: epstein@ta6.cs.uiuc.edu (Milt Epstein) References: <foxCy1s40.7M3@netcom.com> <ellis.783140624@gmi.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!ta6.cs.uiuc.edu!epstein Newsgroups: news.software.nn Organization: University of Illinois at Urbana Lines: 27 Reply-To: epstein@cs.uiuc.edu NNTP-Posting-Host: ta6.cs.uiuc.edu