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

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 a

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 issues.

Thomas E. Dickey

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