Ticket #4332 (closed defect: invalid)
Does not work hotkey ctrl-backspace, ctrl-h
Reported by: | KLex | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-key-bindings | Version: | 4.8.24 |
Keywords: | hotkey | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
- In mc.keymap I set:
DeleteToWordBegin? = ctrl-backspace
- Save and restart mc
- Type some words in command line
- Press ctrl-backspace
- I want delete word to the left, but nothing happens.
hotkey "DeleteToWordBegin? = ctrl-delete" work correct
the same error is in "History = ctrl-h"
Attachments
Change History
comment:1 Changed 3 years ago by andrew_b
Run cat.
Press backspace.
Press ctrl-backspace.
Press ctrl-h.
What do you see?
comment:2 Changed 3 years ago by andrew_b
- Version set to 4.8.24
- Milestone changed from 4.8.28 to Future Releases
comment:4 Changed 3 years ago by andrew_b
So you can't distinguish between ctrl-h and ctrl-backspace in your terminal.
comment:5 follow-up: ↓ 6 Changed 3 years ago by KLex
I not use ctrl-h in mc.keymap, ctrl-backspace only.
When I press ctrl-backspace, ctrl-h, backspace - delete symbol left.
When I press backspace after cat - delete symbol left.
comment:6 in reply to: ↑ 5 Changed 3 years ago by andrew_b
Replying to KLex:
I not use ctrl-h in mc.keymap, ctrl-backspace only.
It doesn't matter. mc receives same char sequences for different keys from terminal. mc is unable to do anything in such case.
https://unix.stackexchange.com/questions/327953/make-ctrl-backspace-different-than-ctrl-h
mc -V