🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #3088

Re: why can't you use your own $PAGER in nn???

#3088
From: 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
Technical Details
Message-ID: <1992Sep15.174722.15507@oakhill.sps.mot.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!cs.utexas.edu!oakhill!dwolfe
References: <fish.716499414@news2.gsfc.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <1992Sep15.174722.15507@oakhill.sps.mot.com>
Subject: Re: why can't you use your own $PAGER in nn???
Date: Tue, 15 Sep 1992 17:47:22 GMT
From: dwolfe@oakhill.sps.mot.com (Dave Wolfe)
References: <fish.716499414@news2.gsfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!cs.utexas.edu!oakhill!dwolfe
Newsgroups: news.software.nn
Organization: Motorola Inc., Austin, Texas
Lines: 32