Issue1392

classification
Title: Home/End/Del keys don't work in the console.
Type: behaviour Severity: minor
Components: Versions: 2.5.1
Milestone:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: amak, fwierzbicki, pjenvey, refactored
Priority: Keywords:

Created on 2009-07-02.12:21:11 by refactored, last changed 2012-03-19.21:36:42 by fwierzbicki.

Messages
msg4872 (view) Author: Phillip Oldham (refactored) Date: 2009-07-02.12:21:11
The home/end/del keys don't work as expected in the jython commandline
console. Home/End insert text rather than jumping to the start/end of
the line. Del does a backspace (delete to the left) rather than a delete
to the right as expected.
msg4890 (view) Author: Philip Jenvey (pjenvey) Date: 2009-07-08.01:00:21
Is this on Windows?

We can customize some (if not all) of these keys with the jline 
keybindings file:

http://fisheye3.atlassian.com/browse/jython/trunk/jython/src/org/python/
util/jline-keybindings.properties?r=6326

If you want to try tweaking these settings, Jline also reads this 
configurartion file from $user.home/.jlinebindings.properties

This is how Jline maps these keys on windows (POSIX is different):

            case DELETE_KEY:
                return CTRL_QM; // translate DELETE -> CTRL-?
            case HOME_KEY:
                return CTRL_A;
            case END_KEY:
                return CTRL_E;
msg6854 (view) Author: Alan Kennedy (amak) Date: 2012-03-19.20:10:48
No input from user in nearly three years. No reply to pjenvey questions.

We need input from the user, or we should resolve this issue as "out of date".
msg6888 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2012-03-19.21:36:42
sure, out of date. Possibly an update to a newer jline will help, but we'll do that even without a bug to prompt us.
History
Date User Action Args
2012-03-19 21:36:42fwierzbickisetstatus: open -> closed
resolution: out of date
messages: + msg6888
nosy: + fwierzbicki
2012-03-19 20:10:48amaksetnosy: + amak
messages: + msg6854
2009-07-08 01:00:21pjenveysetnosy: + pjenvey
messages: + msg4890
2009-07-02 12:21:11refactoredcreate