🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by United States Information Corp. Tue, 17 May 1994 21:15
TIN: different default editor
#9054
Author: United States Information Corp.
Date: Tue, 17 May 1994 21:15
10 lines
1043 bytes
Here's a real stupid question for TIN... When I run it, it comes up w/ vi 
(yuck!)  Where can I specify a different editor to use, I don't recall 
seeing an option...  Please follow this one up, I'm afraid I would be 
flooded w/ e-mail w/ a simple answer to this simple question!


Thanks
Phil
usic@pipeline.com
Re: TIN: different default editor
#9056
Author: Hans de Hartog
Date: Wed, 18 May 1994 10:52
20 lines
1592 bytes
United States Information Corp. (usic@pipeline.com) wrote:

: Here's a real stupid question for TIN... When I run it, it comes up w/ vi 
: (yuck!)  Where can I specify a different editor to use, I don't recall 
: seeing an option...  Please follow this one up, I'm afraid I would be 
: flooded w/ e-mail w/ a simple answer to this simple question!


: Thanks
: Phil
: usic@pipeline.com

When you run TIN, you should have a directory $HOME/.tin
In that directory should be a file called tinrc (or so).
In that file you can (amongst lots of other things) specify
your favourite editor.
-- 
 _____________________________________________________________________________
 Hans de Hartog, dehartog@comcons.nl, Voice: +31 348033100, Fax: +31 348033181
 Committed Consultancy BV, Korenmolenlaan 1b, 3447 GG Woerden, The Netherlands 
Re: TIN: different default editor
#9068
Author: Mark Lewis
Date: Wed, 18 May 1994 16:30
26 lines
1913 bytes
United States Information Corp. (usic@pipeline.com) wrote:

> Here's a real stupid question for TIN... When I run it, it comes up w/ vi 
> (yuck!)  Where can I specify a different editor to use, I don't recall 
> seeing an option...  Please follow this one up, I'm afraid I would be 
> flooded w/ e-mail w/ a simple answer to this simple question!

setenv EDITOR youreditor	(for /bin/csh or related shells)

OR

export EDITOR
EDITOR=youreditor		(for /bin/sh or related shells)

It may recognise VISUAL depending on your system.  You can always set both to
make sure as some applications only recognise one or the other.

	Mark.

--
.--------------------------{ From:  Mark Lewis }----------------------------.
|   "I won't mind dying - it's that business of having to stay dead that    |
|                scares the shit out of me."   -- R. Geis.                  |
|---------------------------------------------------------------------------|
|       PGP public key available by fingering ec179@finger.city.ac.uk       |
`----------------------{ Email:  nostra@city.ac.uk }------------------------'
Re: TIN: different default editor
#9099
Author: Terry Asher
Date: Fri, 20 May 1994 13:49
29 lines
2397 bytes
United States Information Corp. (usic@pipeline.com) wrote:

: Here's a real stupid question for TIN... When I run it, it comes up w/ vi 
: (yuck!)  Where can I specify a different editor to use, I don't recall 
: seeing an option...  Please follow this one up, I'm afraid I would be 
: flooded w/ e-mail w/ a simple answer to this simple question!


	Phil,
	In your .login file put this line:
setenv EDITOR '/usr/local/emacs' or
setenv VISUAL '/usr/local/emacs'.  This will make emacs your default editor.
Make sure that you have the correct path for emacs.  /usr/local/emacs is my
path name on our system.
	It seems that right now after college has got out that noboby wants
to answer any of news.software.readers questions.  I hope somebody will
respond to my question about tin creating 2 sets of index files instead of one.
See the subject:  Tin and .index dir.  Thanks in advance.
	Terry Asher
-- 
*******************************************************************************
*  UNIX Administrator                | Yours through INTERNET,                *
*  Dial Center for Computer Sciences | Terry Asher  <TA2321S@ACAD.DRAKE.EDU>  *
*  Academic Computing Services       | UNIX-INTERNET<TA2321S@DUNIX.DRAKE.EDU> *
*  Drake University                  |                                        *
*  2407 Carpenter                    |For the listener who listens in the snow*
*  Des Moines, Iowa  50311  USA      |and nothing himself, beholds the nothing*
*  (515) 271-3677                    |that is not there and that is there.    *
*******************************************************************************
Re: TIN: different default editor
#9141
Author: Chris Mauritz
Date: Mon, 23 May 1994 01:44
37 lines
2392 bytes
Terry Asher (ta2321s@dunix.drake.edu) wrote:
: United States Information Corp. (usic@pipeline.com) wrote:

: : Here's a real stupid question for TIN... When I run it, it comes up w/ vi 
: : (yuck!)  Where can I specify a different editor to use, I don't recall 
: : seeing an option...  Please follow this one up, I'm afraid I would be 
: : flooded w/ e-mail w/ a simple answer to this simple question!


: 	Phil,
: 	In your .login file put this line:
: setenv EDITOR '/usr/local/emacs' or
: setenv VISUAL '/usr/local/emacs'.  This will make emacs your default editor.
: Make sure that you have the correct path for emacs.  /usr/local/emacs is my
: path name on our system.
: 	It seems that right now after college has got out that noboby wants
: to answer any of news.software.readers questions.  I hope somebody will
: respond to my question about tin creating 2 sets of index files instead of one.
: See the subject:  Tin and .index dir.  Thanks in advance.

Well, I don't have the answer to your question, but the real burning
question is how does one configure tin so that it isn't such a complete
memory pig.  I've noticed my users soaking up 10mb of RAM (or more) at 
a clip at times with a single tin process.

I like to push tin for most of my users since it is so easy to use,
but I'm starting to have second thoughts in light of the program's
voracious memory appetite.  :-(

Regards,

Chris
-- 
Christopher Mauritz       |  Ask me about public access unix
ritz@mordor.com           |  and interactive internet services.
Mordor International BBS  |  BBS: (201)432-0060  8-N-1
Jersey City, NJ           |  FAX: (201)433-4222
Re: TIN: different default editor
#9158
Author: Tom Branham
Date: Mon, 23 May 1994 15:37
19 lines
1536 bytes
Mark Lewis (ec179@city.ac.uk) wrote:
: United States Information Corp. (usic@pipeline.com) wrote:

: > Here's a real stupid question for TIN... When I run it, it comes up w/ vi 
: > (yuck!)  Where can I specify a different editor to use, I don't recall 
: > seeing an option...  Please follow this one up, I'm afraid I would be 
: > flooded w/ e-mail w/ a simple answer to this simple question!

: setenv EDITOR youreditor	(for /bin/csh or related shells)

[snip]

I also like this solution.  Have aliased a couple of scripts,
so that I can use different editors, based on what terminal
type I am running from :-)

--
tom
tbranham@mm.wellesley.edu
Re: TIN: different default editor
#9169
Author: Cheryle Pierce
Date: Tue, 24 May 1994 00:11
32 lines
2045 bytes
United States Information Corp. (usic@pipeline.com) wrote:

> Here's a real stupid question for TIN... When I run it, it comes up w/ vi 
> (yuck!)  Where can I specify a different editor to use, I don't recall 
> seeing an option...  Please follow this one up, I'm afraid I would be 
> flooded w/ e-mail w/ a simple answer to this simple question!


> Thanks
> Phil
> usic@pipeline.com


This is a kornshell solution.  Sorry I don't have an answer the other 
shells.

This line goes in your login shell.  If you use kornshell, it's your 
.profile.  

EDITOR='your favorite editor -t'
VISUAL='your favorite editor -t'

The VISUAL variable line needs to appear below the EDITOR variable line.  
The -t switch puts your default editor in tool mode.  (very important).

Hope this helps.--
-----------------------------------------------------------------------------
CHERYLE PIERCE -- Graduate Student MBA in Information Systems/Network
Management City University Bellevue, Wa USA Fax # (206) 547-8321
Smail and voice phone # available upon request.   
Internet-- cher@isumataq.eskimo.com  irc--licorace    GO MARINERS...........
------------------------------------------------------------------------------
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