Article View: news.software.readers
Article #23293Re: QP or not QP
From: Greg Berigan
Date: Sat, 22 Jun 1996 00:00
Date: Sat, 22 Jun 1996 00:00
192 lines
9246 bytes
9246 bytes
leitner@xorn.prz.tu-berlin.de (Felix von Leitner) wrote:
>Greg Berigan <gberigan@cse.unl.edu> wrote:
>>> Why should I? I like QP mainly because it is simple and well defined.
>>> And it is the standard. And it tries to minimize the traffic (which
>>> your solution did not).
>> Mine did not try, or did not minimize?
> Both. You solution did not minimize the traffic and it did not even try to.
A minimal solution is not always the best solution. Mine minimizes
ancillary damage from encoding the QP introducer "=" as "=3D" wherever
it appears outside the other QP characters.
This in itself could become a problem when responding to a QP-encoded
message. A message could become doubly encoded, making every instance
of "=3D" become "=3D3D".
>> (4) is flawed in that it only _tries_ to minimize the traffic.
> And it actually does it. And it does it better than other solutions
> that were proposed.
Not when it requires encoding 7-bit characters to let it encode 8-bit
characters. If QP had a terminating character as well as an introducing
character, even as "=98;", you can avoid affecting other characters.
The frequency of the string "=XX;" where "X" is a capital hexidecimal
digit is much more rare
Ah, there is a way to encode 8 bits to 7 bits using only 2 characters
with an introducer: Use =C where C is the 7-bit truncated version of
the 8-bit character. Then, addding a terminator will make it just as
small as QP is now and only requiring full QP hex encoding for
characters 128-159 and 255. Since there is a terminator, there's no
ambiguity between "=C;" and "=XX;". An empty introducer-terminator pair
("=;") would be interpreted as a high-bitted ";" character.
All that remains is to take care or the relatively rare occurances of
"=C;" or "=XX;" that are not QP+ sequences. The easiest way that
affects no third parties is to ban the use of QP+ in any message that
has those sequences. The only reasonable instances of them that I can
think of is somewhere in a uuencoded message. Drawback: you can't give
8-bit descriptions of a uuencoded post. Solution: MIME multipart
messages and use QP+ only in the 8-bit portion of the multipart message.
I think the above is a better solution. Better than "perfection" if you
will (your definition).
> Would you *pretty please with sugar on top* stop proposing as solution
> that we change the news servers? If you can change the news servers,
> then it is a good thing, but the whole *point* of QP is that this is not
> always possible.
>
> Nobody has a problem with you spending your time bothering news admins.
> But for the time being I will be happy with QP.
:
> OK, no problem. You tell me something you think is perfect and then go
> ahead and prove it.
You know what I think is the perfect solution, and you'll only complain
when I say it again.
Anyway, it is enough that I can prove yours is not perfect. I don't
need to give a counter example to do that. If perfection isn't
provable, it is disprovable.
> 1a. flawlessness. I see no flaws with QP.
It forces encoding of a common 7-bit character. That's a flaw. If it
is flawed, it cannot be perfect.
> The prerequisite in QP is that you can modify your client but you can't
> modify your server. And QP is not enforced. Once we all get 8-bit
> clean lines, nobody will have to use QP anymore.
Excuse me, but what will need to happen for everyone to have 8-bit clean
lines? It would require fixing the servers. Why not do that in the
first place?
> My statement didn't say they were the only reasons, so it implied there
> were others.
I'm not going to read between your bits to find something you didn't
say.
> Always editing the Path is of course much less work than just getting QP
> aware software installed and never bother again. Yeah, right.
Only those who want to avoid those servers need to use software that
allows editing of the Path header (possibly automatically). QP requires
everyone to support it to be able to do things as simple as uudecode
messages.
This is a change from everyone making changes to their software to just
the few who need the functionality for their own messages.
> You mean you encoded a file with uucode and then encoded the thing again
> with QP?
No, someone else encoded a file with uucode and their QP-aware software
QP-encoded it again. I got a file that required me to QP-decode it
first.
> If your software did this for you, then uucode created output
> that needed to be encoded so it survived all news servers.
Their software thought it was necessary since uucode uses "=" in its
encoding, or that the user followed signature standards by using a line
containing "-- " and the trailing space had to be encoded to preserve it
on whitespace-stripping links (illegal under RFCs -- message bodies are
to be considered inviolable in transit) or they just have to use an
8-bit character, even just one, in their signatures.
None of these reasons for encoding the uuencoded post are due to
problems with uuencoded messages being transmitted over news links
safely, but the encoding was done anyway.
> [he really replied with an algorithm of changing Path headers
> iteratively and getting the postings mailed back, 30 lines I don't want
> to quote here]
>
> This will take me ages.
It is automatable. Have an agreed-to test message and have the code
watch for it on each end and to do automatic comparisons. It can cull
the Path: headers itself, create new messages, etc. Even the situation
where a 7-bit link is found can be handled automatically, but I'd expect
you'd want to handle those manually.
>>> The problem is that you can't be sure to fix the bucket.
>> But if you fix the leaks as you find them, the only person you
>> inconvenience is yourself, not all the people you're soaking along the
>> way.
> I'm not inconveniencing anyone with QP.
You are inconveniencing me by making me go through an extra step to
decode uuencoded messages. Use a second character as a terminator and
that inconvenience dwindles to practically nothing.
> BTW: How many news readers can *not* un-qp a posting?
I only use tin, and it does not. Since QP is relatively new, I'm sure
there are a lot more, especially out on the leaf nodes and leaf
networks.
>>> What a wonderful solution. You write an RFC and contribute free code
>>> and we may think about using it. Until then, I'll stick with QP.
>> The RFCs defining HTML elements are already out there.
> So you say "ü" or "ü" is better than "=FC"?
If you use ü even if my software doesn't decode it, I get an idea
of what it represents. There's no guarantee that FC is a umlated u on
my screen. It could be a graphic character or a symbol of some kind.
> Both take up more
> space. OK, they don't need to escape ='s. How many ='s do you post?
A lot of them when I post a uuencoded message. I'm sure you're not
going to argue that = is a character that doesn't pass through news
without modification as the fact that it does pass through is the lynch
pin for your encoding method.
> I post much more umlauts and �'s than ='s.
You post rectangular block characters more often than equals signs?
See, even if you transmit a real 8-bit character, I still don't have any
idea of what you're saying.
> slrn already has both of these. And, you get QP decoding ;)
I can get tin complied without it interrogating me about where
everything is on my system. Tin needs very little tweaking. It does
what I want and does what I need. I don't need to be able to read 8-bit
text, but I do need to be able to uudecode messages. The use by others
of QP is causing me problems. Your solution may solve your problem but
it creates a problem for others. Just because it is _a_ solution
doesn't mean it is the _best_ solution.
--
_-<#)-=# http://cse.unl.edu/~gberigan/usenet/
___/___
_-~_--<###) "I AM NOT A MACHINE!
<~c>' __--< I AM AN ANIMAL!"
\_--=____#) -- The Unplugged Man
Technical Details
Message-ID:
<4qhlj4$5us@crcnis3.unl.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn4ot2oe.r0r.jbn@mystery-train.cu-online.com> <4pfjvr$gdv@epimetheus.algonet.se> <4pij7v$ca9@crcnis3.unl.edu> <slrn4rrqgj.77.leitner@xorn.prz.tu-berlin.de> <4pl7kc$e95@crcnis3.unl.edu> <slrn4s0bc4.1qi.leitner@xorn.prz.tu-berlin.de> <4psdnk$je5@crcnis3.unl.edu> <slrn4s6v9h.2n2.leitner@xorn.prz.tu-berlin.de> <4q6ioj$qlq@crcnis3.unl.edu> <slrn4secnk.am.leitner@xorn.prz.tu-berlin.de> <4q818n$s1d@crcnis3.unl.edu> <slrn4sk3rv.hh.leitner@xorn.prz.tu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <4qhlj4$5us@crcnis3.unl.edu> Subject: Re: QP or not QP Date: Sat, 22 Jun 1996 00:00:00 +0000 From: gberigan@cse.unl.edu (Greg Berigan) References: <slrn4ot2oe.r0r.jbn@mystery-train.cu-online.com> <4pfjvr$gdv@epimetheus.algonet.se> <4pij7v$ca9@crcnis3.unl.edu> <slrn4rrqgj.77.leitner@xorn.prz.tu-berlin.de> <4pl7kc$e95@crcnis3.unl.edu> <slrn4s0bc4.1qi.leitner@xorn.prz.tu-berlin.de> <4psdnk$je5@crcnis3.unl.edu> <slrn4s6v9h.2n2.leitner@xorn.prz.tu-berlin.de> <4q6ioj$qlq@crcnis3.unl.edu> <slrn4secnk.am.leitner@xorn.prz.tu-berlin.de> <4q818n$s1d@crcnis3.unl.edu> <slrn4sk3rv.hh.leitner@xorn.prz.tu-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 161602413 Content-type: text/plain; charset=US-ASCII Organization: Dept of CS&E -- University of Nebraska-Lincoln Mime-version: 1.0 Newsgroups: news.software.readers