Thread View: news.software.readers
7 messages
7 total messages
Started by Conrad C. Nobili
Tue, 28 May 1996 00:00
SLRN: observations and questions ...
Author: Conrad C. Nobili
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
56 lines
3355 bytes
3355 bytes
I just got slrn 0.8.8.2 a few hours ago. I like it a lot -- pretty neat! A couple of observations and questions though.... 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. Lines starting with From in the middle of otherwise-unquoted text are an example where one could probably win by making the heuristics err in the other direction. (Gee, I hope that example works. I haven't thought it out to be sure it will, but I think you all get the point anyway.) Multiple colorings for the different levels of quoting might be an interesting experiment. I don't know if that would "work" UI-wise though. 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. 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. And what about other possibilities for the threading order...? Obviously one wants to follow threads depth-first. But I think that when there is a choice of a number of branches one should deal with the shallowest ones first. This makes it semi-breadth-first I guess. Or shallowest-first depth-first. Or something. Is there a term for this? Am I making any sense? I think this would help in the common situation where a post generates several responses, and one of them generates a really deep thread (a flame, which for the sake of this argument the user wants to read). If one is shunted down this long thread first, by the time one reads off the end of it and gets back to the shallower branches, one has very possibly forgotten the original post and context. This could be avoided I think by making some subtle changes to the thread-ordering that slrn does. I haven't looked at the code yet, but I'm pretty sure I could find and figure out how to do what I describe. Nah, I just did look at the code -- now I remember why I don't like C! ;-) Anyway, those are just my first few hours' observations. I hope they haven't been rehashed here endlessly. I did look in the slrn files for a TODO list or something but didn't find one. I posted here because it seemed like that was what JED wanted. --cn -- Conrad C. Nobili N1LPM Conrad_Nobili@Harvard.EDU Harvard University OIT
Re: SLRN: observations and questions ...
Author: Sven Guckes
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
83 lines
4151 bytes
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
Re: SLRN: observations and questions ...
Author: Conrad C. Nobili
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
21 lines
1319 bytes
1319 bytes
In article <slrn4qkl4q.nb1.conrad@Conrad.Harvard.EDU>, Conrad C. Nobili wrote: >I'm sure you've all seen the heuristics fail though. Lines starting with >From in the middle of otherwise-unquoted text are an example where one >could probably win by making the heuristics err in the other direction. >(Gee, I hope that example works. I haven't thought it out to be sure it >will, but I think you all get the point anyway.) Obviously the example didn't work, but in some cases where the post comes >From a mail-to-news gateway, this is the result. Of course it looks a bit funny in slrn. --cn -- Conrad C. Nobili N1LPM Conrad_Nobili@Harvard.EDU Harvard University OIT
Re: SLRN: observations and questions ...
Author: Steve Lamb
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
26 lines
1808 bytes
1808 bytes
On 28 May 1996 01:19:23 GMT, Conrad C. Nobili <conrad@Conrad.Harvard.EDU> wrote:
>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.
The lower right corner has a display which shows the number of lines
total, which line the top of the screen is on, and the ratio of the message
read. Personally, I'd like to see it configurable to have the bottom line
be the marker. When at the first screen of a message 1/60 (1%) is false
because I'm going to read to the bottom of the screen, which may be 50%, or
10%, or 5%. Either that or have slrn NOT move to the next message when
pressing space at the bottom of a message. For those who do not have
.signatures. Also make that configurable.
--
---- = ----
Steve C. Lamb...
This is not like TV only better. This is life. It's a piece of
somebody's life. Pure and uncut, straight from the cerebral cortex.
You're there. You're doing it, seeing it, hearing it... feeling it.
Re: SLRN: observations and questions ...
Author: Olly Betts
Date: Wed, 29 May 1996 00:00
Date: Wed, 29 May 1996 00:00
31 lines
1779 bytes
1779 bytes
In article <slrn4qkl4q.nb1.conrad@Conrad.Harvard.EDU>, Conrad C. Nobili wrote:
>It would be nice to have some indicator of the number of lines below the
>bottom of a message screen.
Here's a patch I did a while ago. It isn't exactly what you're asking for
-- what it does is to display "(All)" instead of "(Top)" if the whole
message is visible, so "(All)" or "(Bot)" now means you're at the bottom of
the message (and the group list, since that uses this code too). This would
probably be the place to patch in a "number of lines to go" count.
The patch is for an older version, but applies cleanly to 0.8.8.2.
--- misc.c~ Wed May 8 10:53:09 1996
+++ misc.c Thu May 9 12:14:17 1996
@@ -161,7 +161,7 @@
SLsmg_printf ("-- %d/%d", n, nmax);
if (n == 1)
{
- SLsmg_printf (" (Top)");
+ SLsmg_write_string ( (n + width > nmax) ? " (All)" : " (Top)" );
}
else if (n + width > nmax) SLsmg_write_string(" (Bot)");
else SLsmg_printf(" (%d%%)", ((n + width - 1) * 100) / nmax);
Olly
--
cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Re: SLRN: observations and questions ...
Author: Olly Betts
Date: Wed, 29 May 1996 00:00
Date: Wed, 29 May 1996 00:00
49 lines
2619 bytes
2619 bytes
In article <slrn4qmttl.54o.morpheus@web2.calweb.com>, Steve Lamb wrote: > The lower right corner has a display which shows the number of lines >total, which line the top of the screen is on, and the ratio of the message >read. Personally, I'd like to see it configurable to have the bottom line >be the marker. When at the first screen of a message 1/60 (1%) is false It would be if slrn worked like that. If you're at the very top of the message, it'll say "1/60 (Top)". If you scroll by one line (using 'Return' say), you'll get something like "2/60 (30%)" (the exact value will depend on the number of lines in your article window). >because I'm going to read to the bottom of the screen, which may be 50%, or >10%, or 5%. Indeed, and slrn *already* calculates the percentage this way. It's not just the (2/60) expressed as a percentage. >Either that or have slrn NOT move to the next message when >pressing space at the bottom of a message. Have you tried these in your .slrnrc? They ask for confirmation before moving onto the next message (or group if there isn't a next message) from the bottom of a message. % Setting either of these to 0 will enable you to move directly to the % next article/group without confirmation set query_next_group 1 set query_next_article 1 >For those who do not have >.signatures. Also make that configurable. I'm not sure what you're asking for, but it sounds like you might like the (apparently currently undocumented) .slrnrc option: set ignore_signature 1 which makes slrn regard the article as ending at the .signature (so you don't page into a screen which only has the .signature on, but you can still scroll into the signature using 'Return'). It uses the same criteria as the colouring for deciding what's a .signature. Olly -- cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Re: SLRN: observations and questions ...
Author: Conrad C. Nobili
Date: Wed, 29 May 1996 00:00
Date: Wed, 29 May 1996 00:00
83 lines
3970 bytes
3970 bytes
In article <slrn4qm7br.sjj.guckes@hypathia.math.fu-berlin.de>, Sven Guckes wrote: >conrad@Conrad.Harvard.EDU (Conrad C. Nobili): >Right, SLRN's default value for "ignore_quotes" does not catch all "quotes". >That's why chose to use this value: > ignore_quotes "^ ? ?[->#:|)}=+%\xBB]+" OK, thanks. I guess it's a very simple pattern match. Unfortunately, to fix many of the little annoyances I've seen one needs the power of something like awk rather than this sed-like pattern match. Another example of where this quote-detection mechanism fails is when someone's brain-damaged news or mail program wraps the quoted text. It's not possible with this simple pattern match mechanism to distinguish the ends of the lines from line by line comments. >Let me explain this string looks for: I can actually speak reasonably hairy sed, but thanks! ;-) >> 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. Well, this isn't a new problem brought on by coloring different levels differently. If the problem of quote-recognition above is solved then I think this will just fall out of it as a cute freebie. Here's an evil thought -- if the quote-detecting mechanism gets confused it can research the matter by looking back through the references! ;-) >> 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). I think it would be better simply to have a down-pointing arrow or something to suggest there's more text below. Then, with the scroll-limits discussed below there would be no need for those ugly twiddles. >> 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. Of course if the user is "scrolling" through the message in page-by-page mode, then one might want *not* do do something special on the last (partial) page. I.e., in this case allow this last partial page to end partway down from the top. Just don't let it scroll further. You could do twiddles here, but I think they're really ugly myself. If the little down-pointing arrow isn't sufficient, how about another screen color (black?) for the "void" past the last text? Let the non-color people have the ugly twiddles. ;-) >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. Thanks, this sounds great! I'll have a look at it soon.... --cn -- Conrad C. Nobili N1LPM Conrad_Nobili@Harvard.EDU Harvard University OIT
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