Christian Ebert | 2 Jan 2010 23:20
X-Face
Picon
Gravatar

Re: Keyboard remapping

* Chris Jones on Saturday, January 02, 2010 at 15:47:21 -0500
> 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.

Yeah, I wasn't sure what you wanted, but unfortunately I am quite
sure that you won't get it ;-), see below.

> 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?

(Continue reading)

Chris Jones | 2 Jan 2010 23:53
Picon

Re: Keyboard remapping

On Sat, Jan 02, 2010 at 05:20:51PM EST, Christian Ebert wrote:
> * Chris Jones on Saturday, January 02, 2010 at 15:47:21 -0500

[..]

> Yeah, I wasn't sure what you wanted, but unfortunately I am quite
> sure that you won't get it ;-), see below.

;-)

I'm just trying to make my interface a little more consistent across the
board.

> > 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?

> I don't think there is a corresponding function for *half*-down/up
> in slrn.

I did look around a bit and I didn't find anything either.

> You can configure keybindings in your slrnrc, the above would be:
> 
> setkey article article_page_up "k"
> 
> But probably you're rather looking for header_page_up.

I only access usenet for one group and there are times I think I should
(Continue reading)


Gmane