Ticket #1401 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 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: committed-master

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 10 years ago by angel_il

  • Owner set to angel_il
  • Status changed from new to accepted
  • 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 10 years ago by angel_il

  • Status changed from accepted to assigned

comment:3 Changed 10 years ago by iNode

  • Type changed from defect to enhancement
  • Description modified (diff)

comment:4 Changed 10 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:5 Changed 10 years ago by andrew_b

  • Votes for changeset changed from slavazanko to slavazanko andrew_b
  • severity changed from on review to approved

comment:6 Changed 10 years ago by angel_il

  • Votes for changeset changed from slavazanko andrew_b to commited-master
  • severity changed from approved to merged

comment:7 Changed 10 years ago by angel_il

  • Status changed from assigned to testing
  • Resolution set to fixed

comment:8 Changed 10 years ago by angel_il

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.