🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68677

Re: yEnc decoding question

#68677
From: Gord
Date: Wed, 17 Mar 2004 19:42
44 lines
2936 bytes
It turned out that the problem was null terminated strings. I had to
manually look for nulls and not write them.

Now i'm playing with WILDMAT command. Can anyone tell me how to match
a fragment? It should be easy but I can't see it yet.

I want to match 'ogg'. Using *ogg* doesn't work. 

TIA

Gord

On 13 Mar 2004 05:09:57 GMT, curt@kcwc.com (Curt Welch) wrote:

>Gord <gord_muir@nospam_hotmail.com> wrote:
>> Hi all
>>
>> Thanks to Curt I have greatly improved the filtering of Usenet
>> messages going into my database.
>>
>> I'm currently working on yEnc decoding of multi part binaries and have
>> run into a snag.
>>
>> At first I simply wrote the information into a text file and attempted
>> to decode that. Treating binary information as text doesn't work too
>> well and I've switched to simply grabbing the bytes as they come in
>> and doing a binary write out to a single text file.
>>
>> Now all the information is correctly in the text file but there appear
>> to be control characters messing with the formatting. All the
>> information appears to be tabbed and there are many broken lines.
>>
>> Anyone have experience dealing with this?
>
>yEnc files are almost pure binary.  Don't try to look at them, it will hurt
>your eyes. :)
>
>If you write a program to decode the data, you don't need to "see" the text
>file.  But, as you said, if you use read and write routines that think they
>are working with a text file, it might corrupt the data.  You need to treat
>a yEnc article as if it were a pure binary file.  They just aren't as easy
>to work with as uuencode articles because of this fact.

Technical Details
Message-ID: <1fah509i2j39dg8qltt0qhgdb0nj1keo19@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!peer01.cox.net!cox.net!bigfeed.bellsouth.net!news.bellsouth.net!newsfeed2.telusplanet.net!newsfeed.telusplanet.net!newsfeed.telus.net!clgrps12.POSTED!not-for-mail
References: <n3b740p7nioh4h8c89crsbu05risnmf9hb@4ax.com> <87ishoz18r.fsf@windlord.stanford.edu> <ohqe40pf99idk7h03k14ldrkju8mhc6f2s@4ax.com> <20040304154419.726$DF@newsreader.com> <j9o150lbrn61b8mp0phu8f7v573ik40mbu@4ax.com> <20040313000957.095$sb@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <1fah509i2j39dg8qltt0qhgdb0nj1keo19@4ax.com>
Subject: Re: yEnc decoding question
Date: Wed, 17 Mar 2004 19:42:39 GMT
From: Gord <gord_muir@nospam_hotmail.com>
References: <n3b740p7nioh4h8c89crsbu05risnmf9hb@4ax.com> <87ishoz18r.fsf@windlord.stanford.edu> <ohqe40pf99idk7h03k14ldrkju8mhc6f2s@4ax.com> <20040304154419.726$DF@newsreader.com> <j9o150lbrn61b8mp0phu8f7v573ik40mbu@4ax.com> <20040313000957.095$sb@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!peer01.cox.net!cox.net!bigfeed.bellsouth.net!news.bellsouth.net!newsfeed2.telusplanet.net!newsfeed.telusplanet.net!newsfeed.telus.net!clgrps12.POSTED!not-for-mail
Newsgroups: news.software.nntp
Reply-To: gord_muir@nospam_hotmail.com
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 43
NNTP-Posting-Host: 142.179.103.227
X-Trace: clgrps12 1079552559 142.179.103.227 (Wed, 17 Mar 2004 12:42:39 MST)
NNTP-Posting-Date: Wed, 17 Mar 2004 12:42:39 MST