🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #34283

Re: Trying to bind numeric + and - in slrn

#34283
From: James Lloyd Hill
Date: Tue, 17 Jun 1997 00:00
28 lines
1674 bytes
Ian Macdonald wrote:

>I have the following two bindings in slrn.rc:
>
>setkey article  shrink_window   "-"     % Shrink header window
>setkey article  enlarge_window  "+"     % Enlarge header window
>
>which works for the normal + and - keys, but not for those on the
>numeric keypad. How do I specify those? I can't find an example in the
>docs.

I see from your headers and .sig that you're running Linux.  The easiest
way to accomplish what you want is to use the "loadkeys" program to make
the numeric "+" and "-" keys behave like the "real" ones.  Read the man 
pages for "showkey" (no 's') and "loadkeys" for a quick explanation of how 
to see what keycodes your keyboard uses and how to change them.  Drop me an
email if you still have trouble.


Jim
--
j-hill5@coewl.cen.uiuc.edu                http://www.swcp.com/~jimhill/
"Shut up, listen, and learn:  If you were in my toilet, I wouldn't flush
it.  You mean nothing.  Your thoughts mean nothing.  My bathmat means more
to me than you."  --  Kevin Spacey, _Swimming with Sharks_

Technical Details
Message-ID: <5o6d77$ihm$1@vixen.cso.uiuc.edu>
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: <slrn5qdb58.8b.ianmacd@caliban.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <5o6d77$ihm$1@vixen.cso.uiuc.edu>
Subject: Re: Trying to bind numeric + and - in slrn
Date: Tue, 17 Jun 1997 00:00:00 +0000
From: j-hill5@ehsn27.cen.uiuc.edu (James Lloyd Hill)
References: <slrn5qdb58.8b.ianmacd@caliban.xs4all.nl>
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: 249091255
Organization: University of Illinois at Urbana-Champaign
Newsgroups: news.software.readers