🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Maarten van Steenbergen Wed, 02 Dec 1998 00:00
patch for slrn0.9.5.4
#45021
Author: Maarten van Steenbergen
Date: Wed, 02 Dec 1998 00:00
32 lines
1374 bytes
Hi newsreaders, :-)

It bothers me that when newsreaders do quoting, they transform:
Hello
into:
> Hello
when the quoting char = '> '. So far so good. But:
> Hello
becomes:
> > Hello
this is fixed when quoting char='>', but then:
Hello
becomes:
>Hello  (ugly).

So i made a patch for slrn0.9.5.4 that does quoting correctly.
I'd like to hear some constructive critisism about it, and please tell me if
you like it or not.
The changes go to the art.c file. I put a modified art.c on:
http://www.phys.uu.nl/~steenbrg/art.c


Regards,

Maarten


-- 
         Maarten van Steenbergen <steenbrg@phys.uu.nl>
   -----=====* http://www.phys.uu.nl/~steenbrg/ *=====-----

Re: patch for slrn0.9.5.4
#45007
Author: John Moreno
Date: Wed, 02 Dec 1998 00:00
34 lines
1777 bytes
Maarten van Steenbergen <steenbrg@phys.uu.nl> wrote:

> Hi newsreaders, :-)
> 
> It bothers me that when newsreaders do quoting, they transform:
> Hello
> into:
> > Hello
> when the quoting char = '> '. So far so good. But:
> > Hello
> becomes:
> > > Hello
> this is fixed when quoting char='>', but then:
> Hello
> becomes:
> >Hello  (ugly).
> 
> So i made a patch for slrn0.9.5.4 that does quoting correctly.
> I'd like to hear some constructive critisism about it, and please tell me if
> you like it or not.

There are different definitions of "correctly" - personally I subscribe
to the "always use '> ' for quoting" camp.

A much more serious problem is that most newsreaders don't handle
wrapping quoted lines while keeping the quote prefix.  Of course with a
lot of unix newsreaders this is left up to the editor, but I believe
that the newsreader should give the editor a quoted (and wrapped if
necessary) article -- of course not everybody agrees with that either.

-- 
John Moreno 

Re: patch for slrn0.9.5.4
#45014
Author: Jeroen Scheerder
Date: Wed, 02 Dec 1998 00:00
27 lines
1967 bytes
John Moreno <phenix@interpath.com>:

> A much more serious problem is that most newsreaders don't handle
> wrapping quoted lines while keeping the quote prefix.

Equally worse: functionality as quote-level sensitive coloring, "skip to
next unquoted section", "suppress quoted levels >= _n_", etcetera -- all
functionality built on the possibility of recognizing and assessing
quoted parts is lost, in principle -- although in practice some smart
regular expressions can be devised that happen to catch a considerable
part of broken quotation methods, while not mistaking too much
non-quoted unquoted lines for quoted material.

Using '>' (or '> ', or a combination of both, one for "new" quoting, the
other for "already quoted text quoting") is basic RFC compliance.  A
thing not to be messed with.

Allowing RFC violation by configuration is not a feature, but a serious
bug; software just shouldn't do that.


-- J$
-- 
dash dash space
this is my .sig                                         it's not so .big

Re: patch for slrn0.9.5.4
#45036
Author: Maarten van Steenbergen
Date: Thu, 03 Dec 1998 00:00
27 lines
1752 bytes
Bek Oberin <gossamer@netizen.com.au> wrote:
> Maarten van Steenbergen (steenbrg@phys.uu.nl) wrote...
>> So i made a patch for slrn0.9.5.4 that does quoting correctly.
>> I'd like to hear some constructive critisism about it, and please tell me if
>> you like it or not.
>> The changes go to the art.c file. I put a modified art.c on:
>> http://www.phys.uu.nl/~steenbrg/art.c

> It'd be nicer if you could put a unified diff up, but the idea
> is great.  That's the quoting style I prefer too :)

I don't know much about diff, but I doubt such a diff could be used on a file
that's pretty different from slrn0.9.5.4's art.c.
So if you have another art.c, you can diff it against that and see where the
quoting-patch is, and then you can apply that manually. Humans are more
intelligent than machines :-)


Regards,

Maarten

-- 
         Maarten van Steenbergen <steenbrg@phys.uu.nl>
   -----=====* http://www.phys.uu.nl/~steenbrg/ *=====-----

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