From 362a000f7fd8b410b8405099796fdd68f5bccbfb Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 9 May 2010 12:46:48 +0400 Subject: [PATCH] New "Panel options" configuration dialog is fully described. Signed-off-by: Andrew Borodin --- doc/man/mc.1.in | 71 +++++++++++++++++++++---------------------- doc/man/ru/mc.1.in | 75 ++++++++++++++++++++++------------------------ 2 files changed, 69 insertions(+), 77 deletions(-) diff --git a/doc/man/mc.1.in b/doc/man/mc.1.in index ed7c6d8ad..653e62d77 100644 --- a/doc/man/mc.1.in +++ b/doc/man/mc.1.in @@ -223,18 +223,6 @@ program is executed. Also, it is possible to execute the commands assigned to the function key labels by clicking on them. .PP -If a mouse button is clicked on the top frame line of the directory panel, -it is scrolled one page up. Likewise, a click on the bottom frame line -will cause scrolling one page down. This frame line method works also -in the -.\"LINK2" -Help Viewer -.\"Contents" -and the -.\"LINK2" -Directory Tree\&. -.\"Directory Tree" -.PP The default auto repeat rate for the mouse buttons is 400 milliseconds. This may be changed to other values by editing the .\"LINK2" @@ -593,15 +581,6 @@ again, the next match is searched for. .P Besides the filename characters, you can also use wildcard characters '*' and '?'. -.P -Quick search mode is defined by -.I quick_search_case_sensitive -option located in [Midnight-Commander] section in configuration file. -This option can have one of the following values: 0, 1 or 2. -If quick_search_case_sensitive=0, quick search is case insensitive. -If quick_search_case_sensitive=1, quick search is case sensitive. -If quick_search_case_sensitive=2 (default value), quick search mode -is matched to the the panel sort order: case sensitive or not. .\"NODE " Shell Command Line" .SH " Shell Command Line" This section lists keys which are useful to avoid excessive typing when @@ -1889,7 +1868,7 @@ unintentionally becomes more difficult. The default selection in the confirmation dialogs for deletion changes from "Yes" to "No". This option is disabled by default. .PP -.I Auto Save Setup. +.I Auto save setup. If this option is enabled, when you exit the Midnight Commander the configurable options of the Midnight Commander are saved in the ~/.mc/ini file. @@ -1950,6 +1929,7 @@ If enabled, free space and total space of current file system is shown at the bottom frame of panel. Enabled by default. .\"NODE " Panel options" .SH " Panel options" +.B Main panel options .PP .I Use SI size units. If this option is enabled, Midnight Commander will use SI units (powers of 1000) @@ -1962,11 +1942,11 @@ If this option is enabled, all files and directories are shown mixed together. If the option is desabled (default), directories (and links to directories) are shown at the beginning of the listing, and other files below. .PP -.I Show Backup Files. +.I Show backup files. If enabled, the Midnight Commander will show files ending with a tilde. Otherwise, they won't be shown (like GNU's ls option \-B). Enabled by default. .PP -.I Show Hidden Files. +.I Show hidden files. If enabled, the Midnight Commander will show all files that start with a dot (like ls \-a). Disabled by default. .PP @@ -1984,19 +1964,36 @@ if you have the option on, you have to rescan the directory manually If enabled, the selection bar will move down when you mark a file (with Insert key). Enabled by default. .PP -.I Reverse files only +.I Reverse files only. Allow revert selection of files only. Enabled by default. If enabled, the reverse selection is applied to files only, not to directories. The selection of directories is untouched. If off, the reverse selection is applied to files as well to directories: all unselected items become selected, and vice versa. .PP +.I Auto save panels setup. +If this option is enabled, when you exit the Midnight Commander the +current settings of panels are saved in the ~/.mc/panels.ini file. +Disabled by default. +.PP +.B Navigation +.PP .I Lynx\-like motion. -If this option is enabled, -you may use the arrows keys to automatically chdir if the -current selection is a subdirectory and the shell command +If this option is enabled, you may use the arrows keys to automatically +chdir if the current selection is a subdirectory and the shell command line is empty. By default, this setting is off. .PP +.I Page scrolling. +If set (the default), panel will scroll by half the display when the +cursor reaches the end or the beginning of the panel, otherwise it +will just scroll a file at a time. +.PP +.I Mouse page scrolling. +Controls whenever scrolling with the mouse wheel is done by pages or +line by line on the panels. +.PP +.B File highlight +.PP You can specify whether .I permissions and @@ -2021,6 +2018,15 @@ according to rules described in @sysconfdir@/mc/filehighlight.ini file. See Filenames Highlight .\"Filenames Highlight" for more info. +.PP +.B Quick search +.PP +You can specify how the +.\"LINK2" +Quick search +.\"Quick search" +mode should works: case insensitively, case sensitively or be matched +to the the panel sort order: case sensitive or not. .\"NODE " Confirmation" .SH " Confirmation" In this dialog you configure the confirmation options for file deletion, @@ -3866,10 +3872,6 @@ updates too jumpy. It seems that setting max_dirt_limit to 10 causes the best behavior, and that is the default value. .TP -.I mouse_move_pages -Controls whenever scrolling with the mouse is done by pages or line by -line on the panels. -.TP .I mouse_move_pages_viewer Controls if scrolling with the mouse is done by pages or line by line on the internal file viewer. @@ -3881,11 +3883,6 @@ don't need to quote those characters in the middle of the command line. On the other hand, you cannot use them to change selection when the command line is not empty. .TP -.I panel_scroll_pages -If set (the default), panel will scroll by half the display when the -cursor reaches the end or the beginning of the panel, otherwise it -will just scroll a file at a time. -.TP .I show_output_starts_shell This variable only works if you are not using the subshell support. When you use the C\-o keystroke to go back to the user screen, if this diff --git a/doc/man/ru/mc.1.in b/doc/man/ru/mc.1.in index f8e6f2e70..8515b15d5 100644 --- a/doc/man/ru/mc.1.in +++ b/doc/man/ru/mc.1.in @@ -214,19 +214,6 @@ Commander, просто набрав имя этой команды (прогр функциональной клавишей, щелкнув по соответствующей экранной кнопке в самой нижней строке экрана. .PP -Если щелкнуть мышью по верхней рамке панели, отображающей очень длинный -список файлов, происходит перемещение списка на одну колонку назад. -Щелчок по нижней рамке панели приводит, соответственно, к перемещению по -списку на целую колонку вперед. Этот метод перемещения работает также -при просмотре -.\"LINK2" -встроенной подсказки -.\"Contents" -и просмотре окна -.\"LINK2" -Дерево каталогов\&. -.\"Directory Tree" -.PP По умолчанию скорость эмуляции повторных нажатий на клавишу в случае ее удержания (auto repeat rate) составляет 400 миллисекунд. Это значение можно изменить путем изменения параметра @@ -597,15 +584,6 @@ Midnight Commander\-а. Для возврата к вашему приложен Кроме обычных символов в имени файла также можно использовать символы маски '*' и '?'. .P -Режим быстрого поиска определяется параметром -.I quick_search_case_sensitive -который должен располагаться в секции [Midnight-Commander] конфигурационного -файла. Этот параметр может иметь одно из следующих значений: 0, 1 или 2. -Если quick_search_case_sensitive=0, при быстром поиске не учитывается -регистр имён файлов. Если quick_search_case_sensitive=1, регистр имён файлов -учитывается. Если quick_search_case_sensitive=2 (значение по умолчанию), -режим быстрого поиска соответствует порядку сортировки в панели: с учётом -регистра или без. .\"NODE " Shell Command Line" .SH " Командная строка оболочки" В этом разделе перечислены команды, которые позволяют сократить число @@ -2108,6 +2086,7 @@ FreeBSD. Она устанавливает число строк, которые размер текущей файловой системы. По умолчанию включено. .\"NODE " Panel options" .SH " Настройки панелей" +.B Основные настройки панелей .PP .I Размеры в единицах СИ. Если эта опция включена, то Midnight Commander отображает размеры файлов @@ -2143,13 +2122,19 @@ Commander будет использовать для вывода содержи Когда вы отмечаете файл (клавишей Insert), то по умолчанию подсветка на имени файла смещается на одну строку вниз. .PP -.I Инвертировать только файлы -.PP +.I Инвертировать только файлы. Если опция включена (по умолчанию она включена), инвертирование выбора применяется только к файлам, но не к каталогам. Выбор каталогов не изменяется. Если не установлена, производится инвертирование как файлов, так и каталогов. Все невыбранные объекты становятся выбранными и наоборот. .PP +.I Автосохранение настроек панелей. +Если опция включена (по умолчанию она выключена), то при выходе из +Midnight Commander'а текущие настройки панелей соханяются в файле +~/.mc/panels.ini. +.PP +.B Навигация +.PP .I Навигация в стиле lynx. Если эта опция включена, вы имеете возможность использовать клавиши "стрелка вправо" для перехода в подсвеченный в данный момент каталог и @@ -2157,6 +2142,21 @@ Commander будет использовать для вывода содержи каталог (при условии, что командная строка пуста). По умолчанию опция отключена. .PP +.I Страничное листание. +Если опция установлена (по умолчанию она установлена), то когда курсор +(подсветка) достигает конца или начала списка файлов, отображаемого на +панели, будет производиться смещение на половину этого списка (то есть +половина отображаемого списка остается на экране, а половина пропадает, +заменяясь следующими пунктами общего списка). Если опция не установлена, +происходит смещение только на одну строку. +.PP +.I Страничное листание мышью. +Определяет, будет ли прокрутка информации (scrolling) в панелях, +осуществляемая с помощью мышки, производиться страницами или на одну +строку. +.PP +.B Расцветка файлов +.PP По умолчанию вся информация отображаются одним цветом, но вы можете сделать так, чтобы .I права доступа @@ -2183,6 +2183,16 @@ Commander, выделены цветом, определенным ключев Подсветка имён файлов .\"Filenames Highlight" для получения большей информации. +.PP +.B Быстрый поиск +.PP +.\"LINK2" +Быстрый поиск файлов +.\"Quick search" +может работать в одном из трёх режимов: с учётом регистра имён файлов, +без учёта регистра или в соответствии с порядком сортировки файлов в панели: +с учётом регистра или без. Режим по умолчанию \- использование порядка +сортировки файлов в панели. .\"NODE " Confirmation" .SH " Подтверждения" Используя это диалоговое окно, вы можете сделать так, чтобы перед @@ -4157,15 +4167,9 @@ router). Эта опция работает только в том случае, значение этого параметра может привести к тому, что процедура обновления экрана начнет вaс раздражать. .IP -По\-видимому значение max_dirt_limit, равное 10, обеспечивает наилучший +По\-видимому, значение max_dirt_limit, равное 10, обеспечивает наилучший выбор, и именно такое значение устанавливается по умолчанию. .PP -.I mouse_move_pages -.IP -Определяет, будет ли прокрутка информации (scrolling) в панелях, -осуществляемая с помощью мышки, производиться страницами или на одну -строку. -.PP .I mouse_move_pages_viewer .IP Определяет, будет ли прокрутка информации (scrolling) во встроенной @@ -4182,15 +4186,6 @@ router). Эта опция работает только в том случае, использовать эти символы для таких операций, если командная строка не пуста. .PP -.I panel_scroll_pages -.IP -Если опция установлена (по умолчанию она установлена), то когда курсор -(подсветка) достигает конца или начала списка файлов, отображаемого на -панели, будет производиться смещение на половину этого списка (то есть -половина отображаемого списка остается на экране, а половина пропадает, -заменяясь следующими пунктами общего списка). Если опция не установлена, -происходит смещение только на одну строку. -.PP .I show_output_starts_shell .IP Эта переменная работает только в том случае, когда не включена поддержка