mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Updated documentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
84aa04fa6e
commit
efb7f073cc
@ -6,7 +6,7 @@ mc \- Visual shell for Unix\-like systems.
|
|||||||
.\"SKIP_SECTION"
|
.\"SKIP_SECTION"
|
||||||
.SH "USAGE"
|
.SH "USAGE"
|
||||||
.B mc
|
.B mc
|
||||||
[\-abcCdfhPstuUVx] [\-l log] [dir1 [dir2]] [\-e [file]] [\-v file]
|
[\-abcCdfhPstuUVx] [\-l log] [dir1 [dir2]] [\-e [file] ...] [\-v file]
|
||||||
.\"NODE "DESCRIPTION"
|
.\"NODE "DESCRIPTION"
|
||||||
.SH "DESCRIPTION"
|
.SH "DESCRIPTION"
|
||||||
GNU Midnight Commander is a directory browser/file manager for
|
GNU Midnight Commander is a directory browser/file manager for
|
||||||
|
@ -3,20 +3,17 @@
|
|||||||
mcedit \- Internal file editor of GNU Midnight Commander.
|
mcedit \- Internal file editor of GNU Midnight Commander.
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
.B mcedit
|
.B mcedit
|
||||||
[\-bcCdfhstVx?] [+lineno] file
|
[\-bcCdfhstVx?] [+lineno] [file1] [file2] ...
|
||||||
.PP
|
.PP
|
||||||
.B mcedit
|
.B mcedit
|
||||||
[\-bcCdfhstVx?] file:lineno[:]
|
[\-bcCdfhstVx?] file1:lineno[:] file2:lineno[:] ...
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.LP
|
.LP
|
||||||
mcedit is a link to
|
mcedit is a link to
|
||||||
.BR mc ,
|
.BR mc ,
|
||||||
the main GNU Midnight Commander executable. Executing GNU Midnight
|
the main GNU Midnight Commander executable. Executing GNU Midnight Commander
|
||||||
Commander under this name requests staring the internal editor and
|
under this name requests staring the internal editor and opening files
|
||||||
opening the
|
specified on the command line. The editor is based on the terminal version of
|
||||||
.I file
|
|
||||||
specified on the command line. The editor is based on the terminal
|
|
||||||
version of
|
|
||||||
.B cooledit
|
.B cooledit
|
||||||
\- standalone editor for X Window System.
|
\- standalone editor for X Window System.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
@ -24,7 +21,8 @@ version of
|
|||||||
.I "+lineno"
|
.I "+lineno"
|
||||||
Go to the line specified by number (do not put a space between the
|
Go to the line specified by number (do not put a space between the
|
||||||
.I "+"
|
.I "+"
|
||||||
sign and the number).
|
sign and the number). Several line numbers are allowed but the last one will be
|
||||||
|
actual and it will be applied to the first file only.
|
||||||
.TP
|
.TP
|
||||||
.I "\-b"
|
.I "\-b"
|
||||||
Force black and white display.
|
Force black and white display.
|
||||||
@ -57,16 +55,22 @@ Display the version of the program.
|
|||||||
Force xterm mode. Used when running on xterm\-capable terminals (two
|
Force xterm mode. Used when running on xterm\-capable terminals (two
|
||||||
screen modes, and able to send mouse escape sequences).
|
screen modes, and able to send mouse escape sequences).
|
||||||
.SH FEATURES
|
.SH FEATURES
|
||||||
The internal file editor is a full\-featured full screen editor. It can
|
The internal file editor is a full\-featured windowed editor. It can
|
||||||
edit files up to 64 megabytes. It is possible to edit binary files.
|
edit several files at the same time. Maximim size of each file is 64
|
||||||
The features it presently supports are: block copy, move, delete, cut,
|
megabytes. It is possible to edit binary files. The features it presently
|
||||||
paste; key for key undo; pull\-down menus; file insertion; macro
|
supports are: block copy, move, delete, cut, paste; key for key undo;
|
||||||
commands; regular expression search and replace (and our own
|
pull\-down menus; file insertion; macro commands; regular expression
|
||||||
scanf\-printf search and replace); shift\-arrow text highlighting (if
|
search and replace; shift\-arrow text highlighting (if supported by
|
||||||
supported by the terminal); insert\-overwrite toggle; word wrap;
|
the terminal); insert\-overwrite toggle; autoindent; tunable tab size;
|
||||||
autoindent; tunable tab size; syntax highlighting for various file
|
syntax highlighting for various file types; and an option to pipe text
|
||||||
types; and an option to pipe text blocks through shell commands like
|
blocks through shell commands like indent and ispell.
|
||||||
indent and ispell.
|
.PP
|
||||||
|
Each file is opened in its own window in full\-screen mode. Window control
|
||||||
|
in mcedit is similar to the window control in other multi\-window program:
|
||||||
|
double click on window title maximizes the window to full\-screen or restores
|
||||||
|
window size and position; left\-click on window title and mouse drag moves
|
||||||
|
the window in editor area; left\-click on low\-right frame corner and mouse drag
|
||||||
|
resizes the window. These actions can be made using "Window" menu.
|
||||||
.SH KEYS
|
.SH KEYS
|
||||||
The editor is easy to use and can be used without learning. The
|
The editor is easy to use and can be used without learning. The
|
||||||
pull\-down menu is invoked by pressing F9. You can learn other keys from
|
pull\-down menu is invoked by pressing F9. You can learn other keys from
|
||||||
@ -95,8 +99,7 @@ The completion key (usually
|
|||||||
.B "Meta\-Tab"
|
.B "Meta\-Tab"
|
||||||
or
|
or
|
||||||
.BR "Escape Tab" )
|
.BR "Escape Tab" )
|
||||||
completes the word under the cursor using the words used earlier in the
|
completes the word under the cursor using the words used in the file.
|
||||||
file.
|
|
||||||
.SH MACRO
|
.SH MACRO
|
||||||
.PP
|
.PP
|
||||||
To define a macro, press
|
To define a macro, press
|
||||||
|
@ -7,7 +7,7 @@ mc \- Визуальная оболочка для Unix\-подобных сис
|
|||||||
.\"SKIP_SECTION"
|
.\"SKIP_SECTION"
|
||||||
.SH "СИНТАКСИС"
|
.SH "СИНТАКСИС"
|
||||||
.B mc
|
.B mc
|
||||||
[\-abcCdfhPstuUVx] [\-l log] [dir1 [dir2]] [\-v file] [\-e [файл]]
|
[\-abcCdfhPstuUVx] [\-l журнал] [каталог1 [каталог2]] [\-e [файл] . ..] [\-v файл]
|
||||||
.\"NODE "DESCRIPTION"
|
.\"NODE "DESCRIPTION"
|
||||||
.SH "ОПИСАНИЕ"
|
.SH "ОПИСАНИЕ"
|
||||||
Что такое Midnight Commander
|
Что такое Midnight Commander
|
||||||
@ -58,8 +58,8 @@ UNIX\-подобных операционных системах.
|
|||||||
для установки уровня отладочных сообщений smbfs в N (0\-10).
|
для установки уровня отладочных сообщений smbfs в N (0\-10).
|
||||||
.TP
|
.TP
|
||||||
.I \-e [файл]
|
.I \-e [файл]
|
||||||
Запустить встроенный редактор. Если параметр файл задан, этот файл
|
Запустить встроенный редактор. Если параметр "файл" задан, этот файл
|
||||||
будет открыт при старте. Смотрите также
|
будет открыт при запуске. Смотрите также
|
||||||
.BR mcedit(1) .
|
.BR mcedit(1) .
|
||||||
.TP
|
.TP
|
||||||
.I \-f, \-\-datadir
|
.I \-f, \-\-datadir
|
||||||
|
Loading…
Reference in New Issue
Block a user