ratpoison-devel
[Top][All Lists]
Advanced

[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

Attachment: rp-keypress-20050226.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]