Ticket #2837 (new enhancement)

Opened 13 years ago

Last modified 17 months ago

Home and End key definitions

Reported by: gv Owned by:
Priority: minor Milestone: Future Releases
Component: mc-tty Version: master
Keywords: Cc: gabriel@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Home and End keys in wterm are different from the one in xterm. Because of that you cannot use Ctrl-Home and/or Ctrl-End to go to the beginning and/or the the end of the file in mcview. Since mc cannot learn this key combination I made a simple patch so fix that.

Attachments

mc-wterm.patch (416 bytes) - added by gv 13 years ago.

Change History

Changed 13 years ago by gv

comment:1 Changed 13 years ago by gv

  • Cc gabriel@… added

comment:2 Changed 13 years ago by andrew_b

  • Component changed from mc-core to mc-tty

comment:3 follow-up: ↓ 4 Changed 13 years ago by angel_il

Since mc cannot learn this key combination

btw: you can redifine this combinations into /home/holmes/.config/mc/ini file
for example:

[terminal:xterm]
ctrl f9=\\e[20\;5
ctrl f1=\\e[11\;5
ctrl f2=\\e[12\;5
ctrl f3=\\e[13\;5
ctrl f4=\\e[14\;5
ctrl alt right=\\e\\e[C
ctrl alt left=\\e\\e[D
ctrl alt up=\\e\\e[A
ctrl alt down=\\e\\e[B

comment:4 in reply to: ↑ 3 Changed 13 years ago by gv

Replying to angel_il:

btw: you can redifine this combinations into /home/holmes/.config/mc/ini file

Thanks. I did not know this trick.

comment:5 Changed 4 years ago by andrew_b

Ticket #4084 has been marked as a duplicate of this ticket.

comment:6 Changed 17 months ago by ossi

related to #1769.

Note: See TracTickets for help on using tickets.