Skip to content

Commit c3ac412

Browse files
committed
man: Update for new mc.keydef locations and section names
Signed-off-by: Egmont Koblinger <egmont@gmail.com>
1 parent 97aaa86 commit c3ac412

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

doc/man/mc.1.in

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,19 @@ Midnight Commander.
5353
Force a "normal tracking" mouse mode. Used when running on
5454
xterm\-capable terminals (tmux/screen).
5555
.TP
56+
.I \-k file, \-\-keydef=file
57+
Specify a name of keydef file in the command line.
58+
.TP
5659
.I \-K file, \-\-keymap=file
5760
Specify a name of keymap file in the command line.
5861
.TP
5962
.I \-l file, \-\-ftplog=file
6063
Save the ftpfs dialog with the server in file.
6164
.TP
65+
.I \-\-nokeydef
66+
Don't load key definitions from any file, use hardcoded and terminfo
67+
escape sequences.
68+
.TP
6269
.I \-\-nokeymap
6370
Don't load key bindings from any file, use default hardcoded keys.
6471
.TP
@@ -3783,11 +3790,11 @@ to save and restore position in opened files.
37833790
.SH "Terminal databases"
37843791
Midnight Commander provides a way to fix your system terminal
37853792
database without requiring root privileges. Midnight Commander
3786-
searches in the system initialization file (the mc.lib file located in
3793+
searches in the mc.keydef file located in
37873794
Midnight Commander's library directory) and in the
3788-
~/.config/mc/ini file for the section
3789-
"terminal:your\-terminal\-name" and then for the section
3790-
"terminal:general", each line of the section contains a key symbol that
3795+
~/.config/mc/mc.keydef file for the section
3796+
"your\-terminal\-name" and then for the section
3797+
"_common_", each line of the section contains a key symbol that
37913798
you want to define, followed by an equal sign and the definition for the
37923799
key. You can use the special \ee form to represent the escape character
37933800
and the ^x to represent the control\-x character.

0 commit comments

Comments
 (0)