[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Sending of any key in top keymap
From: |
Martin Samuelsson |
Subject: |
Re: [RP] Sending of any key in top keymap |
Date: |
Sat, 26 Feb 2005 21:57:14 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
On Sun, Feb 06, 2005 at 02:44:11PM +0100, Martin Samuelsson wrote:
> On Mon, Dec 27, 2004 at 03:30:24AM +0100, Martin Samuelsson wrote:
> > On Mon, Dec 27, 2004 at 02:44:32AM +0100, Martin Samuelsson wrote:
> > > Would it be appropriate to make :meta accept an option for the keysum to
> > > send? Or what do you think?
> >
> > Well, this is buggy and stuff.
>
> Still buggy and only against the old branch, but slightly updated to
> work against cvs again. (I hope)
Once again updated against cvs. Now the feature of killing rp when
feeding :keypress with invalid data is gone. Hurray!
The text below still applies,
> Now no changes are made to the meta command. Instead a new command is
> introduced, keypress. It takes one argument, namely the key to be
> pressed. Which could be either a key in the top keymap or just any key
> at all.
>
> Examples,
>
> To simulate :meta just type
> :keypress C-t
>
> To maximize your firefox even when F11 is in your top keymap, type
> :keypress F11
>
> To play with a friend who forgot to logout his account, wait until he
> stares at his terminal without any fingers on the keyboard and use your
> access to his account typing
>
> % for key in S p o o o k y
> do
> ratpoison -c "keypress $key"
> sleep 1
> done
>
>
> Any comments?
> --
> /Martin
rp-keypress-20050226.diff
Description: Text document
- Re: [RP] printing output to terminal?, (continued)
- Re: [RP] printing output to terminal?, Joshua Neuheisel, 2005/02/09
- Re: [RP] printing output to terminal?, Shawn Betts, 2005/02/09
- Re: [RP] printing output to terminal?, Joe Corneli, 2005/02/09
- Re: [RP] printing output to terminal?, Joe Corneli, 2005/02/09
- Re: [RP] printing output to terminal?, Shawn Betts, 2005/02/10
- [RP] more with the scripts..., Joe Corneli, 2005/02/08
- Re: [RP] more with the scripts..., Martin Samuelsson, 2005/02/10
- Re: [RP] more with the scripts..., Joe Corneli, 2005/02/10
- Re: [RP] more with the scripts..., Trent Buck, 2005/02/10
- Re: [RP] more with the scripts..., Joe Corneli, 2005/02/10
Re: [RP] Sending of any key in top keymap,
Martin Samuelsson <=