[Urwid] Problem with Alt/Meta key

Rebecca Breu rebecca at rbreu.de
Fri May 5 15:25:10 EDT 2006


Zitat von Ian Ward <ian at excess.org>:

> This sounds like the same problem I have when I use a real xterm in
> Linux without setting "Meta Sends Escape" (ctrl+left-click menu).

Running Suse Linux (where the Alt key works), this option has no effect, but
under FreeBSD I got the Alt key working the way I wish! :-) Wow, I never payed
much attention to those xterm settings.

But what to do in plain text consoles, when you don't have X running?
Same problem there...

> encodings that send characters in the range 128-255.  I chose to
> interpret this input as characters instead of meta+key sequences so that
> Urwid would support ISO-8859-*, EUC-*, and other encodings that use all
> 8 bits for their characters.

For the program I'm currently working on, I would prefer having Alt+<key>
to having characters higher than 128. If it can't be guaranteed that
you can have both at the same time, perhaps some sort of option would be nice,
so that everyone could choose the behaviour suitable for his purposes.

Anyway, I'm glad to know the source of the problem. :-)


Have a nice weekend,

Rebecca





More information about the Urwid mailing list