🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47897

Re: up and down in article mode

#47897
From: Stephane Gibier
Date: Sat, 10 Apr 1999 00:00
27 lines
1865 bytes
tony summerfelt <tsummerfelt1@myspleenhome.com> wrote :

[ ... snip ... ]

> definekey ("article_smartup", "\xE0H", "article" );
> definekey ("article_smartdn", "\xE0P", "article" );

> but it doesn't scroll one line up or down in article mode. this one
> has me stumped. slrn is completely ignoring the new key assignments
> and using the old ones. and i have those commentd out in my slrn.rc
> file :)

At first check the key code returned by your terminal for the Up and
Down arrows (the best way is to use the Ctrl-V feature of bash). When I
have posted these �smartkeys�, I used the XFree86's xterm with a PC102
french keyboard so my key codes are the following :

definekey( "article_smartup", "\e[A", "article" );	% Up
definekey( "article_smartdn", "\e[B", "article" );	% Down
definekey( "article_smartpgup", "\e[5~", "article" );	% PageUp
definekey( "article_smartpgdn", "\e[6~", "article" );	% PageDown

Just check the key codes.
Hope this helps.


Technical Details
Message-ID: <slrn7guhk8.1vh.sgibier@hermes.olympus.fr>
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: <slrn7gaauf.3vvhhhb.tsummerfelt1@co146453-a.kico1.on.wave.home.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7guhk8.1vh.sgibier@hermes.olympus.fr>
Subject: Re: up and down in article mode
Date: Sat, 10 Apr 1999 00:00:00 +0000
From: sgibier@mail.dotcom.fr (Stephane Gibier)
References: <slrn7gaauf.3vvhhhb.tsummerfelt1@co146453-a.kico1.on.wave.home.com>
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: 464793368
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@wanadoo.fr
X-Trace: wanadoo.fr 923753980 12533 164.138.60.239 (10 Apr 1999 14:19:40 GMT)
Organization: Olympus
Mime-Version: 1.0
User-Agent: slrn/0.9.5.4 (UNIX)
NNTP-Posting-Date: 10 Apr 1999 14:19:40 GMT
Newsgroups: news.software.readers