Article View: news.software.readers
Article #69398Re: slrn keybinding question
From: Sylvan Butler
Date: Tue, 19 Dec 2000 19:01
Date: Tue, 19 Dec 2000 19:01
44 lines
2260 bytes
2260 bytes
On 14 Dec 2000 01:23:25 GMT, Neuromancer <Please@nlyReplyTo.Group> wrote:
>How do I set up the arrow keys to scroll up and down a message one line
>at a time while still allowing them to work the way they should in the
>article view with no message displayed?
Create a macro that checks is_article_visible() and does the proper
action. Map the arrow to the macro. Something like:
-----------
define tin_article_down ()
{
if (is_article_visible ())
{
call ("article_linedn"); % spirit of tin anyway ;)
}
else
{
ERROR_BLOCK
{
_clear_error ();
header_bob ();
}
call ("down");
return;
}
}
-----------
>By the way, I'm not concerned if the solution doesn't allow me to scroll
>down the article list WITH a message open (as I know this would no
>longer work).
Yup. (Though you could maybe do somehting intelligent inthe macro...
Perhaps check for prefix arguments (ESC-1-ARROW).
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
"Don't Tread On Me!"
Technical Details
Message-ID:
<slrn93vc3s.o8.Znospam+noZs_0100@hpb13799Z.Zboi.hpZ.com.invalid>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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!sdd.hp.com!hp-corv.cv.hp.com!hpb10302.boi.hp.com!Znospam+noZs_0100References:
<slrn93g87u.17n.neuromancer@HAL-9000.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn93vc3s.o8.Znospam+noZs_0100@hpb13799Z.Zboi.hpZ.com.invalid> Subject: Re: slrn keybinding question Date: Tue, 19 Dec 2000 19:01:39 +0000 From: Znospam+noZs_0100@hpb13799Z.Zboi.hpZ.com.invalid (Sylvan Butler) References: <slrn93g87u.17n.neuromancer@HAL-9000.net> 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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!sdd.hp.com!hp-corv.cv.hp.com!hpb10302.boi.hp.com!Znospam+noZs_0100 Newsgroups: news.software.readers Organization: Hewlett-Packard Mail-Copies-To: never User-Agent: slrn/0.9.6.2 (Linux) NNTP-Posting-Host: hpb13799.boi.hp.com X-Trace: 19 Dec 2000 12:01:39 -0700, hpb13799.boi.hp.com Lines: 43