🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #33324

Re: slrn & nntpserver variable

#33324
From: rod
Date: Sun, 04 May 1997 00:00
40 lines
2117 bytes
Manoj Kasichainula, manojk+usenet@io.com journeyed into
	another dimension with: 
 >
 >On Thu, 1 May 1997 16:25:00 +1000, CB <cb@acme.com> wrote:
 >>
 >>Maybe this is a dumb question, but when I try and run slrn it tells me I 
 >>have to set the environment variable NNTPSERVER.
 >
 >In Red Hat 4.1, you can place the name of the NNTP server in a file
 >called /usr/lib/news/nntp_server, instead of setting the NNTPSERVER
 >environment variable.

	It hardley matters what system keeps it where. The variable
	is either in the environment or it isn't and either slrn can
	find the value of NNTPSERVER or it can't. Who puts it in what
	file only confuses the issue. So the answer to his question,
	which seems to be setting the environment variable is to first
	see what shell he's using. It's either going to be done by:
	
export NNTPSERVER=my.nsewserver.com

or when using inferior shells ;) by:

setenv NNTPSERVER my.newserver.com

	and then man my_shell to find out more. After that, then he can
	worry about being clever and adding something like:
	
export NNTPSERVER=`/usr/lib/news/nntp_server`

	If the system already gets it from there, that's what it does
	anyway, so he might as well understand what's happening so
	everyother environment variable isn't a mystery with a magic
	un*x dependent answer, when in fact, it is not. The answer
	depends more on the shell than it does on the brand of un*x.
	
	

Technical Details
Message-ID: <slrn5mocre.ra.serling@davids.psyberlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <MPG.dd2e245a999abab989692@ernie.rsvl.unisys.com> <Rslrn5mjvh5.de6.manojk+usenet@pentagon.io.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5mocre.ra.serling@davids.psyberlink.net>
Subject: Re: slrn & nntpserver variable
Date: Sun, 04 May 1997 00:00:00 +0000
From: serling@davids.isource.net (rod)
References: <MPG.dd2e245a999abab989692@ernie.rsvl.unisys.com> <Rslrn5mjvh5.de6.manojk+usenet@pentagon.io.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 239238912
Organization: the signpost up ahead
Reply-To: davids@davids.psyberlink.net
Newsgroups: news.software.readers