Article View: news.software.readers
Article #21784Re: What's this 'Mozilla' trash anyway?
From: Tim Pierce
Date: Fri, 17 May 1996 00:00
Date: Fri, 17 May 1996 00:00
122 lines
6473 bytes
6473 bytes
In article <319BD7A7.52BF@netscape.com>,
Jamie Zawinski <jwz@netscape.com> wrote:
>Tim Pierce wrote:
>
>> Jwz works pretty hard on news, but he's just drawing the wrong
>> conclusions here. I have never in six years on Usenet seen a
>> situation where it was either necessary or appropriate to format a
>> post with columns extending beyond 80 columns, tables or no.
>
>The common case where this comes up is when the the quoting of followups
>gets deep. Suppose someone makes a post with lines wrapping at 79
>columns. Then someone else replies, and prepends "> " to each line.
>Now the lines are 81 columns wide.
You're right that this loses, too, but I think that the issue of
quoting long lines is different from the issue of authoring new
long lines. It *should* be possible for the editing window to
incorporate long lines from an existing document while still
forcing or encouraging users to wrap new lines that they enter.
If `antiquated Unix crap' (to borrow a phrase from Mac and PC
weenies) like Emacs and vi can handle this, it just must be
possible for the new and sophisticated technology to do it, too.
Right?
If not, then I really have to question the wisdom of sticking with
the platform-specific editor in Navigator. If the editing widget
is not powerful enough to support something as simple and
important as this, then it's just not suitable for the application
to Usenet. (And after hearing about Atlas's size, I can't take
memory footprint objections seriously.)
>Refilling would be a sensible thing to do, but that's a very hard
>problem to solve without user interaction (there are various pieces of
>code that attempt to do it, but it's *hard*.)
Yeah, it is. I've written some to do this in a rudimentary way.
It defines a `paragraph' as any contiguous group of text lines
which share a common quoting prefix (defined as a particular
subset of punctuation characters), and breaks an article up into
paragraphs which are then reformatted individually to a particular
number of lines. It's really ugly code and I haven't tried to
apply it to real-world situations, since I'm sure it would fail
miserably and don't have the time now to really fix those
problems.
In fact, it's not possible to do deterministically, and there are
always going to be cases where it doesn't work. For example, this
text contains a `>' at the beginning of a text line:
} |]%> There do not exist any x, y or z
} |]%> such that x^n + y^n = z^n for values of n
} |]%> > 2.
It's not practical for a newsreader to try to distinguish that
situation from this one:
} |]%> In a previous article, Walter Mitty <wm@meta.widget.org> said:
} |]%> > Arf! Arf! Avast, me hearties!
In one situation the `>' is a text character and must be
preserved. In the other it should be considered part of the
quoting prefix. If it were safe to assume more things about the
format of an article -- for example, that the quoting character
was always `>' (with optional whitespace), or that an attribution
line in a reliable format could be found, or almost anything more
than what we've got now, it would be a lot easier. But that's not
the case, and we have to thank only ourselves for lack of
foresight.
Another thing that might work is to assume that any paragraph
(chunk of quoted material) has to include at least two lines with
the same quoting prefix. While single lines of quoted material
often exist, examples like these demonstrate that they can't
reliably be distinguished from user text. Perhaps it would
suffice to say that if a single-line paragraph is preceded by a
blank line, it can be considered a paragraph.
These are issues I haven't explored personally, in part because
I'm not getting paid to write news software.
>> There's simply no reason to allow the user to drag a window beyond
>> 79 columns.
>
>Perhaps. I think the right solution to this problem is a more
>sophisticated editor, where the window can be as wide as you like and
>auto-wrapping still occurs at a sensibly small column.
More sophisticated editors are definitely the key to a lot of this
technology. Hell, GUI environments like those in Macs and PCs
could blow all hell out of the old Unix model of
quote-everything-and-cut-out-what-you-don't-want, if only they
tried. Nobody's trying.
>> I also find the portents about posting text/html or
>> text/enriched to Usenet pretty galling. Sorry, but this is a
>> big-time lose.
>
>Obviously one should speak the common-denominator language in public,
>but there's no reason not to use something better than flat ASCII on
>private newsgroups. Or in email (remember that Netscape News and
>Netscape Mail are very much the same program.)
Yeah, but they're not the same program as Pine, or Elm, or Eudora
or mailx. Can I forward you all of the text/html mail I get for
decoding?
Private newsgroups can do whatever they like with text formats,
right down to grinding 'em up and stuffing them into sausage
casings. But as with other issues here, the software doesn't have
a good way of distinguishing between which newsgroups are private
and which ones are public, so it can't tell whether you're trying
to post text/sgml to rec.bunnies. Bad, bad, bad, bad news.
--
By sending unsolicited commercially-oriented e-mail to this address, the
sender agrees to pay a $100 flat fee to the recipient for proofreading
services.
Technical Details
Message-ID:
<DrK7qu.E64@midway.uchicago.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.infosystems.www.browsers.misc.mbox.zip!not-for-mailReferences:
<4l2qa1$ngg@sparky.navsea.navy.mil> <slrn4ofl4r.raf.davis@wiwaxia.mit.edu> <318923FF.5656@netscape.com> <319BD7A7.52BF@netscape.com>Show Full Headers
Complete Article Headers
Message-ID: <DrK7qu.E64@midway.uchicago.edu> Subject: Re: What's this 'Mozilla' trash anyway? Date: Fri, 17 May 1996 00:00:00 +0000 From: Tim Pierce <twpierce@midway.uchicago.edu> References: <4l2qa1$ngg@sparky.navsea.navy.mil> <slrn4ofl4r.raf.davis@wiwaxia.mit.edu> <318923FF.5656@netscape.com> <319BD7A7.52BF@netscape.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.infosystems.www.browsers.misc.mbox.zip!not-for-mail X-Deja-AN: 155444830 Sender: news@midway.uchicago.edu (News Administrator) X-nntp-posting-host: bio-5.bsd.uchicago.edu X-web: Mosaic, minus neat concept Organization: Direct Frontal Assaults on Bob Dornan Newsgroups: comp.infosystems.www.browsers.misc,news.software.readers Originator: twpierce@mail.bsd.uchicago.edu (Tim Pierce)