🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45852

Re: Problems with slrn

#45852
From: Sylvain Robitaille
Date: Wed, 19 Apr 2000 00:00
37 lines
2291 bytes
[ crossposted to news.software.readers and followups sent there, since
  that's the group where this should have gone in the first place. ]

On Wed, 19 Apr 2000 09:35:34 -0400, root@idora.thecellar.org wrote:

> 1)I would like to see the dates of the articles. 
>   Is there a way to show this information in slrn?

Press 't' while viewing an article. That will (t)oggle the display of
all headers.

> 2)I set up a script as root to be run every five
> minutes by the cron daemon.  ...  The script contains the 
> fetchnews command and checks and modifies an 
> environmental variable which indicates the status
> of /dev/modem.  But when the script is run every five
> minutes I get the error in the mailbox - "fetchnews 
> unknown command" and the environmental variable is 
> ignored.  Why is this happening?  Is there some way to 
> "pass" the environmental variable to the script or is
> this a fundamental limitation to cron jobs?

You can "export" the environment variable you need your script to see.
See the manual page for sh for further details about that.

Fetchnews?  Is that a locally written script?  If it makes any
difference, I find Slrnpull works just fine...

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca
 
Systems analyst                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

Technical Details
Message-ID: <8dkvu3$4l$1@newsflash.concordia.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <slrn8frdh6.dl.root@idora.thecellar.org>

Show Full Headers
Complete Article Headers
Message-ID: <8dkvu3$4l$1@newsflash.concordia.ca>
Subject: Re: Problems with slrn
Date: Wed, 19 Apr 2000 00:00:00 +0000
From: syl@alcor.concordia.ca (Sylvain Robitaille)
References: <slrn8frdh6.dl.root@idora.thecellar.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 613252213
Followup-To: news.software.readers
Organization: Concordia University, Montreal, Canada
User-Agent: slrn/0.9.5.7 (UNIX)
Newsgroups: news.software.nntp,news.software.readers
NNTP-Posting-User: syl