Thread View: news.software.readers
49 messages
49 total messages
Started by Frank Slootweg
Mon, 03 Apr 2000 00:00
tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Mon, 03 Apr 2000 00:00
Date: Mon, 03 Apr 2000 00:00
22 lines
1489 bytes
1489 bytes
Disclaimer: With the "I'll make my lines as long as I damn well please!"
war going on, it is probably somewhat 'dangerous' to post on
this subject, but here it goes anyway.
There are some people who can not be educated to keep their
line-length (well) below 80 characters per line. Often these people can
be safely ignored, but some of these people *do* have things to
contribute. I want to be able to discuss with these people and still be
a good netizen and not make life to diffucult for myself.
So I want to keep my quoted text at maximum 74 characters per line,
even if the original text, both quoted and unquoted, is longer.
I looked in the tin manual 'page' but found nothing (revelant) on
"wrap" and "fold".
Is this possible in tin? Note: I run tin on UNIX (HP-UX), so I can
also use standard UNIX tools if needed.
Thanks for any and all responses.
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Mon, 03 Apr 2000 00:00
Date: Mon, 03 Apr 2000 00:00
82 lines
5103 bytes
5103 bytes
<greg@apple2.com> wrote: > planb@newsreaders.com (J. B. Moreno) wrote: > > > the wrapping library I wrote (available from the GNKSA tools page) > > has a function which might be suitable, pass it the body of the > > message and it will quote and wrap individual lines (i.e. it doesn't > > do a paragraph fill, but that's a more dangerous action to do > > automatically) > > Isn't that one of the problems **p points to in his complaint about line > lengths? Without a paragraph fill (if I'm understanding the term right) > the solution can be worse than the problem. > > This rewrapping really should not be performed unless 79/80 columns is > exceeded. If the GNKSA says lines, including quoted lines at their > quoted length, must not exceed 72 columns, I'd say the GNKSA has > overstepped its bounds I'd agree with you if it did, since it doesn't the point is moot (it doesn't even say that unquoted lines should not exceed 72). What the GNKSA does say "SHOULD" be available is a command that will do rewrapping with paragraph filling. And the library I wrote has a function that does that, but that wasn't what I was referring to above: the function I was referring to leaves the line alone unless it exceeds 80 (of course this could be changed) chars, and then rewraps THAT line to 2 or more lines that don't exceed 72. It doesn't ever "join" lines (paragraph fill), it only splits long ones (keeping the quote prefix of course). Epp's complaint wasn't specifically about long/short quoting but about loosing the quote prefix, which is ridiculous, since that only happens when the programmer hasn't given the situation proper consideration. I think the wrapping w/paragraph filling function I wrote is (I hope) handy and easy to use, but not difficult to write -- on the Mac it has been written entirely separately by at least 8 different people (ZMail, MacSOUP, YA, Mulberry, MailSmith, Outlook Express, Hogwasher and MT [listed in order that I *BELIEVE* the programs added it, and this skips a beta version of InterNews which used my code to do so, and of course it's entirely possible there are other programs that do so of which I unaware]). Under unix it's in Emacs, jed, vim and other editors, and of course there is the par utility which does this and a lot more. On the RISC OS, it is in Zap and I believe StrongED. Again, it's not hard. So what is necessary isn't some top notch programmer slaving away at it for months or years, but rather the simple realization: quoted text gets long and needs to be wrapped. This leads to two possible solutions -- wrapping individual lines without paragraph filling, and wrapping whole paragraphs WITH paragraph filling (both of course keeping the existing quote prefix). The first is suitable for automatic use, but for best results (as you indicate above) shouldn't be done unless the line length exceeds some maximum that is larger than what is used for unquoted text. The second is better suited to working as a command (because of prior bad quoting and because sometimes contiguous lines are not part of a "paragraph" even though they are at the same quote depth). To keep things clear and in order to let people get a better idea of the problem/solution the library I wrote has functions for doing either solution. All of this is without considering the new format=flowed standard, which solves the problem of separating paragraphs and allows wrapping with paragraph filling to happen automatically without any danger of screwing it up. Format=flowed is the ideal solution, but it's not yet been widely adopted -- which is OK, it works well with programs that don't use it. Well, that's a rather long way of saying that neither the GNKSA nor I screwed this up. Wrapping is only difficult for two reasons -- bad wrapping by programs that have been thoughtless, and non-standard quote prefixes. Otherwise it's a breeze, and the new format=flowed standard will make it even easier in the future (which the crEep ignores). -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Mon, 03 Apr 2000 00:00
Date: Mon, 03 Apr 2000 00:00
38 lines
2791 bytes
2791 bytes
In article <8ca351$nve$1@news.neth.hp.com>,
Frank Slootweg <franks@neth.hp.com> wrote:
> There are some people who can not be educated to keep their
> line-length (well) below 80 characters per line. Often these people can
> be safely ignored, but some of these people *do* have things to
> contribute. I want to be able to discuss with these people and still be
> a good netizen and not make life to diffucult for myself.
>
> So I want to keep my quoted text at maximum 74 characters per line,
> even if the original text, both quoted and unquoted, is longer.
Unfortunately in practice this is problematic as some people insist on
using non-standard quoting and the difficulty of consistently
recognizing the ends of paragraphs. (Even the indenting of the first
line of a paragraph trips up some newsreaders that attempt this.) For
the majority of messages, to do this requires the supposition of lots of
information that just is not present in the message.
The reason why there is an 8 character margin on the right side of
messages is to reserve space for quoting the text. 72 columns (a margin
of 8) was chosen because it would at least reserve sufficent space if a
tab was used as the quote character (which typically consumed 8
characters worth of space).
Quoted text should not be rewrapped unless, as quoted, it will exceed 80
columns, and if performed in any case should allow the user to clean up
the results.
For tin, this is an issue for the external editor you use with it.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Mon, 03 Apr 2000 00:00
Date: Mon, 03 Apr 2000 00:00
37 lines
2533 bytes
2533 bytes
Frank Slootweg <franks@neth.hp.com> wrote: > Disclaimer: With the "I'll make my lines as long as I damn well please!" > war going on, it is probably somewhat 'dangerous' to post on > this subject, but here it goes anyway. > > There are some people who can not be educated to keep their > line-length (well) below 80 characters per line. Often these people can > be safely ignored, but some of these people *do* have things to > contribute. I want to be able to discuss with these people and still be > a good netizen and not make life to diffucult for myself. > > So I want to keep my quoted text at maximum 74 characters per line, > even if the original text, both quoted and unquoted, is longer. > > I looked in the tin manual 'page' but found nothing (revelant) on > "wrap" and "fold". > > Is this possible in tin? Note: I run tin on UNIX (HP-UX), so I can > also use standard UNIX tools if needed. I don't think it's possible within tin, but your editor should have a reformatting command (most unix editors do) and if it doesn't you could first pipe it through par or some other utility. If neither of these solutions suit your taste, and you're willing to do a bit of modification to the program itself -- the wrapping library I wrote (available from the GNKSA tools page) has a function which might be suitable, pass it the body of the message and it will quote and wrap individual lines (i.e. it doesn't do a paragraph fill, but that's a more dangerous action to do automatically), which could then be passed along to the editor. -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Mon, 03 Apr 2000 00:00
Date: Mon, 03 Apr 2000 00:00
31 lines
2461 bytes
2461 bytes
In article <1e8ih9m.1jz6dbk1odxyajN%planb@newsreaders.com>,
planb@newsreaders.com (J. B. Moreno) wrote:
> the wrapping library I wrote (available from the GNKSA tools page)
> has a function which might be suitable, pass it the body of the
> message and it will quote and wrap individual lines (i.e. it doesn't
> do a paragraph fill, but that's a more dangerous action to do
> automatically)
Isn't that one of the problems **p points to in his complaint about line
lengths? Without a paragraph fill (if I'm understanding the term right)
the solution can be worse than the problem.
This rewrapping really should not be performed unless 79/80 columns is
exceeded. If the GNKSA says lines, including quoted lines at their
quoted length, must not exceed 72 columns, I'd say the GNKSA has
overstepped its bounds and is encouraging newsreaders to implement a
solution that has as its result a problem worse than the one it intends
to solve.
72 columns easily allows quoting 7 levels deep without passing the 80
mark. We don't need to rewrap quoted text in every article just to
allow that quoted text to be quoted even deeper.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: Heikki Kantola
Date: Mon, 03 Apr 2000 00:00
Date: Mon, 03 Apr 2000 00:00
23 lines
1859 bytes
1859 bytes
Frank Slootweg <franks@neth.hp.com> informed news.software.readers with the following: > So I want to keep my quoted text at maximum 74 characters per line, >even if the original text, both quoted and unquoted, is longer. > > I looked in the tin manual 'page' but found nothing (revelant) on >"wrap" and "fold". > > Is this possible in tin? Note: I run tin on UNIX (HP-UX), so I can >also use standard UNIX tools if needed. I don't think it's possible within Tin itself, but it's fairly simple thing to do with advanced editors (Emacs, Jed, vim?) or some Perl or AWK script executed before the real editor. At least Jed's mail_mode already has function to reformat quoted text. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
32 lines
2041 bytes
2041 bytes
Sven Gottwald <svengo@gmx.net> wrote: > * Quoting Frank Slootweg <franks@neth.hp.com>: >> So I want to keep my quoted text at maximum 74 characters per line, >> even if the original text, both quoted and unquoted, is longer. > > vim[1] can do this. > >> I looked in the tin manual 'page' but found nothing (revelant) on >> "wrap" and "fold". > > tin is a news reader not an editor. > > [1] http://www.vim.org I realize the functions of tin and the editor (vi(1) in my case), but the problem is that *tin* quotes the old text when I do a f(ollowup) and *then* presents it to the editor, i.e. the 'harm' is already done when the editor is invoked. I could of course undo the quoting with an editor command, or not quote it in the first place (but that would be a pain for all normal (i.e. original line is not too long) responses), and then reformat/ rewrap it with the editor or some external utility. But I was hoping that tin would have some feature for that, after all this quoting/ line-length stuff *is* a Usenet issue which has little to do with the editor. What I basically need is some 'fix_broken_posting' command which takes a 'broken' (lines too long) posting from tin or the editor and then gives it (back) to the editor. I that really asking so/too much? If I get no other pointers, I will (have to) have a look at vim(1).
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
93 lines
5605 bytes
5605 bytes
In article <1e8iqso.m1gqf3137memeN%planb@newsreaders.com>,
planb@newsreaders.com (J. B. Moreno) wrote:
><greg@apple2.com> wrote:
>> This rewrapping really should not be performed unless 79/80 columns
>> is exceeded. If the GNKSA says lines, including quoted lines at
>> their quoted length, must not exceed 72 columns, I'd say the GNKSA
>> has overstepped its bounds
> I'd agree with you if it did, since it doesn't the point is moot (it
> doesn't even say that unquoted lines should not exceed 72).
Hmm, you're right. I was going by a third party's interpretation. (I
see it also mentions the metric 75 which, to avoid confusion, I think
should be changed to 72.)
> What the GNKSA does say "SHOULD" be available is a command that will do
> rewrapping with paragraph filling.
There may be a problem having some shoulds in the GNKSA when newsreader
authors try to implement them all, particularly when taking a should as
a must makes things just as bad or worse.
> And the library I wrote has a function that does that, but that wasn't
> what I was referring to above: the function I was referring to leaves
> the line alone unless it exceeds 80 (of course this could be changed)
> chars, and then rewraps THAT line to 2 or more lines that don't exceed
> 72. It doesn't ever "join" lines (paragraph fill), it only splits long
> ones (keeping the quote prefix of course).
I think part of the confusion was due to MT-NewsWatcher's implementation
of this which wraps quotes without fill at 72/73/74. (The
misinterpretation may have been by that newsreader's author.) Some
users have tried selecting all text and rewrapping the whole message,
but this is shown to damage the attributions. (It's implementation of
filling also stumbles when paragraphs are indented, and for some reason
tabs come out as half spaces on my installation and I don't know why
they apparently aren't for others.)
> Again, it's not hard. So what is necessary isn't some top notch
> programmer slaving away at it for months or years, but rather the simple
> realization: quoted text gets long and needs to be wrapped.
To me, wrapping without fill is worse than not wrapping at all.
> wrapping whole paragraphs WITH paragraph filling [...] is better
> suited to working as a command (because of prior bad quoting and
> because sometimes contiguous lines are not part of a "paragraph" even
> though they are at the same quote depth).
True, it isn't just bad quoting but also bad writing. I see many people
who neither indent paragraphs nor doublespace between them. (And some
who apparently don't even know what a paragraph is.) Some who even
adopt a bizarre style tantamount to sentence diagramming which they
think will aid others' comprehension (rthling) when it only gets in the
way (and is more like talking down to people).
> To keep things clear and in order to let people get a better idea of the
> problem/solution the library I wrote has functions for doing either
> solution.
I certainly did not intend to criticise your library, and I apologize if
there was such a misunderstanding. I was proceeding from a false
premise of one person's interpretation the GNKSA (and I am still not
certain by whom).
> All of this is without considering the new format=flowed standard, which
> solves the problem of separating paragraphs and allows wrapping with
> paragraph filling to happen automatically without any danger of screwing
> it up. Format=flowed is the ideal solution, but it's not yet been
> widely adopted -- which is OK, it works well with programs that don't
> use it.
Perhaps the GNKSA should address format=flowed, at least as a SHOULD, to
encourage more implementations to support it. Apart from Eudora's
implementation of using solid cite bars rather than '>_'-quoting, I like
it.
> Well, that's a rather long way of saying that neither the GNKSA nor I
> screwed this up. Wrapping is only difficult for two reasons -- bad
> wrapping by programs that have been thoughtless, and non-standard quote
> prefixes.
Three reasons. Bad writing style on the part of posters is also a
factor.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Wrapping quoted text (was: tin: Wrap (un)quoted text before quoting?)
Author: J. B. Moreno
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
158 lines
8503 bytes
8503 bytes
<greg@apple2.com> wrote:
> planb@newsreaders.com (J. B. Moreno) wrote:
> ><greg@apple2.com> wrote:
>
> >> This rewrapping really should not be performed unless 79/80 columns
> >> is exceeded. If the GNKSA says lines, including quoted lines at
> >> their quoted length, must not exceed 72 columns, I'd say the GNKSA
> >> has overstepped its bounds
>
> > I'd agree with you if it did, since it doesn't the point is moot (it
> > doesn't even say that unquoted lines should not exceed 72).
>
> Hmm, you're right. I was going by a third party's interpretation. (I
> see it also mentions the metric 75 which, to avoid confusion, I think
> should be changed to 72.)
That's a stylish issue -- 75 is used because 300 is used as an example
of a long line, using 72 and 288 just doesn't have the same ring to it.
> > What the GNKSA does say "SHOULD" be available is a command that will do
> > rewrapping with paragraph filling.
>
> There may be a problem having some shoulds in the GNKSA when newsreader
> authors try to implement them all, particularly when taking a should as
> a must makes things just as bad or worse.
I don't see that have a command for rewrapping a user selection makes
things worse. Certainly not on balance.
> > [...] It doesn't ever "join" lines (paragraph fill), it only splits
> > long ones (keeping the quote prefix of course).
>
> I think part of the confusion was due to MT-NewsWatcher's implementation
> of this which wraps quotes without fill at 72/73/74. (The
> misinterpretation may have been by that newsreader's author.)
That's possible -- looking over my conversations with him on it, I
didn't go into a lot of details (in fact I apparently didn't say a few
things I had thought I did, such as not wrapping quoted text in the
display, but he got that anyway) on wrapping, I guess I'd assumed he'd
gotten it right because previous versions of NW didn't wrap quoted text
until it exceeded 80, and what needed to be done was simply to do that
wrapping "upfront" and to keep the quote prefix when it did.
> Some users have tried selecting all text and rewrapping the whole
> message, but this is shown to damage the attributions.
Yes, and has other potential problems (mainly wrapping lines that are
simply contiguous and not part of the same paragraph. Hmn, perhaps I
should have put it differently, since that's part of the attribution
problem).
> (It's implementation of filling also stumbles when paragraphs are
> indented, and for some reason tabs come out as half spaces on my
> installation and I don't know why they apparently aren't for others.)
Well, my code is rather basic -- it too would have some problems with
indented paragraphs (indented with spaces at least), and tabs are
treated the same as any other character.
> > Again, it's not hard. So what is necessary isn't some top notch
> > programmer slaving away at it for months or years, but rather the
> > simple realization: quoted text gets long and needs to be wrapped.
>
> To me, wrapping without fill is worse than not wrapping at all.
IF that was the end of the matter I might agree with you -- but that
isn't the end. You either have to wrap individual lines (i.e. without
filling) or you have to warn/refuse to post because of long quoted
lines. Otherwise other newsreaders WILL screw it up, and not just OE
either.
Preventing the extreme damage that thoughtless programs do, is worth the
occasional "short, but properly quoted" line. Particularly if all of
the newsreaders have a command to flow a selected paragraph.
> > wrapping whole paragraphs WITH paragraph filling [...] is better
> > suited to working as a command (because of prior bad quoting and
> > because sometimes contiguous lines are not part of a "paragraph"
> > even though they are at the same quote depth).
>
> True, it isn't just bad quoting but also bad writing. I see many people
> who neither indent paragraphs nor doublespace between them. (And some
> who apparently don't even know what a paragraph is.) Some who even
> adopt a bizarre style tantamount to sentence diagramming which they
> think will aid others' comprehension (rthling) when it only gets in the
> way (and is more like talking down to people).
There's only so much that can be done for bad writing until f=f is
adopted.
> > To keep things clear and in order to let people get a better idea of the
> > problem/solution the library I wrote has functions for doing either
> > solution.
>
> I certainly did not intend to criticise your library, and I apologize if
> there was such a misunderstanding. I was proceeding from a false
> premise of one person's interpretation the GNKSA (and I am still not
> certain by whom).
Understood. BTW, I guess I ought to make it clear (for those that come
in late) how my library and the GNKSA are connected (I don't want
someone thinking that it's the tail wagging the dog): the library is
supposed to be a "starter" on GNKSA 14d .
Something I contributed in the hopes that those that have decided to add
it can use to add a quick and simple version of it, or as an example of
how it could be done for someone that wants to do something a bit more
complex. It is NOT a code level description of what a program is
"supposed" to do.
> > All of this is without considering the new format=flowed standard, which
> > solves the problem of separating paragraphs and allows wrapping with
> > paragraph filling to happen automatically without any danger of screwing
> > it up. Format=flowed is the ideal solution, but it's not yet been
> > widely adopted -- which is OK, it works well with programs that don't
> > use it.
>
> Perhaps the GNKSA should address format=flowed, at least as a SHOULD, to
> encourage more implementations to support it. Apart from Eudora's
> implementation of using solid cite bars rather than '>_'-quoting, I like
> it.
I agree with you about Eudora -- as for the GNKSA and f=f, perhaps so.
As I read it there are basically 4 rules:
1) Lines beginning with a space have the space removed
2) Quoting is done using ">"
3) A paragraph is one or more contiguous lines at the same quote
depth where every line but the last ends in a trailing space.
4) The sigdash is an exception to rule #3.
So it's not hard to add, still without something in the USEFOR draft
about it I think it's a bit pre-mature to add it to the GNKSA. I'd
already said there that I'd like to see it mentioned and lost that
argument -- but perhaps that'll change if OUGHT is added.
(Just one guy's opinion).
> > Well, that's a rather long way of saying that neither the GNKSA nor I
> > screwed this up. Wrapping is only difficult for two reasons -- bad
> > wrapping by programs that have been thoughtless, and non-standard quote
> > prefixes.
>
> Three reasons. Bad writing style on the part of posters is also a
> factor.
Yeah, sorry -- I was focused upon things for which there is a technical
solution and which wouldn't be a problem if more programs/people adhered
to the standard. People who think that a 300 line message should be one
sentence, and that capital letters and punctuation cost money, aren't
going to be any better no matter how you wrap the text.
--
John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
41 lines
2613 bytes
2613 bytes
Frank Slootweg <franks@neth.hp.com> wrote: > J. B. Moreno <planb@newsreaders.com> wrote: > > Frank Slootweg <franks@neth.hp.com> wrote: > [deleted] > >> So I want to keep my quoted text at maximum 74 characters per line, > >> even if the original text, both quoted and unquoted, is longer. > >> > >> I looked in the tin manual 'page' but found nothing (revelant) on > >> "wrap" and "fold". > >> > >> Is this possible in tin? Note: I run tin on UNIX (HP-UX), so I can > >> also use standard UNIX tools if needed. > > > > I don't think it's possible within tin, but your editor should have a > > reformatting command (most unix editors do) and if it doesn't you could > > first pipe it through par or some other utility. > > I have a (seperate) reformatting command [1], but that can not > reformat *already-quoted* text, which is my main problem (see also my > response to Sven). I saw your response to Sven -- and it looks like what you want is exactly what is in the file wrap-plain.c in the library that I wrote. It's designed as a drop in replacement for whatever is currently being used for quoting, and shouldn't take much programming know-how to add to tin (a little, but not much). You'd have to change a couple of constants (the default values leaves the lines unchanged unless they exceed 80 chars, and then wraps them to 72. Changing both of these to 74 would be easy, but I'd recommend leaving them alone) and it doesn't "fix" the OE style of broken wrapping (i.e. where it wraps without quoting) so I wouldn't call it "fix_broken_posting_". -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: Jeroen Scheerder
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
20 lines
1663 bytes
1663 bytes
<greg@apple2.com>: [snip] > Perhaps the GNKSA should address format=flowed, at least as a SHOULD, to > encourage more implementations to support it. Yes, it probably should, in a future update. One that also synchronizes with any new USEFOR/MESSFOR, developments. It also should address the hairy issue of reply style (interlined style, with proper and restrictive quoting providing a clear context, vs. the broken MSOE/Netscape/groupware style that loses context while quoting excessively). And then some. Volunteers, report! :-) -- J$
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
31 lines
1842 bytes
1842 bytes
J. B. Moreno <planb@newsreaders.com> wrote:
> Frank Slootweg <franks@neth.hp.com> wrote:
[deleted]
>> So I want to keep my quoted text at maximum 74 characters per line,
>> even if the original text, both quoted and unquoted, is longer.
>>
>> I looked in the tin manual 'page' but found nothing (revelant) on
>> "wrap" and "fold".
>>
>> Is this possible in tin? Note: I run tin on UNIX (HP-UX), so I can
>> also use standard UNIX tools if needed.
>
> I don't think it's possible within tin, but your editor should have a
> reformatting command (most unix editors do) and if it doesn't you could
> first pipe it through par or some other utility.
I have a (seperate) reformatting command [1], but that can not
reformat *already-quoted* text, which is my main problem (see also my
response to Sven).
Coming to think of it, if tin can not do this, I think I would be most
helped by a sed(1) script which does what I want and which can be piped
from/to the (vi(1)) editor (with the vi ! command). Is there such a
thing?
[deleted]
[1] (adjust(1), HP-UX-specific, but (AFAIK) similar to a 'standard' UNIX
utility (fmt?).
Re: tin: Wrap (un)quoted text before quoting?
Author: Jeroen Scheerder
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
29 lines
2124 bytes
2124 bytes
Frank Slootweg <franks@neth.hp.com>:
[snip]
> I realize the functions of tin and the editor (vi(1) in my case), but
> the problem is that *tin* quotes the old text when I do a f(ollowup) and
> *then* presents it to the editor, i.e. the 'harm' is already done when
> the editor is invoked.
>
> I could of course undo the quoting with an editor command, or not
> quote it in the first place (but that would be a pain for all normal
> (i.e. original line is not too long) responses), and then reformat/
> rewrap it with the editor or some external utility.
It's really rather trivial (in vi(1) too) to apply a quote-sensitive
rewrapper. Vim has one built in, but it's easy to use an external
filter that rewraps, keeping quotation intact, in classic vi.
You may want to have a look at the `par' text formatter, which is nice
and powerful; a more lightweight "proof of concept" hack (by John
Moreno, mainly) that includes a quote-sensitive rewrapper, can be
obtained at (whatever suits you best):
<http://www.newsreaders.com/gnksa/wrapping.tar.gz>
or <http://www.xs4all.nl/%7Ejs/gnksa/wrapping.tar.gz>.
-- J$
Re: tin: Wrap (un)quoted text before quoting?
Author: Ismael Cordeiro
Date: Wed, 05 Apr 2000 00:00
Date: Wed, 05 Apr 2000 00:00
43 lines
2700 bytes
2700 bytes
Frank Slootweg <franks@neth.hp.com> wrote:
>>> So I want to keep my quoted
>>> text at maximum 74 characters per
>>> line, even if the original text,
>>> both quoted and unquoted, is
>>> longer.
>>>
>>> I looked in the tin manual
>>> 'page' but found nothing
>>> (revelant) on "wrap" and "fold".
>>>
>>> Is this possible in tin? Note:
>>> I run tin on UNIX (HP-UX), so I
>>> can also use standard UNIX tools
>>> if needed.
>>
>> I don't think it's possible within tin, but your
>> editor should have a reformatting command (most unix
>> editors do) and if it doesn't you could first pipe it
>> through par or some other utility.
>
> I have a (seperate) reformatting command [1], but that can not reformat
> *already-quoted* text, which is my main problem (see also my response to
> Sven).
>
> Coming to think of it, if tin can not do this, I think I would be most
> helped by a sed(1) script which does what I want and which can be piped
> from/to the (vi(1)) editor (with the vi ! command). Is there such a thing?
Instead of going into all that trouble use joe 2.8 as your text editor. It
reformats quoted text very well. See the quotes above reformatted to 38, 58
and 78 characters/line.
Ismael
--
________________________________________________________________
| |
| ISMAEL CORDEIRO | mailto:ismael@cordeiro.com |
| Production sound mixer | http://www.pubnix.net/~ismael |
| Montr�al - Qu�bec - Canada | ftp://ftp.pubnix.net/users/ismael |
|________________________________________________________________|
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Wed, 05 Apr 2000 00:00
Date: Wed, 05 Apr 2000 00:00
61 lines
3412 bytes
3412 bytes
J. B. Moreno <planb@newsreaders.com> wrote: > Frank Slootweg <franks@neth.hp.com> wrote: > >> J. B. Moreno <planb@newsreaders.com> wrote: >> > Frank Slootweg <franks@neth.hp.com> wrote: >> [deleted] >> >> So I want to keep my quoted text at maximum 74 characters per line, >> >> even if the original text, both quoted and unquoted, is longer. >> >> >> >> I looked in the tin manual 'page' but found nothing (revelant) on >> >> "wrap" and "fold". >> >> >> >> Is this possible in tin? Note: I run tin on UNIX (HP-UX), so I can >> >> also use standard UNIX tools if needed. >> > >> > I don't think it's possible within tin, but your editor should have a >> > reformatting command (most unix editors do) and if it doesn't you could >> > first pipe it through par or some other utility. >> >> I have a (seperate) reformatting command [1], but that can not >> reformat *already-quoted* text, which is my main problem (see also my >> response to Sven). > > I saw your response to Sven -- and it looks like what you want is > exactly what is in the file wrap-plain.c in the library that I wrote. Thanks, I will have a look at it when I need to (but I do not think I do, see below). > It's designed as a drop in replacement for whatever is currently being > used for quoting, and shouldn't take much programming know-how to add to > tin (a little, but not much). Urs, can you have a look if you would be willing to add this to tin? [I think that Urs does not like e-mail copies, so I won't send one (for the moment).] > You'd have to change a couple of constants (the default values leaves > the lines unchanged unless they exceed 80 chars, and then wraps them to > 72. Changing both of these to 74 would be easy, but I'd recommend > leaving them alone) and it doesn't "fix" the OE style of broken wrapping > (i.e. where it wraps without quoting) so I wouldn't call it > "fix_broken_posting_". Thanks (all) for your responses. They made me have another look at *my* problem in *my* situation and made me come up with a quick hack [1] using sed(1) and HP-UX' adjust(1) command. It solves my problem for single, single-quoted, paragraphs. With a little more effort, I can probably make it to work for single, multi-quoted, paragraphs, where 'multi, can also be 0. I will continue to follow this matter with interest, but for the moment I have a workaround. Thanks again to all. [1] "wrap" script sed -e 's/^> *//' | adjust -b -m 70 | sed -e 's/^/> /' and map !}wrap } in .exrc
Urs, tin come out AGAINST format=flowed (was: Re: tin: Wrap (un)quoted text before quoting?)
Author: greg
Date: Thu, 06 Apr 2000 00:00
Date: Thu, 06 Apr 2000 00:00
46 lines
3626 bytes
3626 bytes
In article <8cj778$dbh$3@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
> tring to be a smart ass? we're talking about useless _insertion__ of
> whitesapces in the _body_ (introduced by rewrappring software like
> Johns rewrap).
Whitspace introduced by rewrapping software IS NOT USELESS! It is a
FUNCTIONAL REQUIREMENT for format=flowed! If you demand rewrapping
software not include them, then you are demanding that the user not post
format=flowed messages!
In article <8cj727$dbh$2@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
> there is no need for trailing whitespace in lines (wasted traffic for
> nothing) before the article is handed over to the editor and the
> rewrappring would be done _befor_ handing the article to the editor.
Just where do you expect it to be added? If the whitespace isn't there
post-wrap, pre-editor, the editor will have no way of knowing what lines
were wrapped from what other lines. And, a bonus, if the first part of
the wrapped line has the space and the original article was f=f, a
f=f-aware editor can recover the paragraphs, but if the spaces aren't
included, it can't perform this recovery.
The spaces are necessary and proper, and the only "traffic" "wasted" in
this operation would be between processes on the same system!
Your resistance to this is still not adequately explained. No
additional spaces are inserted anyway; only the insertion of newlines.
No spaces are inserted at the end of lines that don't already have them.
Tin isn't actively removing trailing whitespace on non-sigdash lines, is
it? That would be extremely antagonistic to other newsreaders
supporting f=f being able to restore paragraphs on second-interation
followups. (Perhaps I should not have mentioned it; if it doesn't I get
the feeling you're going to make it so that it does.)
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Thu, 06 Apr 2000 00:00
Date: Thu, 06 Apr 2000 00:00
17 lines
1817 bytes
1817 bytes
In article <8cirig$7uc$2@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
>greg@apple2.com wrote:
>> Better to have a trailing whitespace on some lines
> no
Are you against format=flowed?
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Thu, 06 Apr 2000 00:00
Date: Thu, 06 Apr 2000 00:00
16 lines
1748 bytes
1748 bytes
In article <8cfsq9$o89$1@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
> don't introduce additional spaces where they are not needed (i.e. at
> line-ends)
What about format=flowed? As John reported, rule 3 requires a trailing
space on all lines of a paragraph save the last.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Thu, 06 Apr 2000 00:00
Date: Thu, 06 Apr 2000 00:00
35 lines
2753 bytes
2753 bytes
In article <8chtbn$5c7$1@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
>greg@apple2.com wrote:
>>Urs Jan�en <urs@buil.tin.org> wrote:
>>> don't introduce additional spaces where they are not needed (i.e.
>>> at line-ends)
>> What about format=flowed? As John reported, rule 3 requires a
>> trailing space on all lines of a paragraph save the last.
> tin doesn't create it, so it doesn't need to take care of it
But an editor might, and the user could add the necessary header(s), but
if tin (or whatever) strips out those spaces when it performs the
rewrapping, then the user and editor would not have that option.
Better to have a trailing whitespace on some lines and provide the user
the option of posting it as format=flowed than require the user to
manually provide all those spaces when the rewrapper does its work.
You could say in that case the spaces are needed and additional spaces
beyond that not be added, but depending on how and where it is coded, it
may be in a position ill-suited to know the difference between a single
space for format=flowed and an unneeded single space for non-f=f.
Keep the user's option to generate format=flowed himself open.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: Jeroen Scheerder
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
38 lines
2967 bytes
2967 bytes
Urs Jan�en <urs@buil.tin.org>:
> tring to be a smart ass? we're talking about useless _insertion__ of
> whitesapces in the _body_ (introduced by rewrappring software like
> Johns rewrap).
No, I wasn't, and please don't be offended. Please accept my apologies
if you were.
> sure the reader _must_ not _remove_ any whitespaces at
> lineends itself.
If you'll examine format-flowed, you'll find that the spaces used are
not inserted by the user; they are there a a part of the format-flowed
format. Like the space at in dash-dash-space is part of the NEWS211
sigdash.
Using that, the user just types text without worrying about linebreaks.
The software's job is to render it (i.e. display it wrapped); when
transmitting it, the format=flowed format ensures a clean physical
representation (using an appropriate line width), that is
(1) free from garbage, and respects line length conventions for
readers that don't grok format=flowed
(2) interpreted by readers that do grok format=flowed, so it can
be presented (once again) independent of the physical encoding,
in a way most appropriate for the person's display;
additionally, quotation has a place in format=flowed, with
similar advantages: the software gets to see which linebreaks
is a paragraph, and which is not.
So you get clean text, that contains all the clues for extracting its
paragraph structure.
Neither does the user insert these spaces, nor are they useless.
-- J$
Re: tin: Wrap (un)quoted text before quoting?
Author: Jeroen Scheerder
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
12 lines
1511 bytes
1511 bytes
Urs Jan�en <urs@buil.tin.org>: > > Better to have a trailing whitespace on some lines > > no IHNP,IJLS"dash dash *space*". -- J$
Re: Wrapping quoted text
Author: greg
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
129 lines
7621 bytes
7621 bytes
In article <1e8kayx.aw4b3c1ppc3hjN%planb@newsreaders.com>,
planb@newsreaders.com (J. B. Moreno) wrote:
><greg@apple2.com> wrote:
>>planb@newsreaders.com (J. B. Moreno) wrote:
>>> What the GNKSA does say "SHOULD" be available is a command that
>>> will do rewrapping with paragraph filling.
>> There may be a problem having some shoulds in the GNKSA when
>> newsreader authors try to implement them all, particularly when
>> taking a should as a must makes things just as bad or worse.
> I don't see that have a command for rewrapping a user selection makes
> things worse. Certainly not on balance.
I apparently responded contextually to the wrong text. The idea is that
the rewrapping itself, being a should, when taken as a must, results in
unfilled paragraphs because as shown in the wild, users are too often
too lazy, ignorant, or both to execute the fill command after rewrapping.
A better implementation would be to have the newsreader suggest that
lines be rewrapped and refilled by highlighting them in some manner
(colorized) so that the user sees there is a problem and can perform the
wrap-with-fill on the selection of lines. Having it wrap automatically
has been shown to have the result of people posting without filling,
mainly because people are lazy.
I'd rather see lazy people posting with long quoted lines than lines
that are wrapped without filling. Proper wrapping of course is better
than improper wrapping, but filling is essential.
>> Some users have tried selecting all text and rewrapping the whole
>> message, but this is shown to damage the attributions.
> Yes, and has other potential problems (mainly wrapping lines that are
> simply contiguous and not part of the same paragraph. Hmn, perhaps I
> should have put it differently, since that's part of the attribution
> problem).
Does this wrapping code recognize hints provided by the flowed format to
perform appropriate filling? That then would be great as it could
perform both wrap and fill automatically and not produce long-short
lines. (I'm afraid I'm more familiar with MT-NW's implementation of the
concept but not your code. What's the URL again to get the source for
your implementation?)
>>> Again, it's not hard. So what is necessary isn't some top notch
>>> programmer slaving away at it for months or years, but rather the
>>> simple realization: quoted text gets long and needs to be wrapped.
>> To me, wrapping without fill is worse than not wrapping at all.
> IF that was the end of the matter I might agree with you -- but that
> isn't the end. You either have to wrap individual lines (i.e. without
> filling) or you have to warn/refuse to post because of long quoted
> lines. Otherwise other newsreaders WILL screw it up, and not just OE
> either.
>
> Preventing the extreme damage that thoughtless programs do, is worth the
> occasional "short, but properly quoted" line. Particularly if all of
> the newsreaders have a command to flow a selected paragraph.
Except now we've substituted thoughtless programs with thoughtless
users. It's a slightly better exchange, but I'd still prefer both the
wrapping and filling be done by user direction than automatically (which
is the elevation of a should of rewrapping in GNKSA to an implementation
of automaticality as if it were a must).
>>> Format=flowed is the ideal solution, but it's not yet been widely
>>> adopted -- which is OK, it works well with programs that don't use
>>> it.
Except apparently Urs and his tin newsreader, which seems bent on the
course of, if it rewraps, it will do it in a manner that prevents
support of format=flowed.
> As I read it there are basically 4 rules [to format=flowed]:
> 1) Lines beginning with a space have the space removed
> 2) Quoting is done using ">"
> 3) A paragraph is one or more contiguous lines at the same quote
> depth where every line but the last ends in a trailing space.
> 4) The sigdash is an exception to rule #3.
I don't think leading space is actually removed as it is more treated as
if it were not there (i.e. not active in determininte quoting depth).
Otherwise, if paragraphs don't doublespace between them and only end in
a line without trailing whitespace, removed leading whitespace make it
difficult to impossible to visually tell where the next paragraph begins
(unless the article is rerendered to have doublespacing between
paragraphs).
> So it's not hard to add, still without something in the USEFOR draft
> about it I think it's a bit pre-mature to add it to the GNKSA. I'd
> already said there that I'd like to see it mentioned and lost that
> argument -- but perhaps that'll change if OUGHT is added.
I used to be involved in the USEFOR list, but recently left over the
issue on ".invalid". (I rather enjoy the decreased mail volume now.)
>>> Well, that's a rather long way of saying that neither the GNKSA nor
>>> I screwed this up. Wrapping is only difficult for two reasons --
>>> bad wrapping by programs that have been thoughtless, and
>>> non-standard quote prefixes.
>> Three reasons. Bad writing style on the part of posters is also a
>> factor.
> Yeah, sorry -- I was focused upon things for which there is a
> technical solution and which wouldn't be a problem if more
> programs/people adhered to the standard. People who think that a 300
> line message should be one sentence, and that capital letters and
> punctuation cost money, aren't going to be any better no matter how
> you wrap the text.
Not really such things as that, but people who don't have distinctive
starts and ends to their paragraphs, who start their new text on a line
which already had a leading ">", people who don't doublespace between
paragraphs or before/after quoted text blocks, who leave lines at the
start/end of quote blocks contianing only ">"... things like that that
some people use as their writing style that make parsing and rewrapping
more difficult than, say, using ":" to quote text instead of ">".
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: Wrapping quoted text
Author: J. B. Moreno
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
128 lines
7159 bytes
7159 bytes
<greg@apple2.com> wrote: > planb@newsreaders.com (J. B. Moreno) wrote: > ><greg@apple2.com> wrote: > >>planb@newsreaders.com (J. B. Moreno) wrote: > > >>> What the GNKSA does say "SHOULD" be available is a command that > >>> will do rewrapping with paragraph filling. > > >> There may be a problem having some shoulds in the GNKSA when > >> newsreader authors try to implement them all, particularly when > >> taking a should as a must makes things just as bad or worse. > > > I don't see that have a command for rewrapping a user selection makes > > things worse. Certainly not on balance. > > I apparently responded contextually to the wrong text. The idea is that > the rewrapping itself, being a should, when taken as a must, results in > unfilled paragraphs because as shown in the wild, users are too often > too lazy, ignorant, or both to execute the fill command after rewrapping. Hmn, I believe that the reason w/o filling is being used is in order to avoid having to warn/refuse long quoted lines. I don't believe it's the wrapping that is an issue -- except possibly as a contributing factor "if it annoys them they can fix it". > A better implementation would be to have the newsreader suggest that > lines be rewrapped and refilled by highlighting them in some manner > (colorized) so that the user sees there is a problem and can perform the > wrap-with-fill on the selection of lines. Having it wrap automatically > has been shown to have the result of people posting without filling, > mainly because people are lazy. True, but the real question is "is this good enough". > I'd rather see lazy people posting with long quoted lines than lines that > are wrapped without filling. Proper wrapping of course is better than > improper wrapping, but filling is essential. As below, I'd come a lot closer to agreeing with you if it wasn't for programs like MT 2.4.4, NW 2.2.2, YA 2.4.0 or even worse any version of Win OE. > >> Some users have tried selecting all text and rewrapping the whole > >> message, but this is shown to damage the attributions. > > > Yes, and has other potential problems (mainly wrapping lines that are > > simply contiguous and not part of the same paragraph. Hmn, perhaps I > > should have put it differently, since that's part of the attribution > > problem). > > Does this wrapping code recognize hints provided by the flowed format to > perform appropriate filling? That then would be great as it could > perform both wrap and fill automatically and not produce long-short > lines. (I'm afraid I'm more familiar with MT-NW's implementation of the > concept but not your code. What's the URL again to get the source for > your implementation?) It's available from the GNKSA tools page, it doesn't recognize f=f, but that would not be a hard addition to make (fairly trivial in fact, I just haven't bothered doing so). -snip- > >> To me, wrapping without fill is worse than not wrapping at all. > > > IF that was the end of the matter I might agree with you -- but that > > isn't the end. You either have to wrap individual lines (i.e. without > > filling) or you have to warn/refuse to post because of long quoted > > lines. Otherwise other newsreaders WILL screw it up, and not just OE > > either. > > > > Preventing the extreme damage that thoughtless programs do, is worth the > > occasional "short, but properly quoted" line. Particularly if all of > > the newsreaders have a command to flow a selected paragraph. > > Except now we've substituted thoughtless programs with thoughtless > users. It's a slightly better exchange, but I'd still prefer both the > wrapping and filling be done by user direction than automatically (which > is the elevation of a should of rewrapping in GNKSA to an implementation > of automaticality as if it were a must). I think that with a good implementation (i.e. it doesn't wrap unless the line is too long) thoughtless users are a LOT better. They are rarer and easier to correct in the wild. > >>> Format=flowed is the ideal solution, but it's not yet been widely > >>> adopted -- which is OK, it works well with programs that don't use > >>> it. > > Except apparently Urs and his tin newsreader, which seems bent on the > course of, if it rewraps, it will do it in a manner that prevents > support of format=flowed. Tin doesn't do wrapping at the moment, so the point is rather moot -- if it did do wrapping, then he'd have a point unless information concerning the f=f status of the message was passed into the wrapping routine. In which case I don't believe he WOULD object -- he said he doesn't wanting it introducing spaces where they weren't before, wrapping text that was f=f doesn't INTRODUCE any new white space at the end of lines. > > As I read it there are basically 4 rules [to format=flowed]: > > 1) Lines beginning with a space have the space removed > > 2) Quoting is done using ">" > > 3) A paragraph is one or more contiguous lines at the same quote > > depth where every line but the last ends in a trailing space. > > 4) The sigdash is an exception to rule #3. > > I don't think leading space is actually removed as it is more treated as > if it were not there (i.e. not active in determininte quoting depth). No, if I understand it correctly, the body of the message is supposed to be pre-processed to remove a leading space. It's not \s+ but rather " " (to put it in perl terms). > Otherwise, if paragraphs don't doublespace between them and only end in > a line without trailing whitespace, removed leading whitespace make it > difficult to impossible to visually tell where the next paragraph begins > (unless the article is rerendered to have doublespacing between > paragraphs). No, add a space, strip a space -- this doesn't do anything to blank lines or paragraph indenting. -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
39 lines
2666 bytes
2666 bytes
<greg@apple2.com> wrote: > Urs Jan�en <blackhole@buil.tin.org> wrote: > >greg@apple2.com wrote: > > >> Whitspace introduced by rewrapping software IS NOT USELESS! > > > it is > > Oh, I see the level of debate now. Then: > > Is not! Actually Urs is right here -- unless the software that is introducing the white space is turning the text into f=f then adding white space is useless. Please see my other message for a fuller explanation. > >> It is a FUNCTIONAL REQUIREMENT for format=flowed! > > > tin doesn't cerate format=flowed, so it doesn't need to introduce > > whitspaces when rewarpping! > > If tin doesn't provide them, or (as appears to be your preference) > actively strips them, it prevents the user from posting as format=flowed > despite tin's non-support. I don't think this is what he is saying. He's talking about just what Frank wanted -- either a function in tin or a program that tin pipes to that then passes it along to the editor. In both cases, having the function/program adding white space wouldn't be a good idea. S -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
81 lines
5140 bytes
5140 bytes
In article <8ckhso$fpc$3@news.hamburg.pop.de>,
Urs Jan�en <blackhole@buil.tin.org> wrote:
>greg@apple2.com wrote:
>> Whitspace introduced by rewrapping software IS NOT USELESS!
> it is
Oh, I see the level of debate now. Then:
Is not!
>> It is a FUNCTIONAL REQUIREMENT for format=flowed!
> tin doesn't cerate format=flowed, so it doesn't need to introduce
> whitspaces when rewarpping!
If tin doesn't provide them, or (as appears to be your preference)
actively strips them, it prevents the user from posting as format=flowed
despite tin's non-support.
Get this through your head: rewrapping an article that was f=f by
replacing spaces with newlines rather than inserting newlines disrupts
the support of f=f in other newsreaders. Whether or not tin itself
supports posting f=f articles is irrelevant to the damage it inflicts on
newsreaders that do when text is rewrapped in a manner that breaks f=f
support.
Eliminating trailing whitespace loses information essential for the
flowed format. At least if you were dropping IDs from the References
header that information could be recoverable by software; without those
trailing spaces, information about the paragraphs is not recoverable
without expensive retrieval of article bodies of referenced articles.
> if the lusers editor creates format=flowed tin has no problem with
> it, but tin won't create postings in that format itself
You're going further than that: you're taking a stance which has tin
actively working against the editor (and user) supporting format=flowed.
A poster seeking to support it would have to disable the rewrapping of
messages in tin in order to preserve the f=f format of the original
article; if rewrapped, the f=f format will get destroyed as paragraphs
will be terminated prematurely by tin's rewrapping implementation.
> - I'm getting tired of repeatings this over and over again.
Maybe if you're stance made sense I wouldn't be challenging it again.
I'm surprised you'd take a stance against interoperability when you've
taken such a strong stance in the past against munging. Even more so
that you've used an apparent dead-end address in your From header and
directed followups to poster.
> but cause of the subject this thread is dead anyway
I've changed it back, for whatever good that will do.
Well I used to give a damn about tin's development as a newsreader and
contributed code to it. I may have unsubscribed to the mailing lists,
but at least I felt good enough about the software to try to help others
here in news.software.readers. But this attitude of yours and
unjustifiable stance of actively destroying support for f=f in other
newsreaders by saying that if rewrapping is supported it MUST strip out
trailing whitespace has now alienated me from working on the program
again.
If adding code to tin that supports rewrapping of the message in tin
before handing off to the editor requires by you that whitespace be
removed prior to generated newlines, then there is no way I will work to
put that feature or any others into tin. The demand is unreasonable.
I'm not even sure I'd bother trying to get a foot in the door by trying
to get format=flowed support implemented in tin. You give the
impression that your more against THAT than you are in having mail-news
carbon copy support added to tin.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Mon, 10 Apr 2000 00:00
Date: Mon, 10 Apr 2000 00:00
42 lines
2928 bytes
2928 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > Jeroen Scheerder <js@cwi.nl> wrote: > > If you'll examine format-flowed, you'll find that the spaces used are > > not inserted by the user; they are there a a part of the format-flowed > > format. > > tin doesn't create format-flowed - tin won't strip tailing > whitespaces a editor has introduced, reformating in tin would not > have to introduce whitespaces. A command in tin that reformatted according to f=f wouldn't add characters to introduce trailing white space, but it would have to leave white space characters in so that paragraphs could be distinguished. I.e. given input of: "long line one. " "long line two. " "3rd and last line of the paragraph". Assuming f=f, that might be quoted and flowed as: ">long line " ">one. long " ">line two. 3rd " ">and last " ">line of " ">the paragraph". As you can see, excluding line breaks, no white space is introduced, but the reformatted lines do end with a trailing white space. Actually, in either f=f or non-f=f, adding a space is bad because it can result in text that doesn't match the original after a few generations of quoting/wrapping. The big difference between f=f and non-f=f wrapping in that regards is that non-f=f wrapping may (unavoidably) *loose* a space with multiple quoting/wrapping. That can't happen with f=f (if implemented according to spec). -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Mon, 10 Apr 2000 00:00
Date: Mon, 10 Apr 2000 00:00
16 lines
1997 bytes
1997 bytes
In article <1e8vp7j.1npusho1jh6waoN%planb@newsreaders.com>,
planb@newsreaders.com (J. B. Moreno) wrote:
> *loose* a space
*lose* a space
Normally I wouldn't say anything, but it was emphasized.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: Alan Mackenzie
Date: Tue, 11 Apr 2000 00:00
Date: Tue, 11 Apr 2000 00:00
37 lines
2758 bytes
2758 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > In <1e8vp7j.1npusho1jh6waoN%planb@newsreaders.com>, > J. B. Moreno <planb@newsreaders.com> wrote: >> A command in tin that reformatted according to f=f [Numerous spelling errors corrected. Doesn't Urs have an English spelling checker?] > There is no such command in tin and I don't think there will be one in > the future. Reformating is not the job of an NRA. Surely, preserving the format which is already there, though, is. >> I.e. given input of: >> "long line one. " > ^ > constructed example, normal text doesn't have a trailing whitespace as > it just wastes some bytes without giving you any advantage (higer > readability or whatever). Well, if I understand what format=flowed is (I'm not quite sure at the moment), it is intended to preserve a well filled readable display. This is an enormous plus compared with the tiny cost of around one space per line. If the one character per line had been that critical, Usenet articles would never have started using <CR><LF> as a line terminator, way back when. Compare the cost of these extra spaces with that of the redundant headers which some newsreaders insert into articles. :-) -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove one of them (leaving, say, "a").
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Tue, 11 Apr 2000 00:00
Date: Tue, 11 Apr 2000 00:00
33 lines
2824 bytes
2824 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > J. B. Moreno <planb@newsreaders.com> wrote: > > A command in tin that reformatted according to f=f > > there is no such command in tin and I don't thnik the will be one in > the future. reformating is not the job of a NRA. I know there is no such command at the moment, and don't particularly expect it to be present in the future, but although it would of course be /best/ if the editors understood f=f, I don't see that there would be any harm in tin doing so as part of the quoting that is done before passing it along to the editor. The f=f standard makes such reformatting error free, which is the only real objection I see to doing it automatically. > > I.e. given input of: > > "long line one. " > ^ > constructed example, normal text doesn't have a tailing whitepace as > it just wastes some bytes whithout giving you some advanatge (higer > readability or whatever). No, that's not a constructed example (except in the contents) as that is precisely what format=flowed does/requires. And the trailing whitespace is not just a waste of bytes -- it (along with the header) allow positive identification of paragraphs. -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
70 lines
4130 bytes
4130 bytes
J. B. Moreno <planb@newsreaders.com> wrote: > Urs Jan�en <urs@buil.tin.org> wrote: >> J. B. Moreno <planb@newsreaders.com> wrote: >> > A command in tin that reformatted according to f=f >> >> there is no such command in tin and I don't thnik the will be one in >> the future. reformating is not the job of a NRA. > > I know there is no such command at the moment, and don't particularly > expect it to be present in the future, but although it would of course > be /best/ if the editors understood f=f, I don't see that there would be > any harm in tin doing so as part of the quoting that is done before > passing it along to the editor. > > The f=f standard makes such reformatting error free, which is the only > real objection I see to doing it automatically. Well, "error free" is a relative term, I doubt that f=f will rewrap blah blah blah blah "ps -ef" blah blah as blah blah blah blah "ps -ef" blah blah when the wrap margin has been set at (around) 24 characters. I think it will happily wrap it as blah blah blah blah "ps -ef" blah blah which is not what I would call "error free". That is why I object to (too) long lines. I think that "error free" rewrapping is just impossible with text/plain. f=f may make it 'better' but not error free. >> > I.e. given input of: >> > "long line one. " >> ^ >> constructed example, normal text doesn't have a tailing whitepace as >> it just wastes some bytes whithout giving you some advanatge (higer >> readability or whatever). > > No, that's not a constructed example (except in the contents) as that is > precisely what format=flowed does/requires. And the trailing whitespace > is not just a waste of bytes -- it (along with the header) allow > positive identification of paragraphs. Urs, (while I have 'started' the original thread,) I am really an outsider in this f=f flame war. I do not understand why you have 'fixed' your position so strongly and why you seem unwilling or/and unable to see 'the other side'. I think it is just a big misunderstanding, but can not put my finger on it where it went 'wrong'. So I can only advise to take a breath/step_back and just consider the possibility that this f=f stuff might actually be useful and that any stripping of trailing spaces, *IF* tin ever does that, is intentionally crippling a facility which you might not find important, but which others might find important. In other words, don't touch the *poster's* text, unless you have a very good reason. 'Saving' a few bytes and at the same time screwing up a poster's format is not a good reason. I hope that you and 'the others' will be able to come to some kind of concensus, because I like tin, appreciate your work, but also value the opinion of the others in this thread. I think that all of 'you'/us can win, instead of having one or more 'winners' and one or more 'losers' in this debate.
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
48 lines
3669 bytes
3669 bytes
In article <8d2h25$mbs$1@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
> tin doesn't create format=flowed
But format=flowed messages *can* be created with tin.
> what other software does is out of interest for me.
If tin didn't support reference threading, would this warrant tin not
generating the References header?
Tin doesn't send mail copies, but can be set to send a Mail-Copies-To
header which is used by other newsreaders. Similarly, it can be set to
send the required headers for format=flowed. If you intend to make it
impossible for users to do this because tin doesn't support that
standard, you'd better make it impossible to set a Mail-Copies-To header
or any other content in a form officially unsupported by tin.
BTW, my messages have had them[*], but in the quotations you've made,
they are absent. This is improper behavior, even internally, for tin.
It makes it much more difficult for a tin user to choose to post as
format=flowed despite tin's lack of internal support if it is tin
(1.5.4-20000315 ("For Her Light")) that is stripping these whitespaces.
Though perhaps the fault is with your editor, joe. The "Laura" release
(pre-1.4 980818), the one installed at my ISP, does not have this bug.
Then again, I only checked what text made it to the (vi) editor, not
what text makes its way back out to the net.
> it might leave (useless) tailing whitespace
It is not useless! What part of RFC 2646 don't you understand?
I really cannot believe you're taking a stance against interoperability
in a requested feature in tin.
[*] Indeed, MT-NW 3.0 will post compliant format=flowed messages with
the addition of the required headers in Special:Personalities:Headers &
Misc:Signature & Headers:Extra news headers, which I've now done.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
53 lines
3976 bytes
3976 bytes
In article <8d25vg$aqj$1@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
>J. B. Moreno <planb@newsreaders.com> wrote:
>> be /best/ if the editors understood f=f, I don't see that there
>> would be any harm in tin doing so as part of the quoting that is
>> done before passing it along to the editor.
> there is, as the user can't easyly undo the rewarpaing in the
> editor if it's done outside the editor.
The user can control when rewrapping is done by configuring runtime
options/preferences for the newsreader that performs the rewrapping.
And I've done rewrapping in vi manually frequently when using tin and
don't find it all that difficult (hit J enough times so that the
paragraph becomes one long line, then 073l, ?<space><return>,
a<return><esc>, repeat until 73l takes you to the end of a line (with
special attention to lines that are 72 characters or more in length
without any whitespace). As easily done on rewrapped text by a human
(with or without trailing space) as with unrewrapped text requiring
rewrapping. The effort required is not increased.
You'd have me use r<space> rather than a<return><esc> in all situations,
eliminating a space rather than preserving it.
>> No, that's not a constructed example (except in the contents) as
>> that is precisely what format=flowed does/requires.
> it is as the input text (which was plain (not format=flowed)
> and had a tailing space, this is very unlikely
format=flowed is designed to be robust enough to survive quotation by a
text/plain newsreader. Wrapping without preserving the paragraphs (by
preserving, not introducing, the trailing whitespace) is not survivable.
And you're nit-picking over a detail which can quite reasonably be
considered omitted implicit information in an example. The text itself
was format=flowed syntax compliant; it is a reasonable presumption that
the undisplayed headers also declared the article to be format=flowed.
Compromise: would you accept a rewrapper that including trailing
whitespace when the original text had trailing whitespace and not
include trailing whitespace when the original text did not? Basically,
trailing whitespace in, trailing whitespace out.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
36 lines
3109 bytes
3109 bytes
In article <8d2nru$puc$1@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
> software can never know what the user exactly wants to quote an what
> not,
RFC 2646:
> if a change in quoting depth occurs on a flowed line... [t]he
> receiver SHOULD handle this error by using the 'quote-depth-wins'
> rule, which is to ignore the flowed indicator and treat the line
> as fixed. That is, the change in quote depth ends the paragraph.
So that's addressed. So also a blank linefollowing a line ending with
space, both of same quote depth, terminates the paragraph.
> where to break lines and where not (see the "ps -ef" example in
> this thread) etc.pp
There is no confusion over what is meant in your "ps -ef" example. And
use of 0xA0 as a non-breaking space may be supported in
"Content-Transfer-Encoding: 8bit" messages, preventing breaking "words"
like that. (I'm not sure where to check for that being acceptable.
7bit messages obviously can't take advantage of that, though that's
easily gotten around by upping them to use 8bit. I note that I've used
versions of vi that can't handle 8bit data, treating all 8bit characters
as unprintable characters not advancing the cursor, including those that
do.)
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
73 lines
3773 bytes
3773 bytes
In article <8d2k15$o2f$1@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
> I never said that tin should _strip_ tailing spaces, I said that
> rewrapping in shouldn't introduce them (without a good reason).
One good reason is that other newsreaders to make use of them. Consider:
---
>> This is some text posted by a newsreader in the flowed format quoted
>> in a message.
> This is some text posted by a newsreader that does
> not support format=flowed.
This is another followup posted by a newsreader that does support
format=flowed text.
---
A newsreader reading such a message (say with a smaller number of
columns) can flow the text marked with ">> " despite the fact that the
text marked with "> " is not in that format, if the whitespace is
preserved as:
---
>> This is some text posted by a newsreader
>> in the flowed format quoted in a message.
> This is some text posted by a newsreader
> that does
> not support format=flowed.
This is another followup posted by a
newsreader that does support format=flowed
text.
---
If the newsreader wraps that first text such that it reads:
---
> This is some text posted by a newsreader in the
> format flowed quoted in a message.
---
without the trailing whitespace that was there before, then the article
posted in followup to it would be reflowed on a newsreader as:
---
>> This is some text posted by a newsreader
>> in the
>> format flowed quoted in a message.
> This is some text posted by a newsreader
> that does
> not support format=flowed.
This is another followup posted by a
newsreader that does support format=flowed
text.
---
The cause of this inferior rendering of the >> text? A newsreader that
rewrapped text without preserving its tailing space nature. That is why
tin, if it rewrapped text as was requested, should leave the spaces
alone.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
36 lines
2986 bytes
2986 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > J. B. Moreno <planb@newsreaders.com> wrote: > > be /best/ if the editors understood f=f, I don't see that there would be > > any harm in tin doing so as part of the quoting that is done before > > passing it along to the editor. > > there is, as the user can't easyly undo the rewarpaing in the > editor if it's done outside the editor. The point of f=f is to make undoing unnecessary -- paragraphs are deliminated and rewrapping within paragraphs is allowed as needed/desired. If you don't want to allow wrapping, then you wouldn't or shouldn't be using f=f. > > No, that's not a constructed example (except in the contents) as that is > > precisely what format=flowed does/requires. > > it is as the input text (which was plain (not format=flowed) > and had a tailing space, this is very unlikely. I'm not sure what you mean by this. Two things make text f=f, a header like "Content-Type: text/plain; charset=us-ascii; format=flowed" and the space at the end of every line that doesn't terminate a paragraph. My example was missing the header (hell, it really was missing the trailing white space as each line ended in parenthesis), but I thought I had made it clear that it was an example of what f=f looked like. -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Thu, 13 Apr 2000 00:00
Date: Thu, 13 Apr 2000 00:00
16 lines
2287 bytes
2287 bytes
Frank Slootweg <franks@neth.hp.com> wrote: > [To be sure: I hope that you guys are not figthing about (introduction) > of *leading* (not trailing) spaces, because *they* (*leading* spaces) > *are* introduced if a 'standard-quoted' (with "> ") parapgraph is > rewrapped, i.e. the rewrapping will introduce <LF>s (see above) and > likewise it will introduce ">"s and *'leading'* spaces.] Format=flowed requires the use of ">" as the quote character, that's non-optional, if you use "FIDO>" or "> " or ":" or anything but ">" it's not considered a quote prefix in a f=f article. -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: J. B. Moreno
Date: Thu, 13 Apr 2000 00:00
Date: Thu, 13 Apr 2000 00:00
21 lines
2379 bytes
2379 bytes
<greg@apple2.com> wrote: > > where to break lines and where not (see the "ps -ef" example in > > this thread) etc.pp > > There is no confusion over what is meant in your "ps -ef" example. And > use of 0xA0 as a non-breaking space may be supported in > "Content-Transfer-Encoding: 8bit" messages, preventing breaking "words" > like that. That's unacceptable on the basis that you want to be able to select the text (minus any quoting) and paste it onto the command line and have it work -- but even with that in mind, it's not a good example of f=f failing, instead it is an example of when NOT to use f=f. There's a non-trivial difference. -- John B. Moreno
Re: tin: Wrap (un)quoted text before quoting?
Author: T.E.Dickey
Date: Thu, 13 Apr 2000 00:00
Date: Thu, 13 Apr 2000 00:00
33 lines
1905 bytes
1905 bytes
Frank Slootweg <franks@neth.hp.com> wrote: > Disclaimer: With the "I'll make my lines as long as I damn well please!" > war going on, it is probably somewhat 'dangerous' to post on > this subject, but here it goes anyway. > There are some people who can not be > educated to keep their line-length > (well) below 80 characters per line. > Often these people can be safely > ignored, but some of these people *do* > have things to contribute. I want to > be able to discuss with these people > and still be a good netizen and not > make life to diffucult for myself. > So I want to keep my quoted text at > maximum 74 characters per line, even > if the original text, both quoted and > unquoted, is longer. > I looked in the tin manual 'page' but > found nothing (revelant) on "wrap" and > "fold". I do this in the text editor (vile). Other editors handle this as well. For example (above), with a fillcolumn set to 40. -- Thomas E. Dickey dickey@clark.net http://www.clark.net/pub/dickey
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Thu, 13 Apr 2000 00:00
Date: Thu, 13 Apr 2000 00:00
40 lines
3937 bytes
3937 bytes
In article <1e910ey.1mg531w1uo6j23N%planb@newsreaders.com>,
planb@newsreaders.com (J. B. Moreno) wrote:
>Frank Slootweg <franks@neth.hp.com> wrote:
>> [To be sure: I hope that you guys are not figthing about
>> (introduction) of *leading* (not trailing) spaces, because *they*
>> (*leading* spaces) *are* introduced if a 'standard-quoted' (with
>> "> ") parapgraph is rewrapped, i.e. the rewrapping will introduce
>> <LF>s (see above) and likewise it will introduce ">"s and
>> *'leading'* spaces.]
> Format=flowed requires the use of ">" as the quote character, that's
> non-optional, if you use "FIDO>" or "> " or ":" or anything but ">"
> it's not considered a quote prefix in a f=f article.
It also supports ">_" where "_" is a conditional space that is inserted
only if the quoted line does not already start with ">". This article
is quoted in that manner, though the newsreader does not support such
things. (I set it to "> " and strip out the unwanted spaces manually.
I believe tin supports the conditional space.) As long as the sequence
of ">"s is unbroken by whitespace, f=f still works.
Also, rewrapping may not always introduce newlines. It may also reduce
them. Further, a newsreader supporting f=f doesn't care about lines
that are poorly wrapped; as long as they preserve the spaces and the
wrapped text remains at the same quoting depth, it performs the
reflowing of the paragraph automatically on presentation.
I always post in iso-8859-1, so I've added the necessary headers to
identify my postings as flowed format. I already know MT-NW 3.0 formats
its paragraphs according to that standard. (It just needs to start
supporting it on display. Maybe the next revision?)
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Thu, 13 Apr 2000 00:00
Date: Thu, 13 Apr 2000 00:00
64 lines
4016 bytes
4016 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > In <greg-AF1688.13274612042000@news.binary.net>, > greg@apple2.com wrote: [deleted] >> Compromise: would you accept a rewrapper that including trailing >> whitespace when the original text had trailing whitespace > > in tin? I don't see a need for such a rewrapper. > >> and not include trailing whitespace when the original text did not? >> Basically, trailing whitespace in, trailing whitespace out. > > but as long as it doesn't introduce any additional whitespaces (and > that was what I was talking about (rewrap does)), it might leave > (useless) tailing whitespace at line ends in the text. I think this is the crux of the matter! I think you guys are fighting because of the difference between 'a space' and 'whitespace'. AFAIK the common term 'white space' includes characters like space (blank), tab *and* carriage-return or/and line-feed. You are right that rewrapping introduces additional *whitespace*(s), because it introduces additional CRs or/and LFs. However rewrapping does *not* introduce *spaces*! I think 'the others' are (explicitly or/and implicitly) saying that one should *preserve* *existing* *spaces*. Please say whether or not you agree on *that* (i.e. *preserve* *existing* *spaces*). 'The others' have given examples which were clear to me, but I think that they are not clear to you (note the "I think" disclaimer). So let me give another example. I will use ^ as start-of-line, $ as end-of-line and <LF> as a line terminator (Please let's not quible whether that is LF, CR or CR+LF,because it is not relevant for the discussion.) ^Suppose that this is the original paragraph in format=flowed format $<LF> ^which will be rewrapped to shorter lines.$<LF> Note the space before the $ on the first line (and any other-but-last line of a paragraph) and the absence of a space before the $ on the last line (of the paragraph). Now rewrapped: ^Suppose that this is the original $<LF> ^paragraph in format=flowed format $<LF> ^which will be rewrapped to shorter $<LF> ^lines.$<LF> Now count the number of *spaces*, they were 16 and still are 16 after rewrapping, i.e. they have been *preserved*, *not* *introduced*. However there *is* introduction of additional *whitespace*, there were only two <LF>s and after rewrapping there are four. Can you agree that rewrapping does *not* *introduce* *spaces* (but does introduce <LF>s)? [To be sure: I hope that you guys are not figthing about (introduction) of *leading* (not trailing) spaces, because *they* (*leading* spaces) *are* introduced if a 'standard-quoted' (with "> ") parapgraph is rewrapped, i.e. the rewrapping will introduce <LF>s (see above) and likewise it will introduce ">"s and *'leading'* spaces.] I hope this helps to resolve the 'dispute'.
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Fri, 14 Apr 2000 00:00
Date: Fri, 14 Apr 2000 00:00
27 lines
2243 bytes
2243 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > In <greg-D869C8.17060812042000@news.binary.net>, > greg@apple2.com wrote: [deleted] > how often must I repeat that tin does not strip whitespaces? Good. Thanks for the confirmation. I assume it will stay that way. >>> it might leave (useless) tailing whitespace >> It is not useless! > > it is - as tin doesn't create f=f; no MIME-header for f=f -> no > format f=f -> useless tailing whitespace. Well, as is probably evident, *I* had not even heard about f=f before recently, but *I* would consider f=f useful, even without tin generating the 'required' MIME header. I.e. if something is f=f, then even without the MIME header, it can be easier to manipulate than when it is not f=f. This is similar to an iso-8859-1 article without the associated MIME header. It is better to being able to get/read/manipulate/post such an article than not. Probably *this* article is an example! :-) (Haven't checked the headers, but your last name still looks 'strange' to me, but probably fine to you/others.) [deleted]
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Mon, 17 Apr 2000 00:00
Date: Mon, 17 Apr 2000 00:00
26 lines
2282 bytes
2282 bytes
Urs Jan�en <urs@buil.tin.org> wrote:
> In <8d7al6$o9n$5@news.neth.hp.com>,
> Frank Slootweg <franks@neth.hp.com> wrote:
>> recently, but *I* would consider f=f useful, even without tin generating
>> the 'required' MIME header.
>
> without the header you don't know that it is f=f -> you can't handle
> it correctly.
Indeed, I do not *know*, but can easily see (":set list" in vi) /
'guess'. I.e. there are things which are difficult/impossible for a
program, but relatively easy for a human.
>> This is similar to an iso-8859-1 article without the associated MIME
>> header.
>
> 8bit articles without arn't usefull - you never know if the 8bit data
> is printable or kills your terminal (see the other thread).
No offense, Urs, but why don't you let *the users* decide what is (and
is not) useful *for them*? tin is not stripping trailing spaces and
(AFAIK) tin is not stripping (unencoded/non-MIMEd) 8-bit characters.
That is good. What I (we?) do not understand is that you allow these
'violations' and at the same time argue so strongly against them.
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Mon, 17 Apr 2000 00:00
Date: Mon, 17 Apr 2000 00:00
30 lines
2791 bytes
2791 bytes
In article <8dferi$avc$1@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
>Frank Slootweg <franks@neth.hp.com> wrote:
>>Urs Jan�en <urs@buil.tin.org> wrote:
>>> without the header you don't know that it is f=f -> you can't
>>> handle it correctly.
>> Indeed, I do not *know*, but can easily see (":set list" in vi) /
>> 'guess'.
> we're not talking about humans looking at the article, we're talking
> about programms - and they simply _can't know_ if the article is f=f
> or not without the MIME header.
Assume the above text was posted in f=f form but not with a f=f header.
This reply, being in f=f, would enable flowing for the above text. Even
if newsreaders that don't generate the f=f header at least met those
that do halfway by formatting in flowed format regardless of header,
things would work out a lot smoother.
Meanwhile your editor is still stripping out whitespace.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Tue, 18 Apr 2000 00:00
Date: Tue, 18 Apr 2000 00:00
67 lines
4134 bytes
4134 bytes
Urs Jan�en <urs@buil.tin.org> wrote:
> In <8dethq$kb1$3@news.neth.hp.com>,
> Frank Slootweg <franks@neth.hp.com> wrote:
>>> without the header you don't know that it is f=f -> you can't handle
>>> it correctly.
>> Indeed, I do not *know*, but can easily see (":set list" in vi) /
>> 'guess'.
>
> we're not talking about humans looking at the article, we're talking
> about programms - and they simply _can't know_ if the article is f=f
> or not without the MIME header.
Well, apparently *you* are only talking about programs, but I doubt
that that is also true for all, or even most, of the *other posters* in
this thread (/these (sub)threads). As I explained, for *me* f=f is
useful even without the header and Greg just gave an example of this.
>>> 8bit articles without arn't usefull - you never know if the 8bit data
>>> is printable or kills your terminal (see the other thread).
>> No offense, Urs, but why don't you let *the users* decide what is (and
>> is not) useful *for them*?
>
> they can, there is a configure option in tin to disable-locale, the
> default is not to pass along plain 8bit chars without knowing the
> related charset as this might trash you terminal.
Yes, in non-old versions they can, but in old versions (for example
1.2) they could not, but still even in those old versions, 8-bit
characters *could* be useful, i.e. when 'my' stone-age tin said
> Urs Jan�en <urs@buil.tin.org> wrote:
it probably looked normal to you, because *'my'* tin did not strip
8-bit characters (but did *not* include a MIME header), i.e. 8-bit
characters without a MIME header can_be/are even useful to others,
possibly even to you.
[more of the same deleted]
> tailing spaces are no violation - they just make no sene in a normal
> article.
They *do* make sense. This thread contains many examples and Greg just
gave another one. That they are not useful to *you* is quite another
argument. (Greek is probably rather useful, but does not make any sense
to *me*.)
> plain 8bit chars without any MIME headers _are_ and tin
> tries to to the best it can. show al 7bit chars and hide the 8bit
> chars as they might trash the terminal.
>
>> and at the same time argue so strongly against them.
>
> then go and read the thread again.
OK. It's OK with me that *you* consider it a violation, as long as you
do, and you do, give the *users* a choice. (Note: I fully agree that
*technically* it *is* a violation, but "technically" is not always the
best answer to this world's issues, that is all we are trying to say.)
If you see the humour in it: A somewhat long time ago, I used to argue
*against* the use of 8-bit characters and MIME in News, because it was
non-standard and could create problems. Now I find myself arguing *for*
8-bit characters in News. Why? Because now is now and then was then,
i.e. things have changed, and so have I.
Re: tin: Wrap (un)quoted text before quoting?
Author: greg
Date: Wed, 19 Apr 2000 00:00
Date: Wed, 19 Apr 2000 00:00
31 lines
2732 bytes
2732 bytes
In article <8dinkp$vrh$2@news.hamburg.pop.de>,
Urs Jan�en <urs@buil.tin.org> wrote:
>greg@apple2.com wrote:
>> Assume the above text was posted in f=f form but not with a f=f
>> header.
> then I don't know that it's f=f and tell my editor to strip trailing
> junk.
You don't know that it is junk, and neither does your software. If
you're going to err, do so on the side of caution and don't strip.
>> Meanwhile your editor is still stripping out whitespace.
> as I didn't know it was f=f
And since you can't know (since your newsreader doesn't grok the
format=flowed field of the header), shouldn't you post what you get
rather than strip and mistakenly post something that damages the
functionality of other newsreaders, creating an interoperability
problem? Is it really worth it to strip eight trailing whitespaces in
this message?
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.org/>
---
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Wed, 19 Apr 2000 00:00
Date: Wed, 19 Apr 2000 00:00
20 lines
1967 bytes
1967 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > In <8dht26$ht8$1@news.neth.hp.com>, > Frank Slootweg <franks@neth.hp.com> wrote: >> Well, apparently *you* are only talking about programs, but I doubt > > that's what this newsgroup is about. For *you*. (Yes, I know that if you take it very strictly, then that's indeed the charter, but charters are somewhat flexible. Been over in news.software.nntp lately? The discussions over there very frequently are *not* about NNTP, software or otherwise, and most people, also the 'gurus' have no problem with that.) [more of the same deleted] Well, I tried. As I said before, I like tin and appreciate your work. I do not understand why you effectively 'disallow' others to have an opinion which does not completely match yours.
Re: tin: Wrap (un)quoted text before quoting?
Author: Frank Slootweg
Date: Thu, 20 Apr 2000 00:00
Date: Thu, 20 Apr 2000 00:00
15 lines
1816 bytes
1816 bytes
Urs Jan�en <urs@buil.tin.org> wrote: > In <8djn76$gbi$1@news.neth.hp.com>, > Frank Slootweg <franks@neth.hp.com> wrote: >> I do not understand why you effectively 'disallow' others to have an >> opinion which does not completely match yours. > > you can have any opinion you like - I keep tin the way I find it > usefull. Just for the record: I fully agree with that. You are the maintainer of tin. Users, like me, can *ask* you to do things in a certain way, but they can not *'order'* you. Some people do not realize that or 'forget' it sometimes. I hope that I will never be one of those people! :-)
cds for sale
Author: capa
Date: Thu, 27 Apr 2000 00:00
Date: Thu, 27 Apr 2000 00:00
10 lines
1303 bytes
1303 bytes
More than 1200 cd's for sale : soft, games, erotic, video, porno,mp3 and etc. Price: 10 each. Also we can find for order everything you want in 2-7 days. No advance. By post. More info only by mail. Capa@peterlink.ru .
Re: cds for sale (was: Re: tin: Wrap (un)quoted text before quoting?)
Author: greg
Date: Thu, 27 Apr 2000 00:00
Date: Thu, 27 Apr 2000 00:00
22 lines
2083 bytes
2083 bytes
In article <8ea43c$dpa$1@dragon.infopro.spb.su>,
"capa" <capa@peterlink.ru> wrote:
> More than 1200 cd's for sale : soft, games, erotic, video, porno,mp3
> and etc. Price: 10 each. Also we can find for order everything you
> want in 2-7 days. No advance. By post. More info only by mail.
> Capa@peterlink.ru .
Damn, I'd send a complaint off, but I've never had any luck getting any
Russian ISPs to do anything about spam. Indeed, last time I complained
about Russian spam, I got more of it by e-mail. Unreadable spam in fact.
And they construct their spam as a followup to an unrelated existing
thread yet! I'm reducing the References header to one back reference.
--
-- --- <greg@apple2.com>
-- -- -- ------------------------------------------------------------------
-- -- --- <http://www.war-of-the-worlds.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