Article View: news.software.readers
Article #9239Re: Changing default editor in TIN
From: Cheryle Pierce
Date: Sun, 29 May 1994 01:36
Date: Sun, 29 May 1994 01:36
44 lines
2746 bytes
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........... ------------------------------------------------------------------------------
Technical Details
Message-ID:
<CqJJ4x.AKM@eskimo.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.readers.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!EU.net!uunet!nwnexus!jhgrud!eskimo!cherReferences:
<2s8h08$7m8@columba.udac.uu.se>Show Full Headers
Complete Article Headers
Message-ID: <CqJJ4x.AKM@eskimo.com> Subject: Re: Changing default editor in TIN Date: Sun, 29 May 1994 01:36:33 GMT From: cher@eskimo.com (Cheryle Pierce) References: <2s8h08$7m8@columba.udac.uu.se> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!EU.net!uunet!nwnexus!jhgrud!eskimo!cher Newsgroups: news.software.readers Sender: news@eskimo.com (News User Id) Nntp-Posting-Host: isumataq.eskimo.com Organization: Eskimo North (206) For-Ever X-Newsreader: TIN [version 1.2 PL2] Lines: 44