$ | >

xterm modifyOtherKeys - ^1 C-1 Ctrl+1 Ctrl+number

Support the xterm "modifyOtherKeys" feature, so that combinations of Ctrl/Alt/Meta can be used with number keys. For example, Ctrl+1, Ctrl+2 ... Ctrl+9.

Currently the terminal only supports Shift+number and Alt+number.

C-1: 1 (i.e. not different form a plain 1 keystroke)
C-2: ^@
C-3: ^[
C-4: ^\
C-5: ^]
C-6: ^^
C-7: ^_
C-8: ^?
C-9: 9 (i.e. plain 9)
C-0: 0 (i.e. plain 0)

If "modifyOtherKeys" is set, then these keys would send:
C-1: ^[[27;5;49~
C-2: ^[[27;5;50~
C-3: ^[[27;5;51~
C-4: ^[[27;5;52~
C-5: ^[[27;5;53~
C-6: ^[[27;5;54~
C-7: ^[[27;5;55~
C-8: ^[[27;5;56~
C-9: ^[[27;5;57~
C-0: ^[[27;5;48~

Similar keystrokes apply for Ctrl+Alt+number and Ctrl+Shift+number, opening up at least 30 more keystrokes that we have on our keyboard but simply can't send...

4 votes
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)

We’ll send you updates on this idea

Ryan Erwin shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base