🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #62681

Re: Passing slrn a particular newsgroup on the command line?

#62681
From: John E. Davis
Date: Fri, 23 Jun 2000 00:00
29 lines
1394 bytes
On Fri, 23 Jun 2000 20:18:08 GMT, Adam Schuetze <adam@alpha.adam-schuetze.org>
wrote:
>Or barring that, is there any way to execute slrn so that when
>it starts up, the newsgroup in question has been automatically
>added to the newsgroup listing?

There is no built-in support for this.  However, it can be done via a
macro and a shell script:
#v+
   # shell script (bash)
     export SLRN_NEWSGROUP=news.software.readers
     slrn
     
   % slrn macro
   define group_mode_startup_hook ()
   {
      variable g = getenv ("SLRN_NEWSGROUP");
      if (g != NULL)
        {
	   if (group_search (g))
	     () = select_group ();
	}
   }
#v-

--John
     

Technical Details
Message-ID: <slrn8l7kki.bcu.davis@aluche.mit.edu>
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: <slrn8l7i0d.e5m.adam@alpha.adam-schuetze.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8l7kki.bcu.davis@aluche.mit.edu>
Subject: Re: Passing slrn a particular newsgroup on the command line?
Date: Fri, 23 Jun 2000 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn8l7i0d.e5m.adam@alpha.adam-schuetze.org>
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: 638215130
X-Trace: dreaderd 961794707 9426 18.75.2.45
Organization: Center for Space Research
User-Agent: slrn/0.9.6.3 (Linux)
Reply-To: davis@space.mit.edu
Newsgroups: news.software.readers