[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: |
Sun, 6 Feb 2005 14:44:11 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
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)
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.
Known bugs for now is that it kills rp when feeded a key symbol that
doesn't exist.
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
To crash your ratpoison type
:keypress UmgebrachenMirBitte
Any comments?
--
/Martin
rp-oldbranch-keypress.diff
Description: Text document
- Re: [RP] Sending of any key in top keymap,
Martin Samuelsson <=
- Re: [RP] Sending of any key in top keymap, Joe Corneli, 2005/02/07
- Re: [RP] Sending of any key in top keymap, Martin Samuelsson, 2005/02/08
- Re: [RP] Sending of any key in top keymap, Joshua Neuheisel, 2005/02/08
- Re: [RP] Sending of any key in top keymap, Joe Corneli, 2005/02/08
- [RP] printing output to terminal?, Joe Corneli, 2005/02/08
- Re: [RP] printing output to terminal?, Trent Buck, 2005/02/08
- 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