🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Conrad Sabatier Thu, 20 Nov 1997 00:00
Trn -- patch to handle new (brain-damaged) x-uuencode encoding type
#37185
Author: Conrad Sabatier
Date: Thu, 20 Nov 1997 00:00
32 lines
1597 bytes

I've noticed recently in certain binaries groups that some people are
suddenly using a MIME encoding type of "x-uuencode" instead of the
standard "x-uue" that trn looks for.  There's no difference between the
two; both are just standard uuencoding, but trn spits out an error message
about unhandled encoding type if you try to extract one of these.

Here's a simple patch:

In mime.c, in function mime_ParseEncoding(mp, s), simply change:

    else if (strncaseEQ(s, "x-uue", 5)) {
        s += 5;
        mp->encoding = MENCODE_UUE;

    }

by adding these two lines before the closing brace:

        if (strncaseEQ(s, "ncode", 5))
        s += 5;
 
This will advance the pointer past the "ncode" part of "x-uuencode"
(necessary for a later check, which is where the original actually fails).
-- 
Conrad Sabatier                  |  FreeBSD -- UNIX for your PC
                                 |  Why settle for less than the best?
http://www.neosoft.com/~conrads  |  http://www.freebsd.org


Re: Trn -- patch to handle new (brain-damaged) x-uuencode encoding type
#37249
Author: Dave Holland
Date: Mon, 24 Nov 1997 00:00
13 lines
1161 bytes
Goran Larsson <hoh@approve.se.NO_JUNK_EMAIL> wrote:
>In Sweden we this could be placed under the label: "don't throw
>stones if you live in a glass house." If you are "for interoperability"
>then you should change Netscape's software to stop generating
>Usenet postings with that garbage that looks like HTML, but isn't.

Perhaps you could configure your news software to stop generating an
email address that isn't valid, then?

Dave

Re: Trn -- patch to handle new (brain-damaged) x-uuencode encoding type
#37292
Author: Dave Holland
Date: Wed, 26 Nov 1997 00:00
20 lines
1573 bytes
Goran Larsson <hoh@approve.se> wrote:
>The "modified" email address does not impair the readability of the
>message, nor does it increase the size of the message by a factor
>of three. What the "modified" email address does, however, is to
>dramatically reduce the size of my own mailbox.

What it does is to make it inconvenient and unnecessarily difficult for
genuine correspondants to reply by email. How inconsiderate!

>It is also quite a different thing when an individual bends the rules
>a bit compared with when a large company does the bending. Especially
>when that same company is a big trendsetter on the Internet.

It's quite a different thing when a large proportion of people posting
to Usenet engages in this "rule bending".

Dave

Re: Trn -- patch to handle new (brain-damaged) x-uuencode encoding type
#37310
Author: Conrad Sabatier
Date: Thu, 27 Nov 1997 00:00
55 lines
2900 bytes
In article <34754268.6E4699A5@netscape.com>,
Jamie Zawinski  <jwz@netscape.com> wrote:
>Conrad Sabatier wrote:
>> 
>> I've noticed recently in certain binaries groups that some people are
>> suddenly using a MIME encoding type of "x-uuencode" instead of the
>> standard "x-uue" that trn looks for. 
>
>THE STANDARD??
>
>1: uuencode is not by any stretch of the imagination a standard.
>2: uuencode is not even all that *interoperable*, let alone standard.

Excuse me?  Before MIME caught on in many newsreaders, uuencoding *was*
the standard.  It's only relatively recently that Base64 has come into
widespread use.

As for interoperability, any newsreader that can't handle uuencoding is
hardly a newsreader, IMHO.

>3: no token starting with x- is, by definition, standard.
>4: the only standard non-identity content-transfer-encodings are 
>   base64 and quoted-printable.
>5: RFC 2045 section 6.3: 
>   Unlike media types and subtypes, the creation of new Content-
>   Transfer-Encoding values is STRONGLY discouraged.

If enough people out there are using it, then it is a *de facto*
standard.  I couldn't care less what the official docs say.

The fact is, certain news software is now incorporating uuencoding into
its MIME handling.  If you want, you can yap about standards 'til you're
blue in the face, while your newsreader chokes on an easily handled
encoding type.

Myself, I'd just as soon insert a two-line patch to enable my
newsreader to deal with it.  Call me a wild and crazy guy.
 
>I'm all for interoperability, but your bile is misdirected. 
>uuencode is a blight which must be stamped out.  People who
>are generating it should stop.  The time has come.

Bile?  What bile?  I offered a solution for trn users who may encounter
this stuff.  For this, you want to start a religious war.  Sheesh.

I suppose the irony of someone from Netscape preaching about standards
completely escapes you.  <snort>
-- 
Conrad Sabatier                  |  FreeBSD -- UNIX for your PC
                                 |  Why settle for less than the best?
http://www.neosoft.com/~conrads  |  http://www.freebsd.org


Re: Trn -- patch to handle new (brain-damaged) x-uuencode encoding type
#37320
Author: Jason
Date: Thu, 27 Nov 1997 00:00
14 lines
1140 bytes
Conrad Sabatier <conrads@neosoft.com> wrote:

> Excuse me?  Before MIME caught on in many newsreaders, uuencoding *was*
> the standard.  It's only relatively recently that Base64 has come into
> widespread use.

I think you'll find one of the reasons Base64 was proposed in the first
place was the proliferation of non-compatible uuencodings scattered
about.

Jason.

Re: Trn -- patch to handle new (brain-damaged) x-uuencode encoding type
#37323
Author: Dave Holland
Date: Fri, 28 Nov 1997 00:00
29 lines
1819 bytes
Conrad Sabatier <conrads@neosoft.com> wrote:
>Jamie Zawinski  <jwz@netscape.com> wrote:
>>1: uuencode is not by any stretch of the imagination a standard.
>>2: uuencode is not even all that *interoperable*, let alone standard.
>Excuse me?  Before MIME caught on in many newsreaders, uuencoding *was*
>the standard.  It's only relatively recently that Base64 has come into
>widespread use.

Note, "older" doesn't mean "more standard". There is no "standard"
version of uuencoding. There are at least two different versions. And
uuencoding is more easily broken by mail gateways than base64.

>As for interoperability, any newsreader that can't handle uuencoding is
>hardly a newsreader, IMHO.

Newsreaders handle news, uudecoders decode uuencoded material. Next?

>  I couldn't care less what the official docs say.

I suspect this is your problem :-)

Dave
-- 
Dave Holland   -=-   Hexagen Technology Ltd.   -=-   Cambridge, UK
System/Network/DB Admin       -=-       dave.holland@hexagen.co.uk
     "With sufficient thrust, pigs fly just fine." -- RFC1925

Re: Trn -- patch to handle new (brain-damaged) x-uuencode encoding type
#37330
Author: Conrad Sabatier
Date: Fri, 28 Nov 1997 00:00
50 lines
2702 bytes
In article <4hB*Zd7hn@news.chiark.greenend.org.uk>,
Dave Holland  <dave.holland@hexagen.co.uk> wrote:
>Conrad Sabatier <conrads@neosoft.com> wrote:
>>Jamie Zawinski  <jwz@netscape.com> wrote:
>>>1: uuencode is not by any stretch of the imagination a standard.
>>>2: uuencode is not even all that *interoperable*, let alone standard.
>>Excuse me?  Before MIME caught on in many newsreaders, uuencoding *was*
>>the standard.  It's only relatively recently that Base64 has come into
>>widespread use.
>
>Note, "older" doesn't mean "more standard".

I didn't mean to imply that it did.

>There is no "standard"
>version of uuencoding. There are at least two different versions. And
>uuencoding is more easily broken by mail gateways than base64.

Fine.  But that's not the point.  The point is, people are using it still,
so your newsreader should be able to handle it.

>>As for interoperability, any newsreader that can't handle uuencoding is
>>hardly a newsreader, IMHO.
>
>Newsreaders handle news, uudecoders decode uuencoded material. Next?

Browse any binaries group and you'll find people still using (both MIME
and non-MIME) uuencoding.  Shouldn't a newsreader be capable of dealing
with this?

>>  I couldn't care less what the official docs say.
>
>I suspect this is your problem :-)

Taken out of context.  Hey, I didn't come up with the idea of using
uuencoding in MIME.  I just suggested a way to deal with it.

Let's drop it, eh?  Those of you who prefer to have your newsreader spit
out an error message instead of gracefully accommodating something this
simple, knock yourselves out.

I myself prefer functionality to elitist brokenness.
-- 
Conrad Sabatier                  |  FreeBSD -- UNIX for your PC
                                 |  Why settle for less than the best?
http://www.neosoft.com/~conrads  |  http://www.freebsd.org


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