🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
5 messages
5 total messages Started by Jeff Stieglitz Thu, 03 Dec 1992 22:44
How to change editor?
#3460
Author: Jeff Stieglitz
Date: Thu, 03 Dec 1992 22:44
22 lines
1111 bytes
Help save me from the tyranny of VI!

I'd like to change the editor that NN calls from VI to
emacs.  I just can't figure out how to do it.

I tried adding this line to my \nn\.parm
    set EDITOR='emacs'

I also tried the each of the lines in my .logon
   set editor=emacs
   set EDITOR=emacs
   set editor='emacs'
   set EDITOR='emacs'

If I just type "emacs" at the shell level, it works just fine.

Any ideas?

--

Jeff Stieglitz                                   stieglit@orion.oac.uci.edu
Re: How to change editor?
#3463
Author: Sven Guckes
Date: Fri, 04 Dec 1992 03:56
11 lines
991 bytes
stieglit@orion.oac.uci.edu (Jeff Stieglitz) writes:

>I'd like to change the editor that NN calls from VI to emacs.
>I just can't figure out how to do it.

setenv editor /path/file

Where "/path/file" is the editor of your choice.
(Find out with "which emacs".)

Sven :)
Re: How to change editor?
#3462
Author: Tom McCain
Date: Fri, 04 Dec 1992 15:58
22 lines
1277 bytes
guckes@math.fu-berlin.de (Sven Guckes) writes:

: stieglit@orion.oac.uci.edu (Jeff Stieglitz) writes:

: >I'd like to change the editor that NN calls from VI to emacs.
: >I just can't figure out how to do it.

: setenv editor /path/file

That's fine if he wants to set his environment editor to emacs.  He
asked abount nn.  If you want to have *nn* use emacs put a

set editor	emacs

in your ~/.nn/init file.

--tom
--
	    Tom McCain            tom@dynamo.ecn.purdue.edu


 Only adults have difficulty with childproof caps.
Emacs in nn (Was: Re: How to change editor?)
#3465
Author: A. Natarajan
Date: Fri, 04 Dec 1992 17:46
23 lines
1728 bytes
tom@dynamo.ecn.purdue.edu (Tom McCain) writes:

> That's fine if he wants to set his environment editor to emacs.  He
> asked abount nn.  If you want to have *nn* use emacs put a

> set editor	emacs

> in your ~/.nn/init file.

Maybe.  I use bash, and have EDITOR and VISUAL set to emacs, and nothing in
.nn/init, and am still able to get emacs as my editor in nn.

I have a marginally related question.  How do I make Emacs read my ~/.emacs
file during load, rather than the system .emacs?  All my key redefinitions
are inactive, and it almost feels like I am using a different editor.

(Unrelated question: How can I save "R|reply" messages?
 Unrelated question #2: How can I get nn to recognize my aliases when
"R|reply"ing to messages?)

Thanks

A.N.
Re: How to change editor?
#3466
Author: Jeff Stieglitz
Date: Fri, 04 Dec 1992 18:50
29 lines
1509 bytes
tom@dynamo.ecn.purdue.edu (Tom McCain) writes:

>guckes@math.fu-berlin.de (Sven Guckes) writes:

>: stieglit@orion.oac.uci.edu (Jeff Stieglitz) writes:

>: >I'd like to change the editor that NN calls from VI to emacs.
>: >I just can't figure out how to do it.

>: setenv editor /path/file

>That's fine if he wants to set his environment editor to emacs.  He
>asked abount nn.  If you want to have *nn* use emacs put a

>set editor	emacs

>in your ~/.nn/init file.


You're right!  Thank you.  I had to create the file /.nn/init and
put the "set editor" line in it.

I also tried "setenv editor" in my .login but it had no effect on
nn.

Thanks both of you.
--

Jeff Stieglitz                                   stieglit@orion.oac.uci.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