Bug 1025264

Summary: Some keys are not working
Product: [Fedora] Fedora Reporter: Branislav Blaškovič <bblaskov>
Component: dvtmAssignee: Petr Šabata <psabata>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: pahan, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 14:48:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Branislav Blaškovič 2013-10-31 10:47:12 UTC
Description of problem:
Some keys like "home" key or keyshortcuts "ctrl+left arrow" are not working and it just type some character.

Version-Release number of selected component (if applicable):
dvtm-0.9-2.fc20.x86_64

Steps to Reproduce:
1. Press 'home' in dvtm

Actual results:
It types '~'

Expected results:
Cursor jumps to line beginning

Additional info:
End is working all right.

Comment 1 Branislav Blaškovič 2013-10-31 10:51:26 UTC
I can workaround this by adding these to /etc/inputrc:

"\e[7~": beginning-of-line
"\e[8~": end-of-line
"\eOH": beginning-of-line
"\eOF": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line


I am not sure if this is even bug in dvtm or something with curses. But it would be great to have it working out of box.

Sadly, I cannot make ctrl+arrow key to work..

Comment 2 Petr Šabata 2013-11-01 02:57:05 UTC
Those things behave differently from setup to setup.  I can't reproduce your issue with tmux or st at all while in xterm, the C-arrow combo also behaves funny but the Home key is working alright.

This can be probably fixed in dvtm's terminfo.  I would suggest asking upstream; saying what terminal, application, and curses library won't hurt either :)

Comment 3 Branislav Blaškovič 2013-11-01 10:57:52 UTC
You are right. It's working in st. I use terminator but it's the same in lxterminal.

Comment 4 Petr Šabata 2014-11-18 14:48:32 UTC
I'm going to close this bug.  If you still hit it even with the new releases, ask upstream for help.  I could act as a middle man in this conversation but it would just slow things down.