🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #156625

Re: [slrn] pgp reading macros

#156625
From: Troy Piggins
Date: Tue, 05 Oct 2004 08:44
43 lines
2962 bytes
* Emmanuele Bassi <zefram@wolverine.lohacker.invalid> [news.software.readers]:
> * Troy Piggins [2004-10-04 22:53]:
>
>>> You should never use the application/pgp MIME-Type on Usenet, since MIME
>>> attachments are not guaranteed to be understood by *any* news user agent
>>> (heck, even charset encoding isn't guaranteed).
>>
>> I certainly *don't* use it for that very reason.  And I think 90-95% of
>> posts I read do not also.  There is just the odd occassion where someone
>> has, and it is very ugly to read because slrn does not seem to handle it
>> well by default.
>
> I feel obliged to repeat that SLRN has any rights not to handle the
> application/pgp MIME type. On Usenet, articles should be signed using
> clear text - even though it does mangle the signature delimiter.
>
> +++
>
> If you wish to cancel out the MIME stuff, you could write a macro that
> passes the article body to an external filter and replace the article
> with the new, MIME-free, text. Kinda ugly, and possibly platform
> dependent, but workable.
>
> Bye,
>  Emmanuele.
>

Thanks, Em.  I think I was barking up the wrong tree!  I was looking for
gpg macros, but I should have been looking for MIME macros.  That is
exactly what I need to do.

I have looked a bit, but no luck.  Do you know of any?  I am starting to
look into writing a macro, but I have never done it before, and don't
really know s-lang.

I guess I need to extract the appropriate content-type header, if it
contains mime-pgp then store the boundaries in a variable to check
within the message and extract/delete them.  But I am not sure how to
modify a post before reading it.  Can that be done?

-- 
T R O Y  P I G G I N S
e : usenet@piggo.com
Technical Details
Message-ID: <slrncm4nn5.dfp.usenet@piggo.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.moat.net!lon-transit.news.telstra.net!ken-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail
References: <slrncm2jar.6pn.usenet@piggo.com> <slrncm33a6.2tv.zefram@wolverine.lohacker.net> <slrncm3e1s.7sn.usenet@piggo.com> <slrncm3hq8.30j.zefram@wolverine.lohacker.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrncm4nn5.dfp.usenet@piggo.com>
Subject: Re: [slrn] pgp reading macros
Date: Tue, 05 Oct 2004 08:44:43 GMT
From: Troy Piggins <usenet@piggo.com>
References: <slrncm2jar.6pn.usenet@piggo.com> <slrncm33a6.2tv.zefram@wolverine.lohacker.net> <slrncm3e1s.7sn.usenet@piggo.com> <slrncm3hq8.30j.zefram@wolverine.lohacker.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.moat.net!lon-transit.news.telstra.net!ken-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet@piggo.com
Mail-Copies-To: usenet@piggo.com
User-Agent: slrn/0.9.8.0 (Linux)
Lines: 43
NNTP-Posting-Host: 147.10.92.37
X-Complaints-To: abuse@bigpond.net.au
X-Trace: news-server.bigpond.net.au 1096965883 147.10.92.37 (Tue,
NNTP-Posting-Date: Tue, 05 Oct 2004 18:44:43 EST
Organization: BigPond Internet Services