🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
5 messages
5 total messages Started by Pete Holsberg Mon, 17 Oct 1994 20:00
NN and message editor
#6565
Author: Pete Holsberg
Date: Mon, 17 Oct 1994 20:00
4 lines
671 bytes
What shell variable does NN look at to determine the editor it uses for
posting and email?

Thanks.
Re: NN and message editor
#6560
Author: Sven Guckes
Date: Tue, 18 Oct 1994 02:14
13 lines
1298 bytes
pjh@tecoma.mccc.edu (Pete Holsberg) writes:
>What shell variable does NN look at to determine the editor it uses for
>posting and email?

Um, wild guess:  "EDITOR"?
Then again, there's a variable for the init file:
	set editor	/path/editor
For example:
	set editor	/usr/ucb/vi

Sven
-- 
set editor /usr/local/public/bin/bsd/vim  # version 3.0 :-)
Re: NN and message editor
#6567
Author: Kai Voigt
Date: Tue, 18 Oct 1994 08:48
15 lines
1281 bytes
In <Cxu28y.Gnt@tecoma.mccc.edu> pjh@tecoma.mccc.edu (Pete Holsberg) writes:

>What shell variable does NN look at to determine the editor it uses for
>posting and email?

You can insert the following line to /usr/local/lib/nn to set the
default editor.

	set editor /usr/local/bin/emacs

Kai
--
Kai Voigt, Werftstrasse 2, 24148 Kiel, Germany, +49 431 7297514
"sendmail.cf looks like a context diff of two core files."
                  -- sjm@ra12.curtin.edu.au (Simon Mackinlay)
Re: NN and message editor
#6595
Author: Pete Holsberg
Date: Fri, 21 Oct 1994 14:05
16 lines
1077 bytes
In <ROKTBNPK@math.fu-berlin.de> Sven Guckes <guckes@inf.fu-berlin.de> writes:

>pjh@tecoma.mccc.edu (Pete Holsberg) writes:
>>What shell variable does NN look at to determine the editor it uses for
>>posting and email?

>Um, wild guess:  "EDITOR"?

Not on my system, it doesn't!

>Then again, there's a variable for the init file:
>	set editor	/path/editor
>For example:
>	set editor	/usr/ucb/vi

Yes, I found that buried in :man somewhere. ;-)
Re: NN and message editor
#6606
Author: R. Stewart Ellis
Date: Wed, 26 Oct 1994 02:59
32 lines
2043 bytes
pjh@tecoma.mccc.edu (Pete Holsberg) writes:

 >In <ROKTBNPK@math.fu-berlin.de> Sven Guckes <guckes@inf.fu-berlin.de> writes:

 >>pjh@tecoma.mccc.edu (Pete Holsberg) writes:
 >>>What shell variable does NN look at to determine the editor it uses for
 >>>posting and email?

 >>Um, wild guess:  "EDITOR"?

 >Not on my system, it doesn't!

On SunOS 4.1.x, every version of nn I have tried successfully tracks the
environment variable EDITOR.  It has to be an env variable not a shell
variable.  If you are using a bounish shell, it has to be exported.

 >>Then again, there's a variable for the init file:
 >>	set editor	/path/editor
 >>For example:
 >>	set editor	/usr/ucb/vi

 >Yes, I found that buried in :man somewhere. ;-)

I have less, pine, elm and a number of other things setup to use EDITOR.  I
would be seriously peeved if I could not do that.


-- 
  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!/________/ /  /  / /
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