*BSD News Article 41985


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!news.ysu.edu!usenet.ins.cwru.edu!lerc.nasa.gov!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!swrinde!sgiblab!nbn!miwok!myrddin.imat.com!seahunt.imat.com!nelson
From: nelson@seahunt.imat.com (Michael Nelson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: News over NNTP
Date: 3 Feb 1995 01:00:19 GMT
Organization: Imagine That
Lines: 33
Message-ID: <3grv73$g5s@myrddin.imat.com>
References: <3gjjtu$b83@news.ais.net>
NNTP-Posting-Host: seahunt.imat.com
X-Newsreader: TIN [version 1.2 PL2]

Daniel Leeds (dleeds@eagle.ais.net) wrote:
-> I tried installing two newsreaders today, both TIN and TRN.  Each 
-> compiles fine, connects to my newserver, and reads news great.

-> However, neither will post news.  How can I do this??  Tin flashes an 
-> error message so fast you cant see it for the life of you.

	On my system, tin was doing that when I tried to post too.  I
just kept retrying until I saw that it was trying to use "/usr/ucb/vi" as
the editor to edit the post with.  Naturally, it wasn't there.

	Tin is supposed to read the "VISUAL" environment variable to
decide what editor to use.  I _do_ have the VISUAL environment variable
set and can see it in the environment, but it seems not to get passed to
tin when tin starts up.

	I normally use "jed" as my editor, so I solved the problem by
creating the "/usr/ucb" directory and creating a link there to
/usr/local/bin/jed:

	mkdir /usr/ucb
	cd /usr/ucb
	ln -s /usr/local/bin/jed vi
	
	Now it works fine.  Not a GOOD solution, but it _did_ fix the
problem for me.  

			- Michael -

--
Michael Nelson                          nelson@seahunt.imat.com
San Francisco, CA                       
http://www.imat.com/consult.html          VOICE: 1-415-621-2608