Article View: news.software.readers
Article #45300Re: setenv in slrn
From: Frank Hahn
Date: Thu, 10 Dec 1998 00:00
Date: Thu, 10 Dec 1998 00:00
36 lines
2229 bytes
2229 bytes
On Thu, 10 Dec 1998 00:03:00 -0500, Arthur <augie@interport.net> wrote: >I'm running redhat linux 5.2, using the bash shell and trying to learn how >to use slrn. > >Everytime I start the program, I get an error msg "you need to set the >NNTPSERVER environment variable to your host name". I've found that I can do >this with the -h switch, but I don't know how to set this permanently. > > I've reviewed the man pages, the slrn web pages and my books Linux in a >Nutshell, Running Linux and A Practical Guide to Linux. If the answer is in >any of them, I can't find it or figure it out. > >I have managed to get slrn working in Windows 98 (even managed to follow the >directions and write a batch file to start it from an icon on the desktop, >altho I'm not confident enough yet to post with it) but could someone please >explain how it''s done in Linux? > You don't mention which shell program you are using. Probably either bash or csh but either of these has a configuration file. Something like .cshrc or .bashrc in your home directory. If they are not there, you can create one or see if there is a beginning skelton file somewhere on your system. Anyways, in the .cshrc file, you would place a command similar to the following in it: setenv NNTPSERVER "yournewsserver.com" I don't remember the systax to bash, but is should be something similar. When you log in, that variable should be set. Try typing "setenv" to see them. -- Frank Hahn
Technical Details
Message-ID:
<74p1mi$462$3@remarQ.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-mailReferences:
<74nkm4$43h$1@winter.news.rcn.net>Show Full Headers
Complete Article Headers
Message-ID: <74p1mi$462$3@remarQ.com> Subject: Re: setenv in slrn Date: Thu, 10 Dec 1998 00:00:00 +0000 From: fhahn@zdnetmail.com (Frank Hahn) References: <74nkm4$43h$1@winter.news.rcn.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 X-Deja-AN: 420874542 X-Complaints-To: newsabuse@remarQ.com X-Trace: 913312274 8JUHHDRUMA3D2CDD9C usenet54.supernews.com Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: fhahn@zdnetmail.com Newsgroups: news.software.readers