Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work hotkey ctrl-backspace, ctrl-h #4332

Closed
mc-butler opened this issue Feb 25, 2022 · 10 comments
Closed

Does not work hotkey ctrl-backspace, ctrl-h #4332

mc-butler opened this issue Feb 25, 2022 · 10 comments
Labels
area: keybind Key bindings prio: medium Has the potential to affect progress res: invalid The ticket is not a bug, or is a support request ver: 4.8.24 Reproducible in version 4.8.24

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4332
Reporter KLex (AA.KLex@….ru)
Keywords hotkey
  1. In mc.keymap I set:

DeleteToWordBegin = ctrl-backspace

  1. Save and restart mc
  2. Type some words in command line
  3. Press ctrl-backspace
  4. I want delete word to the left, but nothing happens.

hotkey "DeleteToWordBegin = ctrl-delete" work correct
the same error is in "History = ctrl-h"

Note

Original attachments:

  • 1.txt (raw) by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:10 UTC
  • 2.txt (raw) by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:11 UTC
  • 3.txt (raw) by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:11 UTC
@mc-butler
Copy link
Author

Changed by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:10 UTC

mc -V

@mc-butler
Copy link
Author

Changed by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:11 UTC

mc -F

@mc-butler
Copy link
Author

Changed by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:11 UTC

options

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 25, 2022 at 11:12 UTC (comment 1)

Run cat.
Press backspace.
Press ctrl-backspace.
Press ctrl-h.
What do you see?

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 25, 2022 at 11:15 UTC (comment 2)

  • Version set to 4.8.24
  • Milestone changed from 4.8.28 to Future Releases

@mc-butler
Copy link
Author

Changed by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:20 UTC (comment 3)

in both cases:

^H

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 25, 2022 at 11:31 UTC (comment 4)

So you can't distinguish between ctrl-h and ctrl-backspace in your terminal.

@mc-butler
Copy link
Author

Changed by KLex (AA.KLex@….ru) on Feb 25, 2022 at 11:43 UTC (comment 5)

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.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 25, 2022 at 16:00 UTC (comment 5.6)

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-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 28, 2022 at 5:44 UTC (comment 7)

  • Resolution set to invalid
  • Milestone Future Releases deleted
  • Status changed from new to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: keybind Key bindings prio: medium Has the potential to affect progress res: invalid The ticket is not a bug, or is a support request ver: 4.8.24 Reproducible in version 4.8.24
Development

No branches or pull requests

1 participant