🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Paul Emmons Fri, 01 Feb 2002 02:02
Decoding schemes
#56273
Author: Paul Emmons
Date: Fri, 01 Feb 2002 02:02
24 lines
2078 bytes
1) Certain newsgroup binaries need BINHEX to decode them.  Where can I
get this program?

2) Has anyone released an encoding-decoding scheme in which four
binary bytes are expanded to five ascii bytes rather than six?  This
should be possible using just the standard printable ascii characters
below 128, and would improve throughput without the pitfalls still
experienced with yEnc.

I developed such a scheme myself several years ago for use when
someone wished to post binaries on Fidonet.  It was complete with a
header that would translate to an executable when the encoded file was
piped into Debug (MS-DOS) and then do the decoding.  Because this
header had to be as small as possible in the name of bandwidth, my
scheme used consecutive ascii characters for the encoding, and it
turned out that one punctuation character somewhere in the middle of
the sequence confused matters for some BBS software when it appeared
at the beginning of a line.  This problem probably would not occur in
newsgroups; and even if it did, the encoding system could be revised
(especially if a stand-alone program were used for decoding) to not
use this character, because there are plenty left over.


Re: Decoding schemes
#56274
Author: Jeffrey M. Vinocur
Date: Fri, 01 Feb 2002 02:04
14 lines
1349 bytes
In article <3c59f503.11061568@netnews.voicenet.com>,
Paul Emmons <pemmons@voicenet.com> wrote:
>1) Certain newsgroup binaries need BINHEX to decode them.  Where can I
>get this program?

This is a Macintosh encoding format.  You haven't specified a
platform, but http://www.stuffit.com/expander/ has decoders for
several platforms.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Decoding schemes
#56277
Author: Kjetil Torgrim Homme
Date: Fri, 01 Feb 2002 09:59
20 lines
1911 bytes
[Paul Emmons]

>   Because this header had to be as small as possible in the name of
>   bandwidth, my scheme used consecutive ascii characters for the
>   encoding, and it turned out that one punctuation character
>   somewhere in the middle of the sequence confused matters for some
>   BBS software when it appeared at the beginning of a line.  This
>   problem probably would not occur in newsgroups; and even if it
>   did, the encoding system could be revised (especially if a
>   stand-alone program were used for decoding) to not use this
>   character, because there are plenty left over.

CR LF . CR LF is the mark for terminating an article.  Therefore the
sequence CR LF . is turned into CR LF . . before transmission.  This
process, called dot stuffing, should be done by the anyone speaking
NNTP protocol.

-- 
Kjetil T.
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