Ticket #1401 (assigned enhancement) — at Version 3

Opened 15 years ago

Last modified 15 years ago

extension key sequence for mc.lib

Reported by: angel_il Owned by: angel_il
Priority: major Milestone: 4.7.0-pre1
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by iNode) (diff)

Capability to load keymap from system mc.lib file or user's mc ini instead of use hardcoded mc.lib.

For syntax example for define escape sequences see misc/mc.lib file in the source tree.

The way to get escape sequence is [F9]->Optioins->Learn Keys.
Define some key (i.e. "Function key 1"), save and exit.

Now we can see it in mc ini file:

grep 'f1=' ~/.mc/ini

Usage example:

alt left=\\e\\eOD
alt right=\\e\\eOC
alt up=\\e\\eOA
alt down=\\e\\eOB
ctrl left=\\e[D
ctrl right=\\e[C
ctrl up=\\e[A
ctrl down=\\e[B

Change History

comment:1 Changed 15 years ago by angel_il

  • Status changed from new to accepted
  • Owner set to angel_il
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.0-pre1

branch: 1401_mclib_extension (parent: master)
changeset: 65391ff615f757e6cecea76959c1cd559874bf0d

comment:2 Changed 15 years ago by angel_il

  • Status changed from accepted to assigned

comment:3 Changed 15 years ago by iNode

  • Type changed from defect to enhancement
  • Description modified (diff)
Note: See TracTickets for help on using tickets.