Thread View: news.software.readers
3 messages
3 total messages
Started by Ian Macdonald
Tue, 17 Jun 1997 00:00
Trying to bind numeric + and - in slrn
Author: Ian Macdonald
Date: Tue, 17 Jun 1997 00:00
Date: Tue, 17 Jun 1997 00:00
19 lines
1157 bytes
1157 bytes
Hi, 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. Ian -- Ian Macdonald | Don't give in to spammers. http://www.xs4all.nl/~ianmacd/ | Use your real e-mail address Linux 2.0.30 on an i686 | on Usenet.
Re: Trying to bind numeric + and - in slrn
Author: James Lloyd Hill
Date: Tue, 17 Jun 1997 00:00
Date: Tue, 17 Jun 1997 00:00
28 lines
1674 bytes
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_
Re: Trying to bind numeric + and - in slrn
Author: Ian Macdonald
Date: Tue, 17 Jun 1997 00:00
Date: Tue, 17 Jun 1997 00:00
26 lines
1825 bytes
1825 bytes
Op 17 Jun 1997 16:15:35 GMT schreef James Lloyd Hill <j-hill5@ehsn27.cen.uiuc.edu>: >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. Thanks James, but I usually run slrn under X, and for aesthetic reasons I'd rather customise slrn to its environment than the environment to X. Who knows, maybe I've got an app somewhere that relies on the numeric + and - having their original bindings. In fact, maybe the problem only occurs under X. I'll have to check that. (Just checked and it _is_ X specific, so nothing to do with slrn.) Ian -- Ian Macdonald | Don't give in to spammers. http://www.xs4all.nl/~ianmacd/ | Use your real e-mail address Linux 2.0.30 on an i686 | on Usenet.
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