🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #3766

Re: Help need sorting articles in correct order for decode

#3766
From: Jeff Beckley
Date: Tue, 16 Feb 1993 20:05
33 lines
1919 bytes
guckes@math.fu-berlin.de (Sven Guckes) writes:

>Who knows these "smart decoders" ? Speak up!

I have one, it's called reorder.  Don't know where I got it from, but I've
been using it for a long time.  Maybe check archie.

Also, here's two little nn macros that I wrote to help decode.
The first one clips everything outside the BEGIN and END lines before sending
it to uunconc (a "smart" uudecode, which I also don't know where I grabbed).
The second one is for use when there are no BEGIN and END delimiters.  I
mapped them to the keys Ctrl-D and Ctrl-X, respectively.  You can just put
this in your ~/.nn/init file.


map menu ^D (
:!!rm -f ~/.nn/tmp
save-short "~/.nn/tmp" yes input
prompt "Decoding..."
:!!(cd ~/News ; reorder -sSubject ~/.nn/tmp | sed '/^END/,/^BEGIN/d' | uunconc)
:!!rm -f ~/.nn/tmp
)

map menu ^X (
:!!rm -f ~/.nn/tmp
save-short "~/.nn/tmp" yes input
prompt "Decoding (without BEGIN/END clipping)..."
:!!(cd ~/News ; reorder -sSubject ~/.nn/tmp | uunconc)
:!!rm -f ~/.nn/tmp
)

-- 
beckley@qualcomm.com         "A witty saying proves nothing." -- Voltaire
Technical Details
Message-ID: <beckley.729893142@qualcom>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!elroy.jpl.nasa.gov!ames!pacbell.com!att-out!walter!qualcom.qualcomm.com!qualcom!beckley
References: <jwilliam.729825075@Endor> <C5RABIGV@math.fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <beckley.729893142@qualcom>
Subject: Re: Help need sorting articles in correct order for decode
Date: Tue, 16 Feb 1993 20:05:42 GMT
From: beckley@qualcom.qualcomm.com (Jeff Beckley)
References: <jwilliam.729825075@Endor> <C5RABIGV@math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!elroy.jpl.nasa.gov!ames!pacbell.com!att-out!walter!qualcom.qualcomm.com!qualcom!beckley
Newsgroups: news.software.nn
Keywords: sort, decode
Sender: news@qualcomm.com
Nntp-Posting-Host: qualcom.qualcomm.com
Organization: Qualcomm, Inc., San Diego, CA
Lines: 33