🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #127266

Re: slrn - Will it show uptime like Mutt?

#127266
From: Crashdamage
Date: Sun, 29 Jun 2003 00:33
32 lines
2220 bytes
On Sat, 28 Jun 2003 23:00:48 GMT, SINNER wrote:
> While strolling through news.software.readers, Crashdamage was overheard
> plotting:
>> Thanks, from what I can tell it might, but I'm not sure.  I don't do French,
>> so I'll have to wait 'til my daughter who does has a chance to do a little
>> translation for me.
> 
> You dont need to understand french. Place that script in a file called
> uptime.sl and interpret it in your slrnrc.

OK, I'd already done that and yeah it works, but it trashes my 

"X-Newsreader SLRN 0.9.7.4 (Linux)"

header line when I use it.  Also, I can't figure how to add my entire
uptime command including the sed command to strip out extra info (this
actually is a line I ripped off Sven Guckes' muttrc):

"`uptime | sed -e 's/.*up \([^,]*\),.*/\1/'`"

I added it to the command line like this:

uptime="";
  cmd = sprintf("uptime | sed -e 's/.*up \([^,]*\),.*/\1/'" );

and I thought that would do it, but it gets ignored and still puts the
whole verbose "uptime" command in the header.  

I've also played around with the other scripts suggested, but no
go...I'm open to other suggestions...
Technical Details
Message-ID: <0f3aae932af5b69aaae9ca9cab521c94@free.teranews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed-east.nntpserver.com!nntpserver.com!free.teranews.com!not-for-mail
References: <5b5d4e99f7010bc79d6f175b05231f5a@free.teranews.com> <slrnbfrlo2.aia.mark_usenet@bubble.markhill.me.uk> <2c8b5b5781cd49e472818395d8a46aa5@free.teranews.com> <k0j1t-m62.ln1@news.gates_of_hell.INVALID>

Show Full Headers
Complete Article Headers
Message-ID: <0f3aae932af5b69aaae9ca9cab521c94@free.teranews.com>
Subject: Re: slrn - Will it show uptime like Mutt?
Date: Sun, 29 Jun 2003 00:33:05 GMT
From: Crashdamage <tmeador@nospam.invalid>
References: <5b5d4e99f7010bc79d6f175b05231f5a@free.teranews.com> <slrnbfrlo2.aia.mark_usenet@bubble.markhill.me.uk> <2c8b5b5781cd49e472818395d8a46aa5@free.teranews.com> <k0j1t-m62.ln1@news.gates_of_hell.INVALID>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed-east.nntpserver.com!nntpserver.com!free.teranews.com!not-for-mail
X-Abuse-Report: abuse@teranews.com
Lines: 31
Newsgroups: news.software.readers
X-Newsreader: SLRN 0.9.7.4 (Linux)
User-Agent: slrn/0.9.7.4 (Linux)