🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4754

Re: Alternate editor in nn?

#4754
From: Kristian Koehntopp
Date: Sun, 05 Sep 1993 06:57
31 lines
1992 bytes
In <26ann8$lja@nwfocus.wa.com> stemp@halcyon.com (Peace be upon you) writes:
>Is there any way to specify an alternate editor for use in posting
>articles?

Many UNIX programs including nn use the editor specified in
either the EDITOR oder VISUAL environment variables. nn uses
EDITOR.

In sh, use the following commands before starting nn:

EDITOR=<path to editor>
VISUAL=<path to editor>
export EDITOR VISUAL

In csh, use the followin commands before starting nn:

setenv EDITOR <path to editor>
setenv VISUAL <path to editor>

You may want to put these commands into your .profile (sh) or
.login (csh) file.

Some UNIX programs (not nn, but elm and some versions of man)
also take advantage of an environment variable PAGER, with
specifies a less/more/pg-like program.

Kristian
-- 
Kristian Koehntopp, Harmsstrasse 98, 24114 Kiel 1, +49 431 676689
"Es gibt Leute, die glauben, dass X.400 die Zukunft gehoert. Und es gibt
 Leute, die hoffen, dass es so bleibt." -- Kristian Koehntopp
Technical Details
Message-ID: <1993Sep5.065716.12667@black.toppoint.de>
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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!math.fu-berlin.de!fub!tpki.toppoint.de!black.toppoint.de!kris
References: <26ann8$lja@nwfocus.wa.com>

Show Full Headers
Complete Article Headers
Message-ID: <1993Sep5.065716.12667@black.toppoint.de>
Subject: Re: Alternate editor in nn?
Date: Sun, 5 Sep 1993 06:57:16 GMT
From: kris@black.toppoint.de (Kristian Koehntopp)
References: <26ann8$lja@nwfocus.wa.com>
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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!math.fu-berlin.de!fub!tpki.toppoint.de!black.toppoint.de!kris
Newsgroups: news.software.nn
X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN.
Organization: Toppoint Mailbox e.V.
X-Copyright: (C) Copyright 1993 Kristian Koehntopp -- All rights reserved.
 Reproduktion, auch auszugsweise, ausserhalb elektronischer,
 nichtkommerzieller Datennetze nur mit ausdruecklichem,
 schriftlichem Einverstaendnis des Autors.
Lines: 31