! 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 !
Ctrl+Home and Ctrl+End same the same escape sequence as Home and End
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Tomas Pollak 2016-11-11 22:41:38 CET
I just realized I'm not running the latest version so I'm not sure if this applies.

The problem is that Home and End don't seem to be honoring the Ctrl or any other modifier key. Whether I'm pressing Ctrl or not, I always get ^[OH for Home and ^[OF for End.

An easy way to try this is to run hexdump -C and hit the keys. xterm sends this, instead:

Home: ^[[H
End:  ^[[F
Ctrl+Home: ^[[1;5H
Ctrl+End: ^[[1;5F

Reference: https://bugzilla.gnome.org/show_bug.cgi?id=600659
Comment 1 Egmont Koblinger 2016-11-12 13:02:19 CET
It's fixed in vte3, as you've correctly found that mainstream issue. Hence it's also fixed in newest gtk3-based xfce-terminal.
Comment 2 Tomas Pollak 2016-11-12 17:10:20 CET
I did download and compile version 8.1 and the issue is still there.

Should I try building directly from git instead?
Comment 3 Egmont Koblinger 2016-11-12 19:01:23 CET
I am absolutely sure this is some silly mistake on your side. E.g. you're not starting up your brand new xfce4-terminal but the old one, or you still have the old version running somewhere and hence the command xfce4-terminal asks the old version to open a new window rather than starting up a new one.

xfce4-terminal 0.8 requires vte >= 0.38, and vte-0.38 is where the new fixed codes for Home/End have appeared. There is absolutely no way it could emit the old ones.

Check xfce4-terminal's version in Help -> About, and vte's version by issuing echo $VTE_VERSION or echo -ne '\e[>c'
Comment 4 Tomas Pollak 2016-11-12 21:58:32 CET
I'm pretty sure I ran ./xfce4-terminal (in the 0.81 directory, after compilation) instead of simply xfce4-terminal. 

I did have another instance of 0.63 running though. Could that have interfered in any way?
Comment 5 Egmont Koblinger 2016-11-12 22:25:54 CET
Yes, that asked the already running instance to open a new window. You need to quit entirely (close all windows) and then start it.
Comment 6 Igor editbugs 2016-11-13 08:59:21 CET
Egmont, thanks for working as a support line :)

Tomas, could you please confirm that running version 0.8.1 resolves the issue?
Comment 7 Tomas Pollak 2016-11-14 21:58:44 CET
Yes indeed! I just opened 0.81 after making sure no xfce4-terminal processes were running and *behold* -- it works as expected. Also I'm loving the new redraw/resize mechanism. Way to go!
Comment 8 Igor editbugs 2016-11-15 07:50:34 CET
Thanks for the update!

Bug #12955

Reported by:
Tomas Pollak
Reported on: 2016-11-11
Last modified on: 2016-11-15

People

CC List:
2 users

Version

Attachments

Additional information