🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59429

Re: alternate editor for TIN

#59429
From: Craig Sanders
Date: Thu, 25 Jan 1996 00:00
33 lines
1723 bytes
root@I_should_put_my_domain_in_etc_NNTP_INEWS_DOMAIN (root) writes:

I think you should edit your /etc/NNTP_INEWS_DOMAIN file.  I don't know
why, just a strange feeling i've got that your news system might be
misconfigured.

> I was wondering if anyone could help me configure an alternate editor for 
> the TIN news reader? It defaults it to VI, but I want to be able to use 
> PICO instead (who wouldn't? :-)) 

Lots of people wouldn't.  I certainly wouldn't.  pico's only for people who
can't use a real text editor.


anyway, to answer your question:

set your EDITOR environment variable.

For the bash shell, the command is "export EDITOR=/usr/bin/pico"

If you're brain-damaged enough to use the csh, it's "setenv EDITOR
/usr/bin/pico"

Of course you can put these commands in ~/.bashrc, or ~/.bash_profile
(for bash).  For csh that would be ~/.login or ~/.cshrc

Craig

--
  cas@muffin.pronet.com                                cas@muffin.apana.org.au
   *       Unix Consulting:  Installation, Configuration, & Support.        *
   * --- Also, contact me if you need your Dos/Win/OS2 LAN connected to --- *
   * --- the Internet.                                                  --- *
Technical Details
Message-ID: <4e5avb$h5t@muffin.pronet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4d7fd1$ee2@zonk.geko.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,31fff43a50a0023d
X-Google-Attributes: gid102983,public
From: cas@muffin.pronet.com (Craig Sanders)
Subject: Re: alternate editor for TIN
Date: 1996/01/25
Message-ID: <4e5avb$h5t@muffin.pronet.com>
X-Deja-AN: 136376208
references: <4d7fd1$ee2@zonk.geko.net.au>
organization: Utility Muffin Research Kitchen
x-no-junk-mail: Do not add me to any mailing list(s) without my express request.
newsgroups: aus.computers.linux