🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56525

Re: [yenc] yydecode -- reimplementation of decoder

#56525
From: Yume no Hikari
Date: Fri, 15 Feb 2002 09:32
38 lines
2804 bytes
On Thu, 14 Feb 2002 22:37:08 -0700, Liyang Hu wrote:

> After hurting[0] my eyes[1] trying to read the example code given on
> http://www.yenc.org/ , I decided I would stop whinging and do something
> about it. So here it is:
> 
>     http://nerv.cx/liyang/download/yydecode/
> 
> It's a uudecode work-alike; in fact, it's so like uudecode, it even
> takes the same command line switches. (I retyped most of uudecode.c, so
> what? :P~~~)
> 
> I've tested it on about 200MB of (downloaded) data. It works, as far as
> I can see, and should do on any POSIX-compliant system. I'd like to hear
> reports of it compiling / working on platforms other than Debian
> GNU/Linux on i686, or not, as the case may be.
> 
> So far, (somewhat over two hours of work), there's no CRC checking --
> I'll add that in a day or two after I get some sleep ...
> 
> Cheers,
> /Liyang -- Zzzz
> [0] goto? To quote Inigo Montoya: ``You keep using that keyword; I
>     don't think it means what you think it means ...''
> [1] Joke, mmkay? Don't take me too seriously. ^_-

Hallelujah.  A more graceful solution to the pipe-able yDec than I managed
(mine was a nasty hack of the already-scary example code).  Now I just
need to convince myself to crack open the libyenc I had half-done, so we
might have encoding and/or built-in decoding support some time this year. 
(No, I'm not in too much of a hurry to post in it, I just hate having to
switch to tin to download yEnc binaries just 'cos Pan won't save as a raw
file and has no concept of piping articles.)

Many thanks.

-hikari
Technical Details
Message-ID: <pan.2002.02.15.02.32.05.906913.25363@nevermind.where>
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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!news-out.worldnet.att.net.MISMATCH!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
References: <a4i6q4$kr8$1@pegasus.csx.cam.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2002.02.15.02.32.05.906913.25363@nevermind.where>
Subject: Re: [yenc] yydecode -- reimplementation of decoder
Date: Fri, 15 Feb 2002 09:32:08 GMT
From: Yume no Hikari <hikari@nevermind.where>
References: <a4i6q4$kr8$1@pegasus.csx.cam.ac.uk>
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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!news-out.worldnet.att.net.MISMATCH!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: fnord.
User-Agent: Pan/0.11.2 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "Liyang Hu" <newsgroups@nerv.cx>
Lines: 37
NNTP-Posting-Host: 12.253.100.29
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc52.ops.asp.att.net 1013765528 12.253.100.29 (Fri, 15 Feb 2002 09:32:08 GMT)
NNTP-Posting-Date: Fri, 15 Feb 2002 09:32:08 GMT