🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Nils Hulth Sat, 28 May 1994 22:35
Changing default editor in TIN
#9238
Author: Nils Hulth
Date: Sat, 28 May 1994 22:35
19 lines
1677 bytes
Hello!
I wonder if there is anyone there who could help with configuring TIN. I know
it sounds easy, I just want to change the default editor in TIN from vi to
emacs. I've tried for almost a whole day now. Oh, yes there is a line in the
tin.h file with DEFAULT_EDITOR = "/bin/vi", and I of course changed it. But
instead of launching emacs TIN just prints the command at the bottom of the
screen, and nothing more happens. WHY?!? It works just fine with "/bin/vi".
(I'm using the latest TIN I could find, v 1.22.)

Million thanks to the one who could help me,
/Nils Hulth

--

###############################################################################
# NAME: Nils Hulth, System Administrator at IBG, Uppsala University, Sweden   #
# PHONE: +46 (0) 18 245764                                                    #
# EMAIL: nisse@ibg.uu.se                                                      #
###############################################################################
Re: Changing default editor in TIN
#9239
Author: Cheryle Pierce
Date: Sun, 29 May 1994 01:36
44 lines
2746 bytes
Nils Hulth (b91nhu@albireo.tdb.uu.se) wrote:
> Hello!
> I wonder if there is anyone there who could help with configuring TIN. I know
> it sounds easy, I just want to change the default editor in TIN from vi to
> emacs. I've tried for almost a whole day now. Oh, yes there is a line in the
> tin.h file with DEFAULT_EDITOR = "/bin/vi", and I of course changed it. But
> instead of launching emacs TIN just prints the command at the bottom of the
> screen, and nothing more happens. WHY?!? It works just fine with "/bin/vi".
> (I'm using the latest TIN I could find, v 1.22.)

> Million thanks to the one who could help me,
> /Nils Hulth

> --

> ###############################################################################
> # NAME: Nils Hulth, System Administrator at IBG, Uppsala University, Sweden   #
> # PHONE: +46 (0) 18 245764                                                    #
> # EMAIL: nisse@ibg.uu.se                                                      #
> ###############################################################################

Here is a way to change your default editor.  Your syntax depends on what 
shell your are using.  If you are using the korn shell (ksh), you put 
these two lines in your .profile.

export EDITOR=emacs
export VISUAL=emacs

Of course you will need to use a slightly different syntax for other 
shells. I think the c-shell syntax for your .chsrc goes something like this

setenv EDITOR "emacs -t"
setenv VISUAL "emacs -t"

The -t switch sets emacs in tool mode.

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