[dwm] [dvtm-patch] Fix for the alt keystrokes

From: Claudio M. Alessi <smoppy_AT_gmail.com>
Date: Sun, 17 Feb 2008 23:38:19 +0100

   i was frustrated to not be able to use my usual
alt+<n> keys combination in WeeChat, ELinks, bash,
and so forth. This due to a problem related to the
way dvtm handles the input which forced me to type
another key before the alt+<n> have any effect.

I decided to try to solve the problem by playing a
bit with the code and finally i found a way, here.
I hope it's a solution (not an hack) which, maybe
with some change, may work without cause any other
problems. At least it works great here!

Now i'm able to use alt+<n> with bash, alt+r which
clear the current line, using "unlucky" ELinks key
combinations, switch the channels on WeeChat (and
irssi) and so forth. Also there is a new (useles?)
constant ESC which may be used in config.h or so.

The patch is very little (only three lines) and it
is based on the latest release rather than the git
one. Any improvement of course is very appreciated.

Hope this helps.

Claudio M.
Version: 3.1
GCS/MU d-@ s: a--> C++(+++) UB++>$ P+> !L E--- W++(+++)
N+@ o--> K? w+@> O-@> M- V? PS+@ PE+@ Y+ PGP> t(-)@ 5?
X+ R? tv-- b+> DI-- D? G e+@> h--@> r y*

Received on Sun Feb 17 2008 - 23:38:53 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:20:30 UTC