🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22164

Re: SLRN: observations and questions ...

#22164
From: Sven Guckes
Date: Tue, 28 May 1996 00:00
83 lines
4151 bytes
conrad@Conrad.Harvard.EDU (Conrad C. Nobili):
> Detecting quoted text in a message is not easy in the absence of common
> behavior of all news readers when *producing* quoted text.  The slrn
> heuristics and coloring are quite nice.  There are a few places where
> I'm sure you've all seen the heuristics fail though.

Right, SLRN's default value for "ignore_quotes" does not catch all "quotes".
That's why chose to use this value:
  ignore_quotes "^ ? ?[->#:|)}=+%\xBB]+"

Let me explain this string looks for:
"^"		start of line
" ?"		space possible (so " ? ?" means "at most two spaces")
"[]"		set of characters
"+"		at least one of the previous group
		in this case:  one of the characters in the set
Note:		the dash/minus ('-') is used to specify a "range"
		it is used as the first characters to be taken literally.
		the "\x" defines the following two characters as a hex value
		"\xBB" stands for the character "�".

If you use SLRN and the value of ignore_quotes above then the following
lines should all appear as quotes:

> standard quoted text
 > standard quoted text with one leading space
  > standard quoted text with two leading spaces
%   text quoted with a  percent character     ('%')
+   text quoted with a  plus    character     ('+')
=   text quoted with an equal   character     ('=')
-   text quoted with a  minus   character     ('-')
#   text quoted with a  hash    character     ('#')
:   text quoted with a  colon   character     (':')
|   text quoted with a  bar     character     ('|')
)   text quoted with a closing parenthese     (')')
}   text quoted with a closing curly bracket  ('}')
�   text quoted with a double  right bracket  ('�')

The following lines should not appear as quotes:
   > standard quoted text with three leading spaces

The variable/option "ignore_quotes" allows up to five such strings
but I have found that there must be an error with it when using two or more.

> Multiple colorings for the different levels of quoting might be an
> interesting experiment.

Sure is.  It's on my wishlist.  But I know that will not always display the
true quote level as the quoted text may add a bogus quote level by using the
characters used for quoting.

> It would be nice to have some indicator of the number of lines below the
> bottom of a message screen.  And some sort of visual indicator that there
> are lines off screen at all -- the same semantics as the white/grey scroll
> bar on a Mac window.

It's on the wishlist - but it asks for marking lines after the end of the
text with '~' (as vi does).

> Relatedly, it would be very nice if, when scrolling a message window line
> by line, it stopped moving when the last line of the message appears at
> the bottom of the screen, rather than just before it disappears off the
> top of the screen.

I have added this to the wishlist, too.

> I did look in the slrn files for a TODO list or something but didn't find one.

Correct - there is no TODO list in the distribution.
Therefore I have gathered a few of JED's posts on this
newsgroup and present them on my SLRN page.

Sven

-- 
Sven Guckes@math.fu-berlin.de using SLRN 0.8.8.2 [released 960523]
SLRN Home Page:     http://space.mit.edu/~davis/slrn.html
SLRN FAQ on WWW:    http://space.mit.edu/~davis/slrn-FAQ.html
SLRN Manual on WWW: http://www.wp.com/TNTCONSULTING/slrn.html


Technical Details
Message-ID: <slrn4qm7br.sjj.guckes@hypathia.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn4qkl4q.nb1.conrad@Conrad.Harvard.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4qm7br.sjj.guckes@hypathia.math.fu-berlin.de>
Subject: Re: SLRN: observations and questions ...
Date: Tue, 28 May 1996 00:00:00 +0000
From: guckes@hypathia.math.fu-berlin.de (Sven Guckes)
References: <slrn4qkl4q.nb1.conrad@Conrad.Harvard.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 157166224
Content-type: text/plain; charset=iso-8859-1
Organization: Freie Universitaet Berlin
X-access: 16 17 19
Mime-version: 1.0
Reply-to: guckes@math.fu-berlin.de
Newsgroups: news.software.readers