🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Randall Hopper Sun, 11 Jan 1998 00:00
SLRN: Filtering headers on (F)orward
#37997
Author: Randall Hopper
Date: Sun, 11 Jan 1998 00:00
19 lines
1212 bytes
Is there a way to request that slrn filter message headers before sending the
composed (F)orward message to the text editor (or before mailing it, when its
not edited)?  Anyone have a SLang solution?

Thought I'd ask before resorting to an editor wrapper script.  Editing the
headers is always the first thing I do on a (F)orward.  

I'd be satisfied with the list of headers slrn calls "uninteresting" in the
"(t)oggle hidden/un-hidden header state" command.

Thanks.

-- 
 _____________________________________________________________________________
   Randall Hopper  (AA8VB)   |  rhh@ct.picker.com  |  Powered by FreeBSD      


Re: SLRN: Filtering headers on (F)orward - within vim editor
#38059
Author: Sven Guckes
Date: Wed, 14 Jan 1998 00:00
32 lines
1893 bytes
rhh@ct.picker.com (Randall Hopper):
> Editing the headers is always the first thing I do on a (F)orward.  
> Is there a way to request that slrn filter message headers
> before sending the composed (F)orward message to the text editor
> (or before mailing it, when its not edited)?

I do this within my editor, Vim, with these mappings:

" First step:  Define regexpr for headers.
" This makes reading the following mappings much easier.
" cab HADDR     From\\|Cc\\|To
  cab HEMAIL ^\(From\\|Cc\\|To\\|Date\\|Subject\\|Message-ID\\|X-\)
  cab HNEWS  ^\(From\\|Cc\\|To\\|Date\\|Subject\\|Message-ID\\|X-\\|Newsgroups\)
" 
  nmap ,we vip:v/HEMAIL/d
  vmap ,we    :v/HEMAIL/d
  nmap ,wp vip:v/HNEWS/d
  vmap ,wp    :v/HNEWS/d

So for "weeding" a header that is the current paragraph of within the
"visual text" you would use ",we" or ",wp" to weed for "email header"
or "post headers" respectively.

> Anyone have a SLang solution?

I am sure that others might have an SLang solution for you.
Anyone?

Sven

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads