Re: Keyboard remapping
Christian Ebert <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Organization | Black Trash Productions http://www.blacktrash.org/ |
| Message-ID | <[email protected]> |
* Chris Jones on Saturday, January 02, 2010 at 03:34:14 -0500
> Is there any way I can issue 'setkey' commands when in slrn, so as to
> test keyboard remappings.
>
> In mutt for instance, say I want to make Ctrl-D page down one half
> screen, I would type ':' to open the command line, and enter something
> like 'bind generic half-down'.
>
> Is this possible with slrn?
You could do this with the definekey function at the slang prompt
(bound to ^X\e (Ctrl-X Esc) by default iirc):
S-Lang> definekey ("call(\"article_page_up\")", "k", "article");
^^^^^^^
that's the prompt you get.
c
--
\black\trash movie _C O W B O Y_ _C A N O E_ _C O M A_
Ein deutscher Western/A German Western
--->> http://www.blacktrash.org/underdogma/ccc.php
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev