ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] The bad old days, and the delay after hitting C-t...


From: Jonathan Walther
Subject: Re: [RP] The bad old days, and the delay after hitting C-t...
Date: Wed Nov 21 10:38:02 2001
User-agent: Mutt/1.3.23i

Fortunately the code for keylaunch is very short.  It's not hard to
read.  Its just very simplistic and amateurish for the kind of things we
might want to do with it.

The first thing I thought when reading it was "we need to implement
keymaps like in emacs". Then keystrokes would be able to execute
actions, OR switch keymaps.  And there needs to be a data structure
storing all the keystrokes in the sequence, so if you type something
that isn't in a keymap, it sends all the keystrokes to where they would
have gone before.

keylaunch doesn't handle escaping at all.  If you bind M-m in keylaunch,
thats it, you are through.  Theres no way to "escape" it and send that
keystroke to the underlying app.  Unless maybe we create yet another
small app, xsend?

I think if we just do the keystroke handling correctly, we should keep
it in ratpoison.  It sucks to start the window manager and not be able
to do anything.  Or worse, if keylaunch dies, and you are in your mozilla
window and no xterms are open...

Jonathan

On Wed, Nov 21, 2001 at 08:21:18PM +1100, Ben Leslie wrote:
> The code for keylaunch is currently pretty ugly, but if anyone
> is interested and actually knows how X progamming works I can 
> make it available.

Attachment: pgp597yeVyWUf.pgp
Description: PGP signature


reply via email to

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