🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #127242

Re: slrn - Will it show uptime like Mutt?

#127242
From: Andrew Preater
Date: Sat, 28 Jun 2003 18:17
17 lines
1496 bytes
* Crashdamage <tmeador@nospam.invalid>:
> With Mutt, I use this line to show my uptime in mail headers to
> Windows boneheads:
> 
>  my_hdr X-Uptime: `uptime | sed -e 's/.*up \([^,]*\),.*/\1/'`
> 
> Is there a way to this in slrn?

You can do this with an s-lang macro in slrn, in fact you could insert
the output of any external command.  Here's a suitable macro to do
this, uname is given as an example:

http://www.geocities.com/tsca.geo/slang/ext_header.txt

-- 
Andrew Preater
Technical Details
Message-ID: <slrnbfrmte.l0t.preater@preater.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!logbridge.uoregon.edu!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!82-69-29-2.dsl.in-addr.zen.co.UK!not-for-mail
References: <5b5d4e99f7010bc79d6f175b05231f5a@free.teranews.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbfrmte.l0t.preater@preater.com>
Subject: Re: slrn - Will it show uptime like Mutt?
Date: Sat, 28 Jun 2003 19:17:18 +0100
From: Andrew Preater <preater@deadspam.com>
References: <5b5d4e99f7010bc79d6f175b05231f5a@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!logbridge.uoregon.edu!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!82-69-29-2.dsl.in-addr.zen.co.UK!not-for-mail
Newsgroups: news.software.readers
Organization: AOLM slrn Mafia
Lines: 16
Reply-To: usenet@preater.com
NNTP-Posting-Host: 82-69-29-2.dsl.in-addr.zen.co.uk (82.69.29.2)
X-Trace: fu-berlin.de 1056824253 31282688 82.69.29.2 (16 [139491])
Mail-Copies-To: nobody
X-Editor: Vim 6.1 http://www.vim.org
User-Agent: slrn/0.9.7.4 (GNU/Linux)