Thread View: news.software.nn
2 messages
2 total messages
Started by R. Stewart Ellis
Wed, 26 Oct 1994 03:03
Re: Changing EDITOR in nn
Author: R. Stewart Ellis
Date: Wed, 26 Oct 1994 03:03
Date: Wed, 26 Oct 1994 03:03
27 lines
2125 bytes
2125 bytes
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? >-- > Fuzzy Fox | "The aardvark is really a curious creature; >fox@netcom.com | If you're an ant, he's likely to eatcher. ><http://mikey. | Although his long nose makes him look rather hideous, > convex.com:8080/> | He's still listed first in the encyclopideous." Edit aux in the nn lib directory. Find the case switch that calls vi|emacs... and add vile to that line. -- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 ___________________ Humanities & Social Science, GMI Eng.& Mgmt. Inst. / _____ ______ Flint, MI 48504 ellis@nova.gmi.edu / / / / / / Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ / / / /
Re: Changing EDITOR in nn
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads