Ticket #2424 (closed defect: invalid)

Opened 14 years ago

Last modified 14 years ago

Ctrl+3,4,5,6 key-bindings do not seem to work

Reported by: MageSlayer Owned by:
Priority: trivial Milestone:
Component: mc-key-bindings Version:
Keywords: Cc: gotar@…
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

Hi

I'm trying to change line in mc.keymap in ~/.mc/mc.keymap following lines, but it does not seem to work. I cannot sort using any shortcut.

[panel]
...
PanelSortOrderByName?= ctrl-3
PanelSortOrderByExt?= ctrl-4
PanelSortOrderBySize?= ctrl-6
PanelSortOrderByMTime= ctrl-5

I found a similar ticket - https://www.midnight-commander.org/ticket/2241,
but it seems like terminal emulator distinguishes those keys by show something like

^[^]^^

in cat output.

I tested both in tilda and xterm emulators.
I am using 20.11.2010 snapshot from git using slyfox-gentoo overlay.

Change History

comment:1 Changed 14 years ago by angel_il

this is not a mc trouble.

comment:2 Changed 14 years ago by gotar

  • Priority changed from minor to trivial
  • Cc gotar@… added

If your terminal presents the keys as you've written, bind ctrl-[ ctrl-] ctrl-^. Or fix your xterm by *vt100.translations: #override Ctrl<Key>1: string(0x1b) string("1")\n\[...] resource. Anyway this ticket is invalid.

comment:3 Changed 14 years ago by andrew_b

  • Status changed from new to closed
  • Version master deleted
  • Resolution set to invalid
  • Milestone 4.8 deleted

Thanks! Closed.

Note: See TracTickets for help on using tickets.