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

/usr/share/terminfo/k/konsole-vt100
/usr/share/terminfo/k/konsole-16color
/usr/share/terminfo/k/konsole-linux
/usr/share/terminfo/k/konsole-256color
/usr/share/terminfo/k/konsole
/usr/share/terminfo/k/konsole-vt420pc
/usr/share/terminfo/k/konsole-xf4x
/usr/share/terminfo/k/konsole-base
/usr/share/terminfo/k/konsole-solaris
/usr/share/terminfo/k/konsole-xf3x

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
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
information).

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
http://invisible-island.net
ftp://invisible-island.net




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

Please consider your environmental responsibility before printing this
email.


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


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