🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by fish Mon, 14 Sep 1992 19:36
why can't you use your own $PAGER in nn???
#3080
Author: fish
Date: Mon, 14 Sep 1992 19:36
12 lines
1228 bytes
why can't you use your own $PAGER (more or less or whatever)
in nn? the builtin just doesn't cut it (is it supposed to repeat 
the first two lines when it scrolls and you have to hit three
keys to go to the top {G1<ret>} )

	thanx,
		fish
--
John R. Vanderpool                INTERNET: fish@daacdev1.stx.com
NASA/GSFC                         VOX: 301-513-1683                
Hughes/STX Corporation            FAX: 301-513-1608
"fools in love, they're less than zeros, I should know..." -jjjj
Re: why can't you use your own $PAGER in nn???
#3086
Author: Sven Guckes
Date: Tue, 15 Sep 1992 12:06
13 lines
1187 bytes
fish@daacdev1.stx.com writes:

>why can't you use your own $PAGER (more or less or whatever)
>in nn? the builtin just doesn't cut it (is it supposed to repeat 
>the first two lines when it scrolls and you have to hit three
>keys to go to the top {G1<ret>} )

Use "^" to return to the top of the article you read.
Use "?" to see the short help screen.
Use ":man" to read the manual.
Use "man nn" at shell level to RTFM.

Add smilies as preferred. :)
Re: why can't you use your own $PAGER in nn???
#3088
Author: Dave Wolfe
Date: Tue, 15 Sep 1992 17:47
32 lines
2198 bytes
In <fish.716499414@news2.gsfc.nasa.gov> fish@daacdev1.stx.com writes:

>why can't you use your own $PAGER (more or less or whatever)
>in nn? the builtin just doesn't cut it (is it supposed to repeat 
>the first two lines when it scrolls and you have to hit three
>keys to go to the top {G1<ret>} )

Sounds to me like you have a mismatch between your terminal/window
behavior and the declared TERM setting such that when nn tries to
highlight/underline the last line from the previous screen it repeats
them on separate lines instead.  Or perhaps a broken terminal
emulator.  Not normal behavior in any case.

As for having to enter 3 keystrokes to go to the top, I define this key
mapping (among others) in my ~/.nn/init file:

    map show g page=1

I wouldn't mind being able to use less to read news, but then we'd buy
into all the problems elm has using a separate viewer, such as having
to exit the viewer to enter commands (BIG problem w/ nn, since exiting
the viewer normally means "view the next article or menu"), uncontrolled
shell escapes (a real problem for some installations), etc.  Maybe
someone will come up w/ a general viewer protocol that would enable
cooperating viewers and parent processes to communicate such things in
a non-application-specific way.  I gave up on it when I decided that
less was probably the only viewer that would implement such a feature
and it was easier to just embed less in elm and nn.

-- 
 Dave Wolfe   | 6501 William Cannon Dr. W. | (512) 891-3246
 Motorola SPS | Austin, TX  78735-8598     | dwolfe@pets.sps.mot.com
Re: why can't you use your own $PAGER in nn???
#3124
Author: Kristian Koehntopp
Date: Fri, 18 Sep 1992 18:34
22 lines
1874 bytes
In <fish.716499414@news2.gsfc.nasa.gov> fish@daacdev1.stx.com writes:
>why can't you use your own $PAGER (more or less or whatever)
>in nn? the builtin just doesn't cut it (is it supposed to repeat 
>the first two lines when it scrolls and you have to hit three
>keys to go to the top {G1<ret>} )

You can set the number of overlapping lines with ":set overlap
<number of lines to be repeated>". The default overlap value is
2. You may want to change this.

You reach line 1 of a posting by simply hitting "^" which
happens to be the top-left key on my keyboard, just below ESC.
In article selection mode "^" takes you to the first selection
screen.

Hitting "$" takes you to the last line of a posting or the last
screen in article selection mode.

Kristian
-- 
Kristian Koehntopp, Harmsstrasse 98, FRG W-2300 Kiel, +49 431 676689
this signature rescued by the .sigfile liberation front
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