🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by R Andrew Hayden Sun, 04 Apr 1993 23:03
TIN: Alternate editors possible?
#3808
Author: R Andrew Hayden
Date: Sun, 04 Apr 1993 23:03
17 lines
1320 bytes
I've just discovered TIN (being the best news reader available at my
current site).  What I would like to do, though, if possible, is to change
the editor from vi to something else (like something simple like pico, for
example).  Is this possible?  If so, how do I go about doing it.

Thanks for your time.






-- 
[> Robert Hayden                 ____   <]  Black Holes result from God 
[>                               \  /__ <]  dividing the universe by zero. 
[> rahayden@umaxc.weeg.uiowa.edu  \/  / <]  
[> aq650@slc4.INS.CWRU.Edu          \/  <]  # include std_disclaimer.h
Re: TIN: Alternate editors possible?
#3809
Author: Richard L. Doernberg
Date: Mon, 05 Apr 1993 00:24
27 lines
1655 bytes
rahayden@news.weeg.uiowa.edu (R Andrew Hayden) writes:
: I've just discovered TIN (being the best news reader available at my
: current site).  What I would like to do, though, if possible, is to change
: the editor from vi to something else (like something simple like pico, for
: example).  Is this possible?  If so, how do I go about doing it.
: 
: Thanks for your time.
: 
In a file in your home directory named ".profile", add the line "EDITOR=pico".
If the ".profile" file does not exist, create it using the pico editor.
: 
: 
: 
: -- 
: [> Robert Hayden                 ____   <]  Black Holes result from God 
: [>                               \  /__ <]  dividing the universe by zero. 
: [> rahayden@umaxc.weeg.uiowa.edu  \/  / <]  
: [> aq650@slc4.INS.CWRU.Edu          \/  <]  # include std_disclaimer.h

--
Richard L. Doernberg

Emory University School of Law
Atlanta, Ga. 30322-2770
Phone: (404) 727 6836
Fax:   (404) 727 6850
Email Address: lawrld@emoryu1.cc.emory.edu
Re: TIN: Alternate editors possible?
#3810
Author: Dominique Marant
Date: Mon, 05 Apr 1993 07:08
14 lines
1498 bytes
R Andrew Hayden (rahayden@news.weeg.uiowa.edu) wrote:
: I've just discovered TIN (being the best news reader available at my
: current site).  What I would like to do, though, if possible, is to change
: the editor from vi to something else (like something simple like pico, for
: example).  Is this possible?  If so, how do I go about doing it.

Define the environment variable VISUAL.
This variable has precedence over the default editor that is used in all
editing operations within tin (posting, replying, follow-up ...). This is
specified in the manual. 


--
Dominique Marant  -  marant@citilille.fr
Re: TIN: Alternate editors possible?
#3813
Author: Iain Lea
Date: Mon, 05 Apr 1993 07:29
18 lines
1296 bytes
R Andrew Hayden (rahayden@news.weeg.uiowa.edu) wrote:
:
: I've just discovered TIN.  What I would like to do, though, if possible, 
: is to change the editor from vi to something else (like something simple 
: like pico, for example.

Put the followinmg line in your ~.login file:

setenv VISUAL pico

Also read read the fine maunal which has a section concerning just this.

Iain

--
NAMES  Iain Lea    Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Re: TIN: Alternate editors possible?
#3819
Author: G.D.Pratt
Date: Mon, 05 Apr 1993 12:42
12 lines
1228 bytes
I advise users here:-

MicroEMACS - if you want to have ue as your default editor with tin you must:-

  1) have the envvar EDITOR set to ue -'setenv EDITOR /usr/local/bin/ue'
  2) go into to tin's Options Menu ("M") and set Editor Offset ("2") to OFF


--
gerry pratt - workstation support programmer - university of keele - ENGLAND
email:  gerry@seq1.keele.ac.uk ( DYNIX? - just say no!! ) tel:UK 0782 583072
"these opinions are mine, mine, Mine, Mine, MINE......ALL MINE I TELL YOU!!"
Re: TIN: Alternate editors possible?
#3817
Author: Noel Hunter
Date: Tue, 06 Apr 1993 13:31
17 lines
1320 bytes
If you want to use pico with tin, you should specify the -t flag (for
tool mode).  This eliminates the "save file before quitting" queries.
For tin, setenv VISUAL pico -t should work.  But keep in mind that some
programs can't handle the "-t", so you might want to set this only for tin.
Here's what I do:

#!/bin/sh
if [ "$EDITOR" -eq "/usr/local/bin/pico" ]
then
  EDITOR="/usr/local/bin/pico -t"
  export EDITOR
fi
exec /usr/local/lib/tin/tin $*

--
* Noel Hunter,  Academic Computing Support Coordinator,  Wake Forest Univ.  *
* noel@wfu.edu TEL:(919) 759-5812  MAIL:PO Box 7408 Winston-Salem, NC 27109 *
Re: TIN: Alternate editors possible?
#3839
Author: bro
Date: Wed, 07 Apr 1993 17:16
15 lines
1360 bytes
Iain.Lea%anl433.uucp@Germany.EU.net (Iain Lea) writes:
: : I've just discovered TIN.  What I would like to do, though, if possible, 
: : is to change the editor from vi to something else (like something simple 
: : like pico, for example.
: Put the followinmg line in your ~.login file:
: 
: setenv VISUAL pico
and
setenv EDITOR pico

That gets rid of the viRUS quite well.  If you do not use tcsh (or csh),
use the equivalent of .login for that shell (.profile or .bashrc or ...)

++bro@clio.iwr.uni-heidelberg.de++
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