function keys don't work in gnome-terminal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Terminal |
Invalid
|
Medium
|
|||
gnome-terminal (Ubuntu) |
Triaged
|
Low
|
Ubuntu Desktop Bugs | ||
ncurses (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
vte (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
xterm (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: gnome-terminal
After upgrading from Edgy to Feisty, gnome-terminal started to generate "wrong" sequences when pressing Shift/Alt/
Shift.
F1 \EO1;2P \EO1;3P \EO1;5P
F2 \EO1;2Q \EO1;3Q \EO1;5Q
F3 \EO1;2R \EO1;3R \EO1;5R
F4 \EO1;2S \EO1;3S \EO1;5S
while it should:
Shift.Alt...Ctrl
F1 \EO2P \EO3P \EO5P
F2 \EO2Q \EO3Q \EO5Q
F3 \EO2R \EO3R \EO5R
F4 \EO2S \EO3S \EO5S
according to the output of the infocmp command (TERM is set to xterm here, by default). The second ("correct") variant of sequences is also exactly what happens in the Edgy installation on another computer.
It looks like 1; gets inserted into the middle of the sequence for these function keys and also into the middle of sequences for combinations like Shift-Up/
By the way, the xterm application both in Edgy and Feisty generates sequences from the first table (i.e. with 1; inserted), but I found how to change it by editing xterm resources (/etc/X11/
Also, I tried to alter the xterm definition in terminfo by replacing sequences from the second table with ones from the first one. It also worked, but again, only for those F1..F4 keys, and broke recognition of other function keys. Anyway, I don't think that changing the xterm definition is a correct way to go, because what is in terminfo by default seems to be a kind of standard nowadays (at least for common keys and combinations).
dmik@ubuntu:~$ dpkg -s gnome-terminal
Package: gnome-terminal
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 432
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 2.18.0-0ubuntu1
Replaces: gnome-terminal2
Provides: x-terminal-emulator
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in gnome-terminal: | |
status: | Unknown → Unconfirmed |
Changed in xterm: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in xterm (Ubuntu): | |
assignee: | bryceharrington → nobody |
Changed in gnome-terminal (Ubuntu): | |
assignee: | Ubuntu Desktop Bugs (desktop-bugs) → salwanet (fauzi-abdurrohim) |
Changed in gnome-terminal (Ubuntu): | |
status: | Confirmed → Triaged |
assignee: | salwanet (fauzi-abdurrohim) → Ubuntu Desktop Bugs (desktop-bugs) |
Changed in vte (Ubuntu): | |
importance: | Undecided → Low |
summary: |
- function keys don't work in gnome-terminal + [KARMIC] function keys don't work in gnome-terminal |
Changed in gnome-terminal (Ubuntu): | |
status: | Triaged → Confirmed |
Changed in gnome-terminal (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in gnome-terminal: | |
importance: | Unknown → Medium |
Changed in gnome-terminal: | |
status: | New → Invalid |
Sorry for the flood with spelling corrections, I should have guessed it will e-mail every single one to subscribers :)