Re: Keyboard remapping

Chris Jones <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On Sat, Jan 02, 2010 at 09:07:58AM EST, Christian Ebert wrote:
> * 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.

Thanks, just getting a prompt of some form or other was the first
hurdle. I tested the above and though it's not doing what I want, it
definitely does something, and now I can start to play with this.

I didn't see any sign anywhere that slrn supports half-screen paging as
mutt does. Would you happen to know if there is any way I can enable
this and bind for instance half-up & half-down to Ctrl-U & Ctrl-D?

In more general terms, I guess this is all documented in the slrn
manual, or do I need to look a lus doc as well?

Thanks,

CJ

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.