mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Changes into documentation.
* added description of enca usage; * added example into mc 'man'. Signed-off-by: Andrew Borodin <aborodin@vmail.ru> Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
parent
56d955152c
commit
2f5838da42
@ -3571,7 +3571,7 @@ thin vertical line
|
|||||||
|
|
||||||
|
|
||||||
.\"NODE " Skins oldcolors"
|
.\"NODE " Skins oldcolors"
|
||||||
.SH " Compability"
|
.SH " Compatibility"
|
||||||
|
|
||||||
Appointment of color by skin\-files fully compatible with
|
Appointment of color by skin\-files fully compatible with
|
||||||
the appointment of the colors described in
|
the appointment of the colors described in
|
||||||
@ -3580,31 +3580,31 @@ Colors\&.
|
|||||||
.\"Colors"
|
.\"Colors"
|
||||||
section.
|
section.
|
||||||
.PP
|
.PP
|
||||||
In this case, reassignment of colors has priority over the skin files and is
|
In this case, reassignment of colors has priority over the skin file and is
|
||||||
complementary.
|
complementary.
|
||||||
|
|
||||||
.\"NODE "Filenames Highlight"
|
.\"NODE "Filenames Highlight"
|
||||||
.SH "Filenames Highlight"
|
.SH "Filenames Highlight"
|
||||||
Section [filehighlight] from current skin\-file contain key names as
|
Section [filehighlight] in current skin\-file contains key names as
|
||||||
highlight groups and values as color pairs. Color pairs is documented
|
highlight groups and values as color pairs. Color pairs is documented
|
||||||
into
|
in
|
||||||
.\"LINK2"
|
.\"LINK2"
|
||||||
Skins
|
Skins
|
||||||
.\"Skins"
|
.\"Skins"
|
||||||
section.
|
section.
|
||||||
.PP
|
.PP
|
||||||
Rules of filenames highlight placed in @prefix@/share/mc/filehighlight.ini file
|
Rules of filenames highlight are placed in @prefix@/share/mc/filehighlight.ini file
|
||||||
(~/.mc/filehighlight.ini).
|
(~/.mc/filehighlight.ini).
|
||||||
Name of section in this file must be equal to parameters names into
|
Name of section in this file must be equal to parameters names in
|
||||||
[filehighlight] section (in current skin\-file)
|
[filehighlight] section (in current skin\-file).
|
||||||
.PP
|
.PP
|
||||||
Keys in these groups:
|
Keys in these groups are:
|
||||||
.TP
|
.TP
|
||||||
.I type
|
.I type
|
||||||
file type. if present, all other option ignored
|
file type. If present, all other options are ignored.
|
||||||
.TP
|
.TP
|
||||||
.I regexp
|
.I regexp
|
||||||
regular expression. If present, 'extensions' option ignored
|
regular expression. If present, 'extensions' option is ignored.
|
||||||
.TP
|
.TP
|
||||||
.I extensions
|
.I extensions
|
||||||
list of extensions of files. Separated by ';' sign.
|
list of extensions of files. Separated by ';' sign.
|
||||||
@ -3635,7 +3635,7 @@ rule case sentitive (true) or not (false).
|
|||||||
|
|
||||||
.\"NODE "Special Settings"
|
.\"NODE "Special Settings"
|
||||||
.SH "Special Settings"
|
.SH "Special Settings"
|
||||||
Most of the settings of the Midnight Commander can be changed from the
|
Most of the Midnight Commander settings can be changed from the
|
||||||
menus. However, there are a small number of settings which can only be
|
menus. However, there are a small number of settings which can only be
|
||||||
changed by editing the setup file.
|
changed by editing the setup file.
|
||||||
.PP
|
.PP
|
||||||
@ -3736,6 +3736,18 @@ contents of the selected directory.
|
|||||||
.I fish_directory_timeout
|
.I fish_directory_timeout
|
||||||
This variable holds the lifetime of a directory cache entry in seconds. The
|
This variable holds the lifetime of a directory cache entry in seconds. The
|
||||||
default value is 900 seconds.
|
default value is 900 seconds.
|
||||||
|
.TP
|
||||||
|
.I autodetect_codeset
|
||||||
|
This option allows use the `enca' command to autodetect codeset of text files
|
||||||
|
in internal viewer and editor. List of valid values can be obtain by the
|
||||||
|
`enca \-\-list languages | cut \-d : \-f1' command. Option must be located
|
||||||
|
in the [Misc] section.
|
||||||
|
.PP
|
||||||
|
For example:
|
||||||
|
.PP
|
||||||
|
.nf
|
||||||
|
autodetect_codeset=russian
|
||||||
|
.fi
|
||||||
.\"NODE "Terminal databases"
|
.\"NODE "Terminal databases"
|
||||||
.SH "Terminal databases"
|
.SH "Terminal databases"
|
||||||
The Midnight Commander provides a way to fix your system terminal
|
The Midnight Commander provides a way to fix your system terminal
|
||||||
|
@ -4059,12 +4059,10 @@ Home и End в активной панели. Вместо того, чтобы
|
|||||||
.PP
|
.PP
|
||||||
.I use_file_to_guess_type
|
.I use_file_to_guess_type
|
||||||
.IP
|
.IP
|
||||||
.\"If this variable is on (the default) it will spawn the file command to
|
|
||||||
.\"match the file types listed on the
|
|
||||||
Когда эта опция включена (что сделано по умолчанию), mc будет вызывать
|
Когда эта опция включена (что сделано по умолчанию), mc будет вызывать
|
||||||
программу
|
программу
|
||||||
.B file
|
.B file
|
||||||
для определения типа файла в соответствии с типами файлов, указанными в
|
для определения типа файла в соответствии с типами файлов, указанными в файле
|
||||||
.\"LINK2"
|
.\"LINK2"
|
||||||
mc.ext\&.
|
mc.ext\&.
|
||||||
.\"Extension File Edit"
|
.\"Extension File Edit"
|
||||||
@ -4074,6 +4072,20 @@ mc.ext\&.
|
|||||||
Если эта переменная включена (по умолчанию она отключена), то при
|
Если эта переменная включена (по умолчанию она отключена), то при
|
||||||
просмотре в одной из панелей структуры дерева каталогов во второй панели
|
просмотре в одной из панелей структуры дерева каталогов во второй панели
|
||||||
автоматически будет отображаться список файлов выбранного каталога.
|
автоматически будет отображаться список файлов выбранного каталога.
|
||||||
|
.PP
|
||||||
|
.I autodetect_codeset
|
||||||
|
.IP
|
||||||
|
Эта опция позволяет использовать команду enca для автоматического
|
||||||
|
определения кодировки текстовых файлов во встроенных просмотрщике и редакторе.
|
||||||
|
Список допустимых значений может быть получен командой
|
||||||
|
"enca \-\-list languages | cut \-d : \-f1". Опция должна располагаться в секции
|
||||||
|
[Misc].
|
||||||
|
.PP
|
||||||
|
Например:
|
||||||
|
.PP
|
||||||
|
.nf
|
||||||
|
autodetect_codeset=russian
|
||||||
|
.fi
|
||||||
.\"NODE "Terminal databases"
|
.\"NODE "Terminal databases"
|
||||||
.SH "Базы терминалов (Terminal databases)"
|
.SH "Базы терминалов (Terminal databases)"
|
||||||
Midnight Commander обеспечивает возможность внесения исправлений в
|
Midnight Commander обеспечивает возможность внесения исправлений в
|
||||||
|
Loading…
Reference in New Issue
Block a user