🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54065

Re: slrn-0957 customization of the header in article mode

#54065
From: Dawn Owens-Nicholson
Date: Mon, 15 Nov 1999 00:00
26 lines
1628 bytes
Sven Guckes wrote:
> How do you guys customzie the view of the header in article mode?
> Examples, please.  Thankyou!

visible_headers specifies a set of headers to display but there's no
guarantee they'll be displayed in the order you want (even if you specify
complete header names).  You'll need to use a macro that redraws the entire
article using the replace_article intrinsic.

> I want to see header like this: [...]

So, would a command like this work for you:

  order_headers (["From:","Reply-To:","Newsgroups:","Subject:",
                  "Date:","Message-ID:","X-Mailer:"]);

or were you thinking of something else?

> Is there a way to emulate mutt's "ignore" and "unignore" with Slang?

Sure.  As I understand it, both commands take "*" to mean "all headers".
'ignore' also takes partial header names (with an implied "*" at the end of
the partial header name).  'unignore' also takes full header names. Is there
something else to it?

Technical Details
Message-ID: <slrn830ou5.k68.bluemoon@ux6.cso.uiuc.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: <80pmf1$154oi$2@fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn830ou5.k68.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: slrn-0957 customization of the header in article mode
Date: Mon, 15 Nov 1999 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <80pmf1$154oi$2@fu-berlin.de>
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: 548961119
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.5.7 (UNIX)
Newsgroups: news.software.readers