Re: Some keys are not properly recognized in Konsole/xterm

On Mon, 1 Feb 2010, Miguel Pérez wrote:

Interesting, I'm using Konsole from KDE 3.5 (KDE 3.5.10, Qt 3.3.8b, Konsole
1.6.6) which doesn't have a "konsole" map nor my terminfo database (which
came in the Ubuntu package ncurses-base 5.6+20071124-1ubuntu2) has an entry
for konsole.

In Debian, that (and gnome, etc), are in ncurses-term


The often-presented argument that installing ncurses-term involves a large amount of diskspace loses effect when compared to a "minimal" install of KDE or GNOME (several hundred megabytes).

2010/2/1 Thomas Dickey <dickey his com>

On Mon, 1 Feb 2010, Thomas Dickey wrote:

 On Mon, 1 Feb 2010, Miguel Pérez wrote:

 I love the ability to customize keybindings in 4.7. However, I've noticed
some keys cannot be bound because they aren't recognized properly by
Midnight Commander. When you hit an unrecognized sequence, mc will simply
skip the escape sequence up to a point and print the rest of it.

I'm using Konsole, set to the xterm (XFree 4.x.x) keyboard, and $TERM is
xterm. These are the key combinations that produce escape sequences but
aren't recognized by mc. Everything else either works, or doesn't produce

konsole doesn't send escape sequences that match xterm.
Use "infocmp konsole xterm" to see this.

...of course that's assuming that mc relies on the terminal description
(I seem to recall some discussion where it's using separate configuration

Assuming that it's actually using the terminal description, e.g., from
ncurses, then mismatches would be due to (a) not using TERM=konsole, and (b)
futher mismatches might be due to differences between the current konsole
application and the ncurses description.

A quick check (using tack and TERM=konsole for konsole 2.3.2) shows no

Thomas E. Dickey

Antes de imprimir este correo electrónico, considera tu responsabilidad

Please consider your environmental responsibility before printing this

Thomas E. Dickey

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