🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Paul Gilmartin Sun, 12 Dec 1993 20:30
TRN Multi-part articles to pipe
#6910
Author: Paul Gilmartin
Date: Sun, 12 Dec 1993 20:30
9 lines
1222 bytes
Is there a way to catenate multiple articles with TRN and direct the
stream to a pipe of my choice?  If I tag and pipe multiple articles,
they are piped separately, not concatenated.

Or, to the same effect, can I supply a customized decoding filter for
a multi-part article in place of TRN's standard filters?

Thanks,
gil
Re: TRN Multi-part articles to pipe
#7031
Author: Wayne Davison
Date: Mon, 20 Dec 1993 19:02
17 lines
1311 bytes
According to Paul Gilmartin <pgilmart@nyx10.cs.du.edu>:
> Is there a way to catenate multiple articles with TRN and direct the
> stream to a pipe of my choice?

Unfortunately not.  You'd have to save all the pieces to a file and then
pipe them all at once.  I may add some sort of begin-pipe, end-pipe command
in the future.

> can I supply a customized decoding filter for
> a multi-part article in place of TRN's standard filters?

You can replace the unshar filter by defining the UNSHAR variable in
your environment or your $TRNINIT.  The uudecoder is internal, though,
and isn't easily superceded.
-- 
Wayne Davison
davison@borland.com
Re: TRN Multi-part articles to pipe
#7137
Author: Greg Earle
Date: Sun, 02 Jan 1994 10:19
26 lines
1869 bytes
In article <CICKwx.JMG@borland.com>, Wayne Davison <davison@borland.com> wrote:
>According to Paul Gilmartin <pgilmart@nyx10.cs.du.edu>:
>> Is there a way to catenate multiple articles with TRN and direct the
>> stream to a pipe of my choice?
>
>Unfortunately not.  You'd have to save all the pieces to a file and then
>pipe them all at once.  I may add some sort of begin-pipe, end-pipe command
>in the future.

What if the destination file was a FIFO (named pipe)?

>>Can I supply a customized decoding filter for
>>a multi-part article in place of TRN's standard filters?
>
>You can replace the unshar filter by defining the UNSHAR variable in
>your environment or your $TRNINIT.  The uudecoder is internal, though,
>and isn't easily superceded.

Speaking of decoders, a de-BinHex'er (for groups like comp.binaries.mac) would
be nice, too!  :-)

-- 
- Greg Earle
  Phone: (818) 353-8695			FAX: (818) 353-1877 [Call # again if
  Internet: earle@isolar.Tujunga.CA.US			     you get data tone]
  UUCP: isolar!earle@elroy.JPL.NASA.GOV a.k.a. ...!elroy!isolar!earle
Re: TRN Multi-part articles to pipe
#7143
Author: Wayne Davison
Date: Sun, 02 Jan 1994 23:36
16 lines
1457 bytes
According to Greg Earle <earle@isolar.Tujunga.CA.US>:
> Speaking of decoders, a de-BinHex'er (for groups like comp.binaries.mac)
> would be nice, too!  :-)

Since I don't do any mac-ing, having someone supply me with the necessary
code would be a real plus.

*I* wish that people would start using "ship", the free encoder that came
from the free zip folks.  Ship lets you feed it the pieces out of order
without ill consequences, and it has much better error checking than the
standard uuencoded files (I believe it has a per-file crc so you know
which pieces are valid and which aren't).  Trn even has a built-in unship
filter (though I'm still waiting for that to prove useful (-: ).
-- 
Wayne Davison
davison@borland.com
Re: TRN Multi-part articles to pipe
#7145
Author: Christopher Davis
Date: Mon, 03 Jan 1994 02:32
10 lines
1389 bytes
WD> == Wayne Davison <davison@borland.com>

 WD> *I* wish that people would start using "ship", the free encoder that came
 WD> from the free zip folks.

How about mpack, which is MIME-compatible, instead?
--
* Christopher Davis * <ckd@kei.com> * (was <ckd@eff.org>) * MIME * [CKD1] *
  "It's 106 ms to Chicago, we've got a full tank of GIFs, half a meg of
     hypertext, it's dark, and we're wearing sunglasses."  "Click it."
Re: TRN Multi-part articles to pipe
#7149
Author: Paul Gilmartin
Date: Mon, 03 Jan 1994 05:03
28 lines
2070 bytes
In article <CJ109A.6o9@borland.com>
davison@borland.com (Wayne Davison) writes:
 
>Since I don't do any mac-ing, having someone supply me with the necessary
>code would be a real plus.
>
The Unix version of BinHex is "mcvert".  Source is avilable as a .shar
from sumex-aim.stanford.edu:/info-mac, or from mac.archive.umich.edu.
 
- However -
 
I think it's counterproductive for every program to provide every function,
particularly when the function is readily available as a filter which
cam be incorporated as a pipeline stage.  If Wayne sees fit to provide
an interface from trn to a pipe (with article concatenation), I'll next
nag the author of mcvert to provide input from stdin.  (I might even
send him a patch -- I'm less daunted by the task of generating a patch
for mcvert than for a program the size of trn.)
 
>*I* wish that people would start using "ship", the free encoder that came
>from the free zip folks.  Ship lets you feed it the pieces out of order
 
.. and a subsequent followup wishes for the MIME-compliant decoding filter.
I believe the diversity of wishes for output filters reinforces the
argument for a general filter interface.
 
Thanks,
gil
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