🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
8 messages
8 total messages Started by Jerry Williams x2562 Tue, 16 Feb 1993 01:11
Help need sorting articles in correct order for decode
#3760
Author: Jerry Williams x2562
Date: Tue, 16 Feb 1993 01:11
17 lines
1379 bytes
I would like to know if there is an easy way to order articles
so that they can be decoded.
For example if some one posts some thing that has 10 parts
if I use sort subject then I run into problems if the parts don't
use 01, 02, .... 10 if this is the case then 10 comes first and
then I don't know what to do.  I can save all of the articles and
then do the every thing by hand.  So I was wondering if there is
some way to move articles around or have a little smarter sort.
Thanks for any help,
			Jerry


-- 

Jerry Williams @ Evans & Sutherland  560 Arapeen Drive, SLC, Utah 84108
jwilliam@endor.sim.es.com     or   jwilliam%endor@sim.es.com
.sim.es.com!endor!jwilliam  or   {decwrl, utah-cs}!esunix!jwilliam
Re: Help need sorting articles in correct order for decode
#3761
Author: Sven Guckes
Date: Tue, 16 Feb 1993 04:23
25 lines
1833 bytes
jwilliam@endor.sim.es.com (Jerry Williams x2562) writes:

>I would like to know if there is an easy way to order articles
>so that they can be decoded.
>For example if some one posts some thing that has 10 parts
>if I use sort subject then I run into problems if the parts don't
>use 01, 02, .... 10 if this is the case then 10 comes first and
>then I don't know what to do.
>I can save all of the articles and then do the every thing by hand.
>So I was wondering if there is some way to move articles around or
>have a little smarter sort.

You may use a smarter decoder, i.e. a decoder that automatically knows
which part of the file to decode next.

Who knows these "smart decoders" ? Speak up!

Another method is to save the articles in the desired order.
Use 'S' in menu mode, then save part 1 to part 9 in the desired order
to the folder "blah.uue".
The rest (part 10 to part 99) probably can be done by selecting them all
and then saving (=appending) them to the folder "blah.uue".

-- 
Sven@news.software.nn | Alias resolving to be the next feature with nn!
Re: Help need sorting articles in correct order for decode
#3762
Author: Sudarshan S. Chawathe
Date: Tue, 16 Feb 1993 06:47
27 lines
1924 bytes
guckes@math.fu-berlin.de (Sven Guckes) writes:

>jwilliam@endor.sim.es.com (Jerry Williams x2562) writes:
>>I would like to know if there is an easy way to order articles
>>so that they can be decoded.

>You may use a smarter decoder, i.e. a decoder that automatically knows
>which part of the file to decode next.

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

Okay, okay!

There's this neat perl script called "aub" (Assemble Usenet Binaries)
written by Mark Stantz.  It connects to the news-server, gets the parts
of the binaries, decodes them in the right order etc. etc.  It even
keeps track of what you've seen and what is currently incomplete etc.
I can't even imagine doing all those things by hand now that I've got
aub to do it for me!

Archie should give the source, I think.  In case of difficulty, I could
mail you the shar file.

-Chaw

_________________________________________________________________________
Chaw@cs.Stanford.edu                                         tat tvam asi
Re: Help need sorting articles in correct order for decode
#3766
Author: 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
Re: Help need sorting articles in correct order for decode
#3774
Author: Chris Sherman
Date: Fri, 19 Feb 1993 07:44
32 lines
2281 bytes
In <C5RABIGV@math.fu-berlin.de> guckes@math.fu-berlin.de (Sven Guckes) writes:

>jwilliam@endor.sim.es.com (Jerry Williams x2562) writes:

>>I would like to know if there is an easy way to order articles
>>so that they can be decoded.
>>For example if some one posts some thing that has 10 parts
>>if I use sort subject then I run into problems if the parts don't
>>use 01, 02, .... 10 if this is the case then 10 comes first and
>>then I don't know what to do.
>>I can save all of the articles and then do the every thing by hand.
>>So I was wondering if there is some way to move articles around or
>>have a little smarter sort.

>You may use a smarter decoder, i.e. a decoder that automatically knows
>which part of the file to decode next.

Yet another way is to do the following:

Position all the parts so they fit into the screen all at once (this is
sometimes the hard part).  One way is to use Gs=reg_exp to group all the
articles into one screen.

Then do the :decode thing, but instead of saying '*' or '+', just start
typing in the letters of the parts in the correct order.  This is sort
of the manual way of doing it...  :-)

-- 
     ____/     /     /     __  /    _  _/    ____/
    /         /     /     /   /      /     /          Chris Sherman
   /         ___   /        _/      /          /
 _____/   __/   __/   __/ _\    _____/   _____/           sherman@unx.sas.com
Re: Help need sorting articles in correct order for decode
#3780
Author: Volkmar Grote
Date: Sat, 20 Feb 1993 20:09
5 lines
855 bytes
Try ":sort lexical", that's the way I do it!
Good luck
	Volkmar
-- 
Volkmar.Grote@Stollmann.DE
Re: Help need sorting articles in correct order for decode
#3804
Author: Bill Wohler
Date: Thu, 25 Feb 1993 14:24
15 lines
1530 bytes
Jeff Beckley <beckley@qualcom.qualcomm.com> writes:
jeff> guckes@math.fu-berlin.de (Sven Guckes) writes:

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

jeff> I have one, it's called reorder.  Don't know where I got it
jeff> from,

  can someone please find out where one can get this tool and let me
  know for the faq.  however, is it really necessary if you ":sort
  lexical" ?

Bill Wohler 				<wohler@sap-ag.de>  		
SAP AG					Heidelberg Red Barons
Postmaster				Ultimate Frisbee Team
Re: Help need sorting articles in correct order for decode
#3816
Author: Jesper Lauridsen
Date: Fri, 26 Feb 1993 18:55
21 lines
1479 bytes
wohler@hw1175.sap-ag.de (Bill Wohler) writes:

>Jeff Beckley <beckley@qualcom.qualcomm.com> writes:
>jeff> guckes@math.fu-berlin.de (Sven Guckes) writes:

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

>jeff> I have one, it's called reorder.  Don't know where I got it
>jeff> from,

>  can someone please find out where one can get this tool and let me
>  know for the faq.  however, is it really necessary if you ":sort
>  lexical" ?

As long as people post files in 10+ parts without using the 01 02 03 ...
numbering (10/12 is lexically before 9/12). :sort lexical solves most
of the problem - the exceptions can be done by hand.

-- 
Jesper Lauridsen        |  I survived the rec.arts.sf-lovers split
rorschak@daimi.aau.dk   | 
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