Thread View: news.software.nn
4 messages
4 total messages
Started by Silicon Avatar
Wed, 01 Jul 1992 02:26
Setting Editor
Author: Silicon Avatar
Date: Wed, 01 Jul 1992 02:26
Date: Wed, 01 Jul 1992 02:26
21 lines
1363 bytes
1363 bytes
Greetings all. Got a question. I would like to know how to change the editor from emacs to pico. I use the ':set editor pico' command, but it is not made permanent after I exit nn. Is there a way to make sure that these change stays for my next session? Thanks Robert Hayden University of Iowa (rahayden@umaxc.weeg.uiowa.edu) -- .-------------------------------------+-----------------------------------. | rahayden@UMAXC.WEEG.UIOWA.EDU | AQ650@CLEVELAND.FREENET.EDU | +-------------------------------------+----------+------------------------+ | How peaceful this world would be without love. | Black holes result |
Re: Setting Editor
Author: Hades
Date: Wed, 01 Jul 1992 12:20
Date: Wed, 01 Jul 1992 12:20
24 lines
1568 bytes
1568 bytes
rahayden@news.weeg.uiowa.edu (Silicon Avatar) writes:
>Greetings all.
>Got a question. I would like to know how to change the editor from emacs
>to pico.
>
>I use the ':set editor pico' command, but it is not made permanent after I
>exit nn. Is there a way to make sure that these change stays for my next
>session?
Put this line in your .cshrc file (assuming you are on a Unix
machine).
setenv EDITOR pico
Or if this is already being set to emacs, change it to pico. You
should note that this is a global change, and you are setting your Unix
default editor to pico.
--
"That's a joke, son. A flag waver" - Foghorn Leghorn
-Hades (Brian V. Hughes)
Re: Setting Editor
Author: Ofer Inbar
Date: Thu, 02 Jul 1992 14:13
Date: Thu, 02 Jul 1992 14:13
33 lines
2194 bytes
2194 bytes
hades@coos.dartmouth.edu (Hades) writes: >rahayden@news.weeg.uiowa.edu (Silicon Avatar) writes: >>Got a question. I would like to know how to change the editor from emacs >>to pico. >> >>I use the ':set editor pico' command, but it is not made permanent after I >>exit nn. Is there a way to make sure that these change stays for my next >>session? > > Put this line in your .cshrc file (assuming you are on a Unix >machine). > > setenv EDITOR pico > > Or if this is already being set to emacs, change it to pico. You >should note that this is a global change, and you are setting your Unix >default editor to pico. The above works if your shell is either csh or tcsh (and you don't have a .tcshrc file). If you're using ksh, the file you want to edit is .profile, and the syntax is: EDITOR=pico ; export EDITOR If you want to make this change for nn only, and continue using another editor for everything else, then you can put a line in your ~/.nn/init file like this: "set editor pico". In general, you can put any valid nn :command in your init file, before the "sequence" line, and it will be run automatically every time you start nn. As a final recommendation, read the nn manual sometime. :manual -- Cos (Ofer Inbar) -- cos@chaos.cs.brandeis.edu -- WBRS (BRiS) -- WBRS@binah.cc.brandeis.edu WBRS@brandeis.bitnet "Good literature is about Love and War." "Junk fiction is about Sex and Violence."
Re: Setting Editor
Author: Sven Guckes
Date: Thu, 02 Jul 1992 15:15
Date: Thu, 02 Jul 1992 15:15
8 lines
1034 bytes
1034 bytes
To permanently change the setup of "nn" to use some other editor you must change the initialisation file "~/.nn/init". Add the following line to the init file: set editor pico Make sure that this line is _before_ the command "sequence" is used in the init file.
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