Thread View: news.software.nn
4 messages
4 total messages
Started by Stefan Kurth
Tue, 16 Nov 1993 00:14
Suggestion for minor improvement
Author: Stefan Kurth
Date: Tue, 16 Nov 1993 00:14
Date: Tue, 16 Nov 1993 00:14
13 lines
1095 bytes
1095 bytes
In reading mode, I think nn should not scroll farther up than necessary; i.e. when I'm looking at the first 23 lines of a 27-line article, pressing SPC (or `d') should scroll up just four lines rather than displaying those last four lines at the top, leaving the rest of the screen blank. Shouldn't it? -Stefan -- _____________________________________________________________________ Stefan Kurth Berlin, Germany stk@contrib.de
Re: Suggestion for minor improvement
Author: Nancy McGough
Date: Thu, 18 Nov 1993 05:56
Date: Thu, 18 Nov 1993 05:56
35 lines
2137 bytes
2137 bytes
stk@uropax.contrib.de (Stefan Kurth) writes:
>In reading mode, I think nn should not scroll farther up than
>necessary; i.e. when I'm looking at the first 23 lines of a 27-line
>article, pressing SPC (or `d') should scroll up just four lines rather
>than displaying those last four lines at the top, leaving the rest of
>the screen blank.
I agree. That's why I've got the following in my init file:
---begin excerpt of ~/.nn/init---
# Don't erase penultimate page; scroll it and display last page
# below it. (Assumes lines on screen is just a few more than 18.)
set scroll-last-lines 18
---end excerpt of ~/.nn/init---
FYI, here's the section from the man pages on this variable.
scroll-last-lines N (integer, default 0)
Normally, nn will show each new page of an article from the top of
the screen (with proper marking of the overlap). When this vari-
able is set to a negative value, nn will scroll the text of the new
pages from the bottom of the screen instead. If it is set to a
positive value, nn will show pages from the top as usual, but
switch to scrolling when there are less than the specified number
of lines left in the article.
I hope this helps,
Nancy
--
nancym@u.washington.edu
Re: Suggestion for minor improvement
Author: Michael Stoodt
Date: Fri, 19 Nov 1993 16:05
Date: Fri, 19 Nov 1993 16:05
24 lines
1960 bytes
1960 bytes
stk@uropax.contrib.de (Stefan Kurth) writes: >In reading mode, I think nn should not scroll farther up than >necessary; i.e. when I'm looking at the first 23 lines of a 27-line >article, pressing SPC (or `d') should scroll up just four lines rather >than displaying those last four lines at the top, leaving the rest of >the screen blank. > >Shouldn't it? No it shouldn't. Maybe if you've got a terminal that scrolls slowly, you can follow the movement of the lines and keep your place (and watching it scroll all the way to the top would be a noticable waste of time); but if your terminal "jump" scrolls, clears the screen between pages, or scrolls very quickly, you need the new lines to be placed at a consistant location on the screen so you know where to resume reading. Maybe since nn highlights (underlines) the last line from the previous page one could adjust to looking for that cue; but I hate programs where there's no such indication and I have to scan through three-quarters of the screenful to find where I just was. -- Michael A Stoodt [MaS] | mumble mumble disclaimer mumble... stoodt@cis.umassd.edu | "Will the last person to leave the planet Comp&InfoSci, UMassDartmouth | please turn off the sun?" - Mike Resnick
Re: Suggestion for minor improvement
Author: Stefan Kurth
Date: Fri, 19 Nov 1993 18:56
Date: Fri, 19 Nov 1993 18:56
38 lines
2316 bytes
2316 bytes
nancym@u.washington.edu (Nancy McGough) writes: > stk@uropax.contrib.de (Stefan Kurth) writes: > >In reading mode, I think nn should not scroll farther up than > >necessary; i.e. when I'm looking at the first 23 lines of a 27-line > >article, pressing SPC (or `d') should scroll up just four lines rather > >than displaying those last four lines at the top, leaving the rest of > >the screen blank. > > I agree. That's why I've got the following in my init file: > > set scroll-last-lines 18 Yes, thanks for the hint, but this is not exactly what I suggested (pretty close, though :-) As far as I understand, the scroll-last-lines variable's purpose is to maximize the display speed for a particular terminal. For example, if your terminal were very slow at scrolling, but reasonably fast at just displaying lines, you would set scroll-last-lines to a small value, say 3 or 4. This would possibly cause nn to sometimes redisplay something that is already on the screen, which is ok if that is faster on your terminal. But still you wouldn't want nn to scroll past the end of the article, would you? (Look at how `less' handles this, and you'll understand what I mean.) Apart from that, 'd' scrolls _always_ half a page, even if it wouldn't be necessary, and neither 'u' nor DEL seem to use scoll-last-lines at all, which they really should. So, my suggestion still holds... -Stefan -- _____________________________________________________________________ Stefan Kurth Berlin, Germany stk@contrib.de
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