! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
no application mode on numeric keypad
Status:
RESOLVED: INVALID
Product:
Xfce4-terminal
Component:
General

Comments

Description Ulli Horlacher 2007-09-19 16:12:30 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: 

xfce4-terminal has no "application mode" on the numeric keypad keys, like
other vt100 compliant terminal emulators do have.

For example, xterm sends the following sequences (^[ is ESCAPE) when in
application mode on pressing:

0 : ^[0p
1 : ^[Oq
2 : ^[Or
3 : ^[Os
4 : ^[Ot
5 : ^[Ou
6 : ^[Ov
7 : ^[Ow
8 : ^[Ox
9 : ^[Oy
+ : ^[Ok
Enter : ^[OM

These application mode control sequences were first intruduced with the
DEC VT100 terminal (around 1980) and all VTxxx terminals and terminal
emulators have supported them so far.

I have a lot of applications which are controlled by the numeric keypad in
application mode, I need them urgent.


X11 has different keysyms for the numeric keys row above the main keyboard
and the numeric keypad block at the right side. For example:

KeyRelease event, serial 32, synthetic NO, window 0x4a00002,
    root 0xca, subw 0x0, time 478578919, (502,51), root:(1253,494),
    state 0x0, keycode 19 (keysym 0x30, 0), same_screen YES,
    XLookupString gives 1 bytes: (30) "0"
    
KeyRelease event, serial 32, synthetic NO, window 0x4a00002,
    root 0xca, subw 0x0, time 478581878, (502,51), root:(1253,494),
    state 0x0, keycode 90 (keysym 0xffb0, KP_0), same_screen YES,
    XLookupString gives 1 bytes: (30) "0"
    

With xfce4-terminal I cannot determine which "0" key was pressed, because
both keys generate the same string "0".


Ullrich Horlacher        horlacher@rus.uni-stuttgart.de


Reproducible: Always

Steps to Reproduce:
1. Within bash, pressing Ctrl-V KP_0



Expected Results:  
^[0p
Comment 1 Yves-Alexis Perez editbugs 2008-12-23 10:42:46 CET
Terminal uses vte, so it supports what vte support. You should open a wishlist bug on their bugzilla.
Comment 2 Nick Schermer editbugs 2009-07-06 09:55:49 CEST
Yep, sorry not a terminal bug. Please try with a recent version of VTE if you still have this problem, open a bug at Gnome's bugzilla.

Bug #3558

Reported by:
Ulli Horlacher
Reported on: 2007-09-19
Last modified on: 2009-12-17

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information