2002-08-25 22:38:16 +04:00
|
|
|
.\"TOPICS "Topics:"
|
2003-01-16 13:30:41 +03:00
|
|
|
.TH MC 1 "January 2003" "MC Version 4.6.0" "GNU Midnight Commander"
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"SKIP_SECTION"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "NAME"
|
1998-02-27 07:54:42 +03:00
|
|
|
mc \- Visual shell for Unix-like systems.
|
|
|
|
.\"SKIP_SECTION"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "USAGE"
|
1998-02-27 07:54:42 +03:00
|
|
|
.B mc
|
2003-02-25 17:38:03 +03:00
|
|
|
[\-abcCdfhPstuUVx] [\-l log] [dir1 [dir2]] [-e [file]] [-v file]
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "DESCRIPTION"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "DESCRIPTION"
|
2002-12-26 23:17:06 +03:00
|
|
|
GNU Midnight Commander is a directory browser/file manager for
|
2002-08-21 01:17:30 +04:00
|
|
|
Unix-like operating systems.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "OPTIONS"
|
1998-02-27 07:54:42 +03:00
|
|
|
.\".\"DONT_SPLIT"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "OPTIONS"
|
2002-10-30 01:06:36 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-a, \-\-stickchars
|
2002-12-26 23:17:06 +03:00
|
|
|
Disable usage of graphic characters for line drawing.
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-b, \-\-nocolor
|
2002-12-26 23:17:06 +03:00
|
|
|
Force black and white display.
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-c, \-\-color
|
1998-02-27 07:54:42 +03:00
|
|
|
Force color mode, please check the section
|
|
|
|
.\"LINK2"
|
|
|
|
Colors
|
|
|
|
.\"Colors"
|
|
|
|
for more information.
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-C arg, \-\-colors=arg
|
2002-12-26 23:17:06 +03:00
|
|
|
Specify a different color set in the command line. The format of arg is
|
|
|
|
documented in the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Colors
|
|
|
|
.\"Colors"
|
|
|
|
section.
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-d, \-\-nomouse
|
2002-12-26 23:17:06 +03:00
|
|
|
Disable mouse support.
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-e [file], \-\-edit[=file]
|
2003-02-25 17:38:03 +03:00
|
|
|
Start the internal editor. If the file is specified, open it on
|
|
|
|
startup. See also
|
|
|
|
.BR "mcedit (1)" .
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-f, \-\-datadir
|
2002-12-26 23:17:06 +03:00
|
|
|
Display the compiled-in search paths for Midnight Commander files.
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-k, \-\-resetsoft
|
1998-02-27 07:54:42 +03:00
|
|
|
Reset softkeys to their default from the termcap/terminfo
|
|
|
|
database. Only useful on HP terminals when the function keys don't work.
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-l file, \-\-ftplog=file
|
1998-02-27 07:54:42 +03:00
|
|
|
Save the ftpfs dialog with the server in file.
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-P file, \-\-printwd=file
|
2002-12-26 23:17:06 +03:00
|
|
|
Print the last working directory to the specified file. This option is
|
|
|
|
not meant to be used directly. Instead, it's used from a special shell
|
|
|
|
script that automatically changes the current directory of the shell to
|
|
|
|
the last directory the Midnight Commander was in. Source the file
|
2002-09-22 04:38:54 +04:00
|
|
|
.B @prefix@/share/mc/bin/mc.sh
|
2002-11-01 22:59:46 +03:00
|
|
|
(bash and zsh users) or
|
2002-09-22 04:38:54 +04:00
|
|
|
.B @prefix@/share/mc/bin/mc.csh
|
2002-11-01 22:59:46 +03:00
|
|
|
(tcsh users) respectively to define
|
|
|
|
.B mc
|
|
|
|
as an alias to the appropriate shell script.
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-s, \-\-slow
|
2002-12-26 23:17:06 +03:00
|
|
|
Turn on the slow terminal mode, in this mode the program will not
|
1998-02-27 07:54:42 +03:00
|
|
|
draw expensive line drawing characters and will toggle verbose mode
|
|
|
|
off.
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-t, \-\-termcap
|
1998-02-27 07:54:42 +03:00
|
|
|
Used only if the code was compiled with Slang and terminfo: it makes
|
2002-08-21 01:17:30 +04:00
|
|
|
the Midnight Commander use the value of the
|
1998-02-27 07:54:42 +03:00
|
|
|
.B TERMCAP
|
|
|
|
variable for the terminal information instead of the information on
|
|
|
|
the system wide terminal database
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-u, \-\-nosubshell
|
2002-12-26 23:17:06 +03:00
|
|
|
Disable use of the concurrent shell (only makes sense if the Midnight
|
|
|
|
Commander has been built with concurrent shell support).
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-U, \-\-subshell
|
2002-12-26 23:17:06 +03:00
|
|
|
Enable use of the concurrent shell support (only makes sense if the
|
|
|
|
Midnight Commander was built with the subshell support set as an
|
1998-02-27 07:54:42 +03:00
|
|
|
optional feature).
|
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-v file, \-\-view=file
|
2003-02-25 17:38:03 +03:00
|
|
|
Start the internal viewer to view the specified file. See also
|
|
|
|
.BR "mcview (1)" .
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-V, \-\-version
|
2002-12-26 23:17:06 +03:00
|
|
|
Display the version of the program.
|
1998-02-27 07:54:42 +03:00
|
|
|
.TP
|
2003-10-08 09:21:45 +04:00
|
|
|
.I \-x, \-\-xterm
|
2002-12-26 23:17:06 +03:00
|
|
|
Force xterm mode. Used when running on xterm-capable terminals (two
|
1998-02-27 07:54:42 +03:00
|
|
|
screen modes, and able to send mouse escape sequences).
|
|
|
|
.PP
|
|
|
|
If specified, the first path name is the directory to show in the
|
|
|
|
selected panel; the second path name is the directory to be shown in
|
|
|
|
the other panel.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Overview"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Overview"
|
2001-09-03 22:01:45 +04:00
|
|
|
The screen of the Midnight Commander is divided into four parts.
|
|
|
|
Almost all of the screen space is taken up by two directory panels.
|
|
|
|
By default, the second line from the bottom of the screen is the
|
|
|
|
shell command line, and the bottom line shows the function key labels.
|
|
|
|
The topmost line is the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
menu bar line\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Menu Bar"
|
|
|
|
The menu bar line may not be visible, but appears if you click the
|
|
|
|
topmost line with the mouse or press the F9 key.
|
|
|
|
.PP
|
|
|
|
The Midnight Commander provides a view of two directories at the same
|
|
|
|
time. One of the panels is the current panel (a selection bar is in
|
|
|
|
the current panel). Almost all operations take place on the current
|
|
|
|
panel. Some file operations like Rename and Copy by default use the
|
|
|
|
directory of the unselected panel as a destination (don't worry, they
|
|
|
|
always ask you for confirmation first). For more information, see the
|
|
|
|
sections on the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Directory Panels\&,
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Directory Panels"
|
|
|
|
the
|
|
|
|
.\"LINK2"
|
|
|
|
Left and Right Menus
|
|
|
|
.\"Left and Right Menus"
|
|
|
|
and the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
File Menu\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"File Menu"
|
|
|
|
.PP
|
|
|
|
You can execute system commands from the Midnight Commander by simply
|
|
|
|
typing them. Everything you type will appear on the shell command line,
|
|
|
|
and when you press Enter the Midnight Commander will execute the
|
|
|
|
command line you typed; read the
|
|
|
|
.\"LINK2"
|
|
|
|
Shell Command Line
|
|
|
|
.\"Shell Command Line"
|
|
|
|
and
|
|
|
|
.\"LINK2"
|
|
|
|
Input Line Keys
|
|
|
|
.\"Input Line Keys"
|
|
|
|
sections to learn more about the command line.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Mouse Support"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Mouse Support"
|
|
|
|
The Midnight Commander comes with mouse support. It is activated
|
|
|
|
whenever you are running on an
|
|
|
|
.B xterm(1)
|
2002-07-04 18:19:49 +04:00
|
|
|
terminal (it even works if you take a telnet, ssh or rlogin connection to
|
1998-02-27 07:54:42 +03:00
|
|
|
another machine from the xterm) or if you are running on a Linux
|
|
|
|
console and have the
|
|
|
|
.B gpm
|
|
|
|
mouse server running.
|
|
|
|
.PP
|
|
|
|
When you left click on a file in the directory panels, that file is
|
|
|
|
selected; if you click with the right button, the file is marked (or
|
|
|
|
unmarked, depending on the previous state).
|
|
|
|
.PP
|
|
|
|
Double-clicking on a file will try to execute the command if it is
|
|
|
|
an executable program; and if the
|
|
|
|
.\"LINK2"
|
|
|
|
extension file
|
|
|
|
.\"Extension File Edit"
|
|
|
|
has a program specified for the file's extension, the specified
|
|
|
|
program is executed.
|
|
|
|
.PP
|
|
|
|
Also, it is possible to execute the commands assigned to the function
|
|
|
|
key labels by clicking on them.
|
|
|
|
.PP
|
2001-09-03 22:01:45 +04:00
|
|
|
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
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Help Viewer
|
2001-08-07 18:26:02 +04:00
|
|
|
.\"Contents"
|
1998-02-27 07:54:42 +03:00
|
|
|
and the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Directory Tree\&.
|
2001-09-05 02:06:30 +04:00
|
|
|
.\"Directory Tree"
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The default auto repeat rate for the mouse buttons is 400
|
|
|
|
milliseconds. This may be changed to other values by editing the
|
|
|
|
.\"LINK2"
|
|
|
|
\&~/.mc/ini
|
|
|
|
.\"Save Setup"
|
2002-08-21 01:17:30 +04:00
|
|
|
file and changing the
|
1998-02-27 07:54:42 +03:00
|
|
|
.I mouse_repeat_rate
|
|
|
|
parameter.
|
|
|
|
.PP
|
2002-10-16 11:22:41 +04:00
|
|
|
If you are running the Midnight Commander with the mouse support, you
|
|
|
|
can get the default mouse behavior (cutting and pasting text) by holding
|
|
|
|
down the Shift key.
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH ""
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Keys"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Keys"
|
|
|
|
Some commands in the Midnight Commander involve the use of the
|
|
|
|
.I Control
|
2002-08-21 01:17:30 +04:00
|
|
|
(sometimes labeled CTRL or CTL) and the
|
1998-02-27 07:54:42 +03:00
|
|
|
.I Meta
|
|
|
|
(sometimes labeled ALT or even Compose) keys. In this manual we will
|
|
|
|
use the following abbreviations:
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-<chr>
|
|
|
|
means hold the Control key while typing the character <chr>.
|
|
|
|
Thus C-f would be: hold the Control key and type f.
|
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-<chr>
|
2002-11-06 12:03:47 +03:00
|
|
|
means hold the Meta or Alt key down while typing <chr>.
|
|
|
|
If there is no Meta or Alt key, type
|
|
|
|
.IR ESC ,
|
|
|
|
release it, then type the character <chr>.
|
|
|
|
.TP
|
|
|
|
.B S-<chr>
|
|
|
|
means hold the Shift key down while typing <chr>.
|
2002-11-01 18:36:28 +03:00
|
|
|
.PP
|
1998-02-27 07:54:42 +03:00
|
|
|
All input lines in the Midnight Commander use an approximation to
|
|
|
|
the GNU Emacs editor's key bindings.
|
|
|
|
.PP
|
|
|
|
There are many sections which tell about the keys. The following are
|
|
|
|
the most important.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
File Menu
|
|
|
|
.\"File Menu"
|
|
|
|
section documents the keyboard shortcuts for the commands appearing in
|
|
|
|
the File menu. This section includes the function keys. Most of these
|
|
|
|
commands perform some action, usually on the selected file or the
|
|
|
|
tagged files.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Directory Panels
|
|
|
|
.\"Directory Panels"
|
|
|
|
section documents the keys which select a file or tag files as a
|
|
|
|
target for a later action (the action is usually one from the file
|
|
|
|
menu).
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Shell Command Line
|
|
|
|
.\"Shell Command Line"
|
|
|
|
section list the keys which are used for entering and editing command
|
|
|
|
lines. Most of these copy file names and such from the directory
|
|
|
|
panels to the command line (to avoid excessive typing) or access the
|
|
|
|
command line history.
|
|
|
|
.PP
|
|
|
|
.\"LINK2"
|
|
|
|
Input Line Keys
|
|
|
|
.\"Input Line Keys"
|
|
|
|
are used for editing input lines. This means both the command line and
|
|
|
|
the input lines in the query dialogs.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Miscellaneous Keys"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Miscellaneous Keys"
|
|
|
|
Here are some keys which don't fall into any of the other categories:
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B Enter
|
|
|
|
if there is some text in the command line (the one at the bottom of
|
1998-02-27 07:54:42 +03:00
|
|
|
the panels), then that command is executed. If there is no text in the
|
|
|
|
command line then if the selection bar is over a directory the
|
2002-08-21 01:17:30 +04:00
|
|
|
Midnight Commander does a
|
1998-02-27 07:54:42 +03:00
|
|
|
.B chdir(2)
|
|
|
|
to the selected directory and reloads the information on the panel;
|
|
|
|
if the selection is an executable file then it is executed. Finally,
|
|
|
|
if the extension of the selected file name matches one of the
|
|
|
|
extensions in the
|
|
|
|
.\"LINK2"
|
|
|
|
extensions file
|
|
|
|
.\"Extension File Edit"
|
|
|
|
then the corresponding command is executed.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-l
|
|
|
|
repaint all the information in the Midnight Commander.
|
|
|
|
.TP
|
|
|
|
.B C-x c
|
|
|
|
run the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Chmod
|
|
|
|
.\"Chmod"
|
|
|
|
command on a file or on the tagged files.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-x o
|
|
|
|
run the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Chown
|
|
|
|
.\"Chown"
|
|
|
|
command on the current file or on the tagged files.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-x l
|
|
|
|
run the link command.
|
|
|
|
.TP
|
|
|
|
.B C-x s
|
|
|
|
run the symbolic link command.
|
|
|
|
.TP
|
|
|
|
.B C-x i
|
|
|
|
set the other panel display mode to information.
|
|
|
|
.TP
|
|
|
|
.B C-x q
|
|
|
|
set the other panel display mode to quick view.
|
|
|
|
.TP
|
|
|
|
.B C-x !
|
|
|
|
execute the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
External panelize
|
|
|
|
.\"External panelize"
|
|
|
|
command.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-x h
|
2002-11-06 12:03:47 +03:00
|
|
|
run the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
add directory to hotlist
|
|
|
|
.\"Hotlist"
|
|
|
|
command.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-!
|
2002-11-06 12:03:47 +03:00
|
|
|
executes the Filtered view command, described in the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
view command\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Internal File Viewer"
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-?
|
2002-11-06 12:03:47 +03:00
|
|
|
executes the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Find file
|
|
|
|
.\"Find File"
|
|
|
|
command.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-c
|
2002-11-06 12:03:47 +03:00
|
|
|
pops up the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
quick cd
|
|
|
|
.\"Quick cd"
|
|
|
|
dialog.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-o
|
2003-06-18 08:24:24 +04:00
|
|
|
when the program is being run in the Linux or FreeBSD console or under
|
|
|
|
an xterm, it will show you the output of the previous command. When ran
|
|
|
|
on the Linux console, the Midnight Commander uses an external program
|
1998-02-27 07:54:42 +03:00
|
|
|
(cons.saver) to handle saving and restoring of information on the
|
|
|
|
screen.
|
|
|
|
.PP
|
|
|
|
When the subshell support is compiled in, you can type C-o at any time
|
|
|
|
and you will be taken back to the Midnight Commander main screen, to
|
|
|
|
return to your application just type C-o. If you have an application
|
|
|
|
suspended by using this trick, you won't be able to execute other
|
|
|
|
programs from the Midnight Commander until you terminate the suspended
|
2002-08-21 01:17:30 +04:00
|
|
|
application.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Directory Panels"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Directory Panels"
|
|
|
|
This section lists the keys which operate on the directory panels. If
|
|
|
|
you want to know how to change the appearance of the panels take a
|
|
|
|
look at the section on
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Left and Right Menus\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Left and Right Menus"
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B Tab, C-i
|
|
|
|
change the current panel. The old other panel becomes the new current
|
1998-02-27 07:54:42 +03:00
|
|
|
panel and the old current panel becomes the new other panel. The
|
|
|
|
selection bar moves from the old current panel to the new current
|
|
|
|
panel.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B Insert, C-t
|
|
|
|
to tag files you may use the Insert key (the kich1 terminfo sequence)
|
1998-02-27 07:54:42 +03:00
|
|
|
or the C-t (Control-t) sequence. To untag files, just retag a tagged
|
|
|
|
file.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-g, Alt-r, Alt-j
|
2002-11-06 12:03:47 +03:00
|
|
|
used to select the top file in a panel, the middle file and the bottom one,
|
2002-08-21 01:17:30 +04:00
|
|
|
respectively.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B C-s, Alt-s
|
2002-11-06 12:03:47 +03:00
|
|
|
start a filename search in the directory listing. When the search is
|
2001-09-03 22:01:45 +04:00
|
|
|
active, the user input will be added to the search string instead of
|
1998-02-27 07:54:42 +03:00
|
|
|
the command line. If the
|
2002-10-18 01:51:50 +04:00
|
|
|
.I Show mini-status
|
1998-02-27 07:54:42 +03:00
|
|
|
option is enabled the search string is shown on the mini-status
|
|
|
|
line. When typing, the selection bar will move to the next file
|
|
|
|
starting with the typed letters. The
|
2002-10-18 01:51:50 +04:00
|
|
|
.I backspace
|
2002-03-21 10:57:55 +03:00
|
|
|
or
|
2002-08-21 01:17:30 +04:00
|
|
|
.I DEL
|
1998-02-27 07:54:42 +03:00
|
|
|
keys can be used to correct typing mistakes. If C-s is pressed
|
|
|
|
again, the next match is searched for.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-t
|
2002-11-06 12:03:47 +03:00
|
|
|
toggle the current display listing to show the next display listing
|
1998-02-27 07:54:42 +03:00
|
|
|
mode. With this it is possible to quickly switch from long listing
|
|
|
|
to regular listing and the user defined listing mode.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-\\\\ (control-backslash)
|
|
|
|
show the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
directory hotlist
|
|
|
|
.\"Hotlist"
|
|
|
|
and change to the selected directory.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B + \ (plus)
|
|
|
|
this is used to select (tag) a group of files. The Midnight Commander
|
1998-02-27 07:54:42 +03:00
|
|
|
will prompt for a regular expression describing the group. When
|
2002-08-21 01:17:30 +04:00
|
|
|
.I Shell Patterns
|
1998-02-27 07:54:42 +03:00
|
|
|
are enabled, the regular expression is much like the regular
|
|
|
|
expressions in the shell (* standing for zero or more characters and ?
|
|
|
|
standing for one character). If
|
|
|
|
.I Shell Patterns
|
|
|
|
is off, then the tagging of files is done with normal regular
|
|
|
|
expressions (see ed (1)).
|
|
|
|
.PP
|
|
|
|
If the expression starts or ends with a slash (/), then it will select
|
|
|
|
directories instead of files.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B \\\\ (backslash)
|
|
|
|
use the "\\" key to unselect a group of files. This is the opposite of
|
1998-02-27 07:54:42 +03:00
|
|
|
the Plus key.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B up-key, C-p
|
|
|
|
move the selection bar to the previous entry in the panel.
|
|
|
|
.TP
|
|
|
|
.B down-key, C-n
|
|
|
|
move the selection bar to the next entry in the panel.
|
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B home, a1, Alt-<
|
2002-11-06 12:03:47 +03:00
|
|
|
move the selection bar to the first entry in the panel.
|
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B end, c1, Alt->
|
2002-11-06 12:03:47 +03:00
|
|
|
move the selection bar to the last entry in the panel.
|
|
|
|
.TP
|
|
|
|
.B next-page, C-v
|
|
|
|
move the selection bar one page down.
|
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B prev-page, Alt-v
|
2002-11-06 12:03:47 +03:00
|
|
|
move the selection bar one page up.
|
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-o
|
|
|
|
If the currently selected file is a directory, load that directory on
|
|
|
|
the other panel and moves the selection to the next file.
|
|
|
|
.TP
|
|
|
|
.B Alt-i
|
2002-11-11 03:46:53 +03:00
|
|
|
make the current directory of the current panel also the current
|
|
|
|
directory of the other panel. Put the other panel to the listing mode
|
|
|
|
if needed. If the current panel is panelized, the other panel doesn't
|
|
|
|
become panelized.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-PageUp, C-PageDown
|
2003-01-31 22:48:37 +03:00
|
|
|
only when supported by the terminal: change to ".." and to the currently
|
|
|
|
selected directory respectively.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-y
|
2003-01-31 22:48:37 +03:00
|
|
|
moves to the previous directory in the history, equivalent to clicking
|
|
|
|
the
|
|
|
|
.I <
|
|
|
|
with the mouse.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-u
|
2003-01-31 22:48:37 +03:00
|
|
|
moves to the next directory in the history, equivalent to clicking the
|
|
|
|
.I >
|
|
|
|
with the mouse.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Shift-h, Alt-H
|
2002-11-06 12:03:47 +03:00
|
|
|
displays the directory history, equivalent to depressing the 'v' with
|
1998-09-30 22:56:06 +04:00
|
|
|
the mouse.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Shell Command Line"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Shell Command Line"
|
|
|
|
This section lists keys which are useful to avoid excessive typing when
|
|
|
|
entering shell commands.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Enter
|
2002-11-06 12:03:47 +03:00
|
|
|
copy the currently selected file name to the command line.
|
|
|
|
.TP
|
|
|
|
.B C-Enter
|
2005-02-26 19:38:59 +03:00
|
|
|
same a Alt-Enter. May not work on remote systems and some terminals.
|
2003-11-15 00:13:00 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B C-Shift-Enter
|
2003-11-15 00:13:00 +03:00
|
|
|
copy the full path name of the currently selected file to the command
|
|
|
|
line. May not work on remote systems and some terminals.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Tab
|
2002-11-06 12:03:47 +03:00
|
|
|
does the filename, command, variable, username and hostname
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
completion
|
|
|
|
.\"Completion"
|
|
|
|
for you.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-x t, C-x C-t
|
|
|
|
copy the tagged files (or if there are no tagged files, the selected
|
1998-02-27 07:54:42 +03:00
|
|
|
file) of the current panel (C-x t) or of the other panel (C-x C-t) to
|
|
|
|
the command line.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-x p, C-x C-p
|
|
|
|
the first key sequence copies the current path name to the command
|
1998-02-27 07:54:42 +03:00
|
|
|
line, and the second one copies the unselected panel's path name to
|
|
|
|
the command line.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B C-q
|
|
|
|
the quote command can be used to insert characters that are otherwise
|
1998-02-27 07:54:42 +03:00
|
|
|
interpreted by the Midnight Commander (like the '+' symbol)
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-p, Alt-n
|
|
|
|
use these keys to browse through the command history. Alt-p takes you
|
|
|
|
to the last entry, Alt-n takes you to the next one.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-h
|
2002-11-06 12:03:47 +03:00
|
|
|
displays the history for the current input line.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " General Movement Keys"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " General Movement Keys"
|
|
|
|
The help viewer, the file viewer and the directory tree use common
|
|
|
|
code to handle moving. Therefore they accept exactly the same
|
|
|
|
keys. Each of them also accepts some keys of its own.
|
|
|
|
.PP
|
|
|
|
Other parts of the Midnight Commander use some of the same movement
|
|
|
|
keys, so this section may be of use for those parts too.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B Up, C-p
|
|
|
|
moves one line backward.
|
|
|
|
.TP
|
|
|
|
.B Down, C-n
|
|
|
|
moves one line forward.
|
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Prev Page, Page Up, Alt-v
|
2002-11-06 12:03:47 +03:00
|
|
|
moves one page up.
|
|
|
|
.TP
|
|
|
|
.B Next Page, Page Down, C-v
|
|
|
|
moves one page down.
|
|
|
|
.TP
|
|
|
|
.B Home, A1
|
|
|
|
moves to the beginning.
|
|
|
|
.TP
|
|
|
|
.B End, C1
|
|
|
|
move to the end.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The help viewer and the file viewer accept the following keys in
|
|
|
|
addition the to ones mentioned above:
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
|
|
|
.B b, C-b, C-h, Backspace, Delete
|
|
|
|
moves one page up.
|
|
|
|
.TP
|
|
|
|
.B Space bar
|
|
|
|
moves one page down.
|
|
|
|
.TP
|
|
|
|
.B u, d
|
|
|
|
moves one half of a page up or down.
|
|
|
|
.TP
|
|
|
|
.B g, G
|
|
|
|
moves to the beginning or to the end.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Input Line Keys"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Input Line Keys"
|
|
|
|
The input lines (they are used for the
|
|
|
|
.\"LINK2"
|
|
|
|
command line
|
|
|
|
.\"Shell Command Line"
|
|
|
|
and for the query dialogs in the program) accept these keys:
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-a
|
|
|
|
puts the cursor at the beginning of line.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-e
|
|
|
|
puts the cursor at the end of the line.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-b, move-left
|
|
|
|
move the cursor one position left.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-f, move-right
|
|
|
|
move the cursor one position right.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-f
|
1998-02-27 07:54:42 +03:00
|
|
|
moves one word forward.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-b
|
1998-02-27 07:54:42 +03:00
|
|
|
moves one word backward.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-h, backspace
|
|
|
|
delete the previous character.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-d, Delete
|
|
|
|
delete the character in the point (over the cursor).
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-@
|
|
|
|
sets the mark for cutting.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-w
|
|
|
|
copies the text between the cursor and the mark to a kill buffer and
|
|
|
|
removes the text from the input line.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-w
|
1998-02-27 07:54:42 +03:00
|
|
|
copies the text between the cursor and the mark to a kill buffer.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-y
|
|
|
|
yanks back the contents of the kill buffer.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B C-k
|
|
|
|
kills the text from the cursor to the end of the line.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-p, Alt-n
|
|
|
|
Use these keys to browse through the command history. Alt-p takes you
|
|
|
|
to the last entry, Alt-n takes you to the next one.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-C-h, Alt-Backspace
|
1998-02-27 07:54:42 +03:00
|
|
|
delete one word backward.
|
2002-11-06 12:03:47 +03:00
|
|
|
.TP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Tab
|
1998-02-27 07:54:42 +03:00
|
|
|
does the filename, command, variable, username and hostname
|
|
|
|
.\"LINK2"
|
|
|
|
completion
|
|
|
|
.\"Completion"
|
|
|
|
for you.
|
|
|
|
.SH ""
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Menu Bar"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Menu Bar"
|
|
|
|
The menu bar pops up when you press F9 or click the mouse on the top
|
|
|
|
row of the screen. The menu bar has five menus: "Left", "File",
|
|
|
|
"Command", "Options" and "Right".
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Left and Right Menus
|
|
|
|
.\"Left and Right Menus"
|
|
|
|
allow you to modify the appearance of the left and right directory
|
|
|
|
panels.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
File Menu
|
|
|
|
.\"File Menu"
|
|
|
|
lists the actions you can perform on the currently selected file or
|
|
|
|
the tagged files.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Command Menu
|
|
|
|
.\"Command Menu"
|
|
|
|
lists the actions which are more general and bear no relation to the
|
|
|
|
currently selected file or the tagged files.
|
|
|
|
.PP
|
2001-08-07 02:29:30 +04:00
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Options Menu
|
|
|
|
.\"Options Menu"
|
|
|
|
lists the actions which allow you to customize the Midnight Commander.
|
2002-08-21 01:17:30 +04:00
|
|
|
.\"NODE " Left and Right Menus"
|
|
|
|
.SH " Left and Right (Above and Below) Menus"
|
1998-02-27 07:54:42 +03:00
|
|
|
The outlook of the directory panels can be changed from the
|
2002-10-18 01:51:50 +04:00
|
|
|
.B Left
|
1998-02-27 07:54:42 +03:00
|
|
|
and
|
2002-10-18 01:51:50 +04:00
|
|
|
.B Right
|
|
|
|
menus (they are named
|
|
|
|
.B Above
|
2002-08-21 01:17:30 +04:00
|
|
|
and
|
2002-10-18 01:51:50 +04:00
|
|
|
.B Below
|
2002-08-21 01:17:30 +04:00
|
|
|
when the horizontal panel split is chosen from the
|
|
|
|
.\"LINK2"
|
|
|
|
Layout
|
|
|
|
.\"Layout"
|
|
|
|
options dialog).
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Listing Mode..."
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Listing Mode..."
|
|
|
|
The listing mode view is used to display a listing of files, there are
|
|
|
|
four different listing modes available:
|
2002-10-30 03:59:25 +03:00
|
|
|
.BR Full ,
|
|
|
|
.BR Brief ,
|
2002-02-27 16:47:26 +03:00
|
|
|
.B Long
|
1998-02-27 07:54:42 +03:00
|
|
|
and
|
2002-10-30 03:59:25 +03:00
|
|
|
.BR User .
|
1998-02-27 07:54:42 +03:00
|
|
|
The full directory view shows the file name, the size of the file and
|
2002-08-21 01:17:30 +04:00
|
|
|
the modification time.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The brief view shows only the file name and it has two columns
|
|
|
|
(therefore showing twice as many files as other views). The long view
|
|
|
|
is similar to the output of
|
|
|
|
.B "ls -l"
|
|
|
|
command. The long view takes the whole screen width.
|
|
|
|
.PP
|
|
|
|
If you choose the "User" display format, then you have to specify
|
|
|
|
the display format.
|
|
|
|
.PP
|
|
|
|
The user display format must start with a panel size specifier. This
|
|
|
|
may be "half" or "full", and they specify a half screen panel and a
|
|
|
|
full screen panel respectively.
|
|
|
|
.PP
|
|
|
|
After the panel size, you may specify the two columns mode on the
|
|
|
|
panel, this is done by adding the number "2" to the user format
|
2002-08-21 01:17:30 +04:00
|
|
|
string.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
After this you add the name of the fields with an optional size
|
|
|
|
specifier. This are the available fields you may display:
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B name
|
1998-02-27 07:54:42 +03:00
|
|
|
displays the file name.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B size
|
1998-02-27 07:54:42 +03:00
|
|
|
displays the file size.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B bsize
|
2000-09-24 21:32:35 +04:00
|
|
|
is an alternative form of the
|
|
|
|
.B size
|
|
|
|
format. It displays the size of the files and for directories it just
|
|
|
|
shows SUB-DIR or UP--DIR.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B type
|
2003-01-10 23:03:07 +03:00
|
|
|
displays a one character wide type field. This character is similar to
|
2001-09-03 22:01:45 +04:00
|
|
|
what is displayed by ls with the -F flag -
|
|
|
|
.B *
|
|
|
|
for executable files,
|
|
|
|
.B /
|
|
|
|
for directories,
|
|
|
|
.B @
|
|
|
|
for links,
|
|
|
|
.B =
|
|
|
|
for sockets,
|
|
|
|
.B -
|
|
|
|
for character devices,
|
|
|
|
.B +
|
|
|
|
for block devices,
|
|
|
|
.B |
|
|
|
|
for pipes,
|
|
|
|
.B ~
|
|
|
|
for symbolic links to directories and
|
|
|
|
.B !
|
2002-10-14 02:44:22 +04:00
|
|
|
for stale symlinks (links that point nowhere).
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B mark
|
|
|
|
an asterisk if the file is tagged, a space if it's not.
|
|
|
|
.TP
|
|
|
|
.B mtime
|
1998-02-27 07:54:42 +03:00
|
|
|
file's last modification time.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B atime
|
1998-02-27 07:54:42 +03:00
|
|
|
file's last access time.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B ctime
|
1998-02-27 07:54:42 +03:00
|
|
|
file's creation time.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B perm
|
1998-02-27 07:54:42 +03:00
|
|
|
a string representing the current permission bits of the file.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B mode
|
1998-02-27 07:54:42 +03:00
|
|
|
an octal value with the current permission bits of the file.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B nlink
|
1998-02-27 07:54:42 +03:00
|
|
|
the number of links to the file.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B ngid
|
1998-02-27 07:54:42 +03:00
|
|
|
the GID (numeric).
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B nuid
|
1998-02-27 07:54:42 +03:00
|
|
|
the UID (numeric).
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B owner
|
1998-02-27 07:54:42 +03:00
|
|
|
the owner of the file.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B group
|
1998-02-27 07:54:42 +03:00
|
|
|
the group of the file.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B inode
|
1998-02-27 07:54:42 +03:00
|
|
|
the inode of the file.
|
|
|
|
.PP
|
2002-10-30 03:59:25 +03:00
|
|
|
Also you can use following keywords to define the panel layout:
|
|
|
|
.TP
|
|
|
|
.B space
|
1998-02-27 07:54:42 +03:00
|
|
|
a space in the display format.
|
2002-10-30 03:59:25 +03:00
|
|
|
.TP
|
|
|
|
.B |
|
|
|
|
add a vertical line to the display format.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
To force one field to a fixed size (a size specifier), you just add
|
2002-10-30 03:59:25 +03:00
|
|
|
.B :
|
|
|
|
followed by the number of characters you want the field to have. If the
|
|
|
|
number is followed by the symbol
|
|
|
|
.BR + ,
|
|
|
|
then the size specifies the minimal field size - if the program finds
|
|
|
|
out that there is more space on the screen, it will then expand that
|
|
|
|
field.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
For example, the
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Full
|
|
|
|
display corresponds to this format:
|
|
|
|
.PP
|
2002-10-30 03:59:25 +03:00
|
|
|
half type name | size | mtime
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
And the
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Long
|
|
|
|
display corresponds to this format:
|
|
|
|
.PP
|
2002-10-30 03:59:25 +03:00
|
|
|
full perm space nlink space owner space group space size space mtime
|
|
|
|
space name
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
This is a nice user display format:
|
|
|
|
.PP
|
2002-10-30 03:59:25 +03:00
|
|
|
half name | size:7 | type mode:3
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Panels may also be set to the following modes:
|
|
|
|
.TP
|
|
|
|
.B "Info"
|
|
|
|
The info view display information related to the currently
|
|
|
|
selected file and if possible information about the current file
|
|
|
|
system.
|
|
|
|
.TP
|
2002-08-21 01:17:30 +04:00
|
|
|
.B "Tree"
|
1998-02-27 07:54:42 +03:00
|
|
|
The tree view is quite similar to the
|
|
|
|
.\"LINK2"
|
|
|
|
directory tree
|
|
|
|
.\"Directory Tree"
|
|
|
|
feature. See the section about it for more information.
|
2002-08-21 01:17:30 +04:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B "Quick View"
|
2002-08-21 01:17:30 +04:00
|
|
|
In this mode, the panel will switch to a reduced
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
viewer
|
|
|
|
.\"Internal File Viewer"
|
|
|
|
that displays the contents of the currently selected file, if you
|
|
|
|
select the panel (with the tab key or the mouse), you will have access
|
|
|
|
to the usual viewer commands.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Sort Order..."
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Sort Order..."
|
|
|
|
The eight sort orders are by name, by extension, by modification time,
|
|
|
|
by access time, and by inode information modification time, by size,
|
|
|
|
by inode and unsorted. In the Sort order dialog box you can choose
|
|
|
|
the sort order and you may also specify if you want to sort in reverse
|
|
|
|
order by checking the reverse box.
|
|
|
|
.PP
|
|
|
|
By default directories are sorted before files but this can be changed
|
|
|
|
from the
|
|
|
|
.\"LINK2"
|
|
|
|
Options menu
|
|
|
|
.\"Options Menu"
|
2002-08-21 01:17:30 +04:00
|
|
|
(option
|
2002-10-15 00:57:52 +04:00
|
|
|
.BR "Mix all files" ).
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Filter..."
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Filter..."
|
|
|
|
The filter command allows you to specify a shell pattern (for example
|
2002-10-15 00:57:52 +04:00
|
|
|
.BR "*.tar.gz" )
|
|
|
|
which the files must match to be shown. Regardless
|
1998-02-27 07:54:42 +03:00
|
|
|
of the filter pattern, the directories and the links to directories
|
|
|
|
are always shown in the directory panel.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Reread"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Reread"
|
|
|
|
The reread command reload the list of files in the directory. It is
|
|
|
|
useful if other processes have created or removed files. If you
|
|
|
|
have panelized file names in a panel this will reload the directory
|
|
|
|
contents and remove the panelized information (See the section
|
|
|
|
.\"LINK2"
|
|
|
|
External panelize
|
|
|
|
.\"External panelize"
|
|
|
|
for more information).
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " File Menu"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " File Menu"
|
|
|
|
The Midnight Commander uses the F1 - F10 keys as keyboard shortcuts
|
2001-09-03 22:01:45 +04:00
|
|
|
for commands appearing in the file menu. The escape sequences for the
|
|
|
|
function keys are terminfo capabilities kf1 trough kf10. On terminals
|
|
|
|
without function key support, you can achieve the same functionality by
|
1998-02-27 07:54:42 +03:00
|
|
|
pressing the ESC key and then a number in the range 1 through 9 and 0
|
|
|
|
(corresponding to F1 to F9 and F10 respectively).
|
|
|
|
.PP
|
|
|
|
The File menu has the following commands (keyboard shortcuts in parentheses):
|
|
|
|
.PP
|
|
|
|
.B Help (F1)
|
|
|
|
.PP
|
|
|
|
Invokes the built-in hypertext help viewer. Inside the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
help viewer\&,
|
2001-08-07 18:26:02 +04:00
|
|
|
.\"Contents"
|
1998-02-27 07:54:42 +03:00
|
|
|
you can use the Tab key to select the next link and the Enter key to
|
|
|
|
follow that link. The keys Space and Backspace are used to move
|
|
|
|
forward and backward in a help page. Press F1 again to get the full
|
|
|
|
list of accepted keys.
|
|
|
|
.PP
|
|
|
|
.B Menu (F2)
|
|
|
|
.PP
|
|
|
|
Invoke the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
user menu\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Menu File Edit"
|
|
|
|
The user menu provides an easy way to provide users with a menu and
|
|
|
|
add extra features to the Midnight Commander.
|
|
|
|
.PP
|
|
|
|
.B View (F3, Shift-F3)
|
|
|
|
.PP
|
|
|
|
View the currently selected file. By default this invokes the
|
|
|
|
.\"LINK2"
|
|
|
|
Internal File Viewer
|
|
|
|
.\"Internal File Viewer"
|
|
|
|
but if the option "Use internal view" is off, it invokes an external
|
2002-08-21 01:17:30 +04:00
|
|
|
file viewer specified by the
|
|
|
|
.B PAGER
|
|
|
|
environment variable. If
|
1998-02-27 07:54:42 +03:00
|
|
|
.B PAGER
|
|
|
|
is undefined, the "view" command is invoked. If you use Shift-F3
|
|
|
|
instead, the viewer will be invoked without doing any formatting or
|
2000-08-17 20:46:02 +04:00
|
|
|
preprocessing to the file.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Filtered View (Alt-!)
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2003-01-10 23:03:07 +03:00
|
|
|
This command prompts for a command
|
|
|
|
and its arguments (the argument defaults to the currently selected
|
1998-02-27 07:54:42 +03:00
|
|
|
file name), the output from such command is shown in the internal file
|
|
|
|
viewer.
|
|
|
|
.PP
|
|
|
|
.B Edit (F4)
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
Currently it invokes the
|
|
|
|
.B vi
|
1998-02-27 07:54:42 +03:00
|
|
|
editor, or the editor specified in the
|
|
|
|
.B EDITOR
|
2002-08-21 01:17:30 +04:00
|
|
|
environment variable, or the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Internal File Editor
|
|
|
|
.\"Internal File Editor"
|
|
|
|
if the use_internal_edit option is on.
|
|
|
|
.PP
|
|
|
|
.B Copy (F5)
|
|
|
|
.PP
|
|
|
|
Pop up an input dialog with destination that defaults to the directory
|
|
|
|
in the non-selected panel and copies the currently selected file (or
|
|
|
|
the tagged files, if there is at least one file tagged) to the
|
|
|
|
directory specified by the user in the input dialog. During this
|
|
|
|
process, you can press C-c or ESC to abort the operation. For details
|
|
|
|
about source mask (which will be usually either * or ^\\(.*\\)$ depending
|
|
|
|
on setting of Use shell patterns) and possible wildcards in the destination
|
2002-08-21 01:17:30 +04:00
|
|
|
see
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Mask copy/rename\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Mask Copy/Rename"
|
|
|
|
.PP
|
|
|
|
On some systems, it is possible to do the copy in the background by
|
2005-02-26 19:38:59 +03:00
|
|
|
clicking on the background button (or pressing Alt-b in the dialog
|
2002-08-21 01:17:30 +04:00
|
|
|
box). The
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Background Jobs
|
2002-03-01 17:39:58 +03:00
|
|
|
.\"Background jobs"
|
1998-02-27 07:54:42 +03:00
|
|
|
is used to control the background process.
|
|
|
|
.PP
|
|
|
|
.B Link (C-x l)
|
|
|
|
.PP
|
|
|
|
Create a hard link to the current file.
|
|
|
|
.PP
|
|
|
|
.B SymLink (C-x s)
|
|
|
|
.PP
|
|
|
|
Create a symbolic link to the current file. To those of you who don't
|
|
|
|
know what links are: creating a link to a file is a bit like copying
|
|
|
|
the file, but both the source filename and the destination filename
|
|
|
|
represent the same file image. For example, if you edit one of these
|
|
|
|
files, all changes you make will appear in both files. Some people call
|
|
|
|
links aliases or shortcuts.
|
|
|
|
.PP
|
|
|
|
A hard link appears as a real file. After making it, there is no way of
|
|
|
|
telling which one is the original and which is the link. If you delete
|
|
|
|
either one of them the other one is still intact. It is very difficult
|
|
|
|
to notice that the files represent the same image. Use hard links when
|
|
|
|
you don't even want to know.
|
|
|
|
.PP
|
|
|
|
A symbolic link is a reference to the name of the original file. If
|
|
|
|
the original file is deleted the symbolic link is useless. It is quite
|
|
|
|
easy to notice that the files represent the same image. The Midnight
|
|
|
|
Commander shows an "@"-sign in front of the file name if it is a
|
|
|
|
symbolic link to somewhere (except to directory, where it shows a tilde (~)).
|
|
|
|
The original file which the link points to is shown on mini-status line if the
|
|
|
|
.I "Show mini-status"
|
|
|
|
option is enabled. Use symbolic links when you want to avoid the
|
|
|
|
confusion that can be caused by hard links.
|
|
|
|
.PP
|
|
|
|
.B Rename/Move (F6)
|
|
|
|
.PP
|
|
|
|
Pop up an input dialog that defaults to the directory in the
|
|
|
|
non-selected panel and moves the currently selected file (or the
|
|
|
|
tagged files if there is at least one tagged file) to the directory
|
|
|
|
specified by the user in the input dialog. During the process, you
|
|
|
|
can press C-c or ESC to abort the operation. For more details look at Copy
|
|
|
|
operation above, most of the things are quite similar.
|
|
|
|
.PP
|
|
|
|
On some systems, it is possible to do the copy in the background by
|
2005-02-26 19:38:59 +03:00
|
|
|
clicking on the background button (or pressing Alt-b in the dialog
|
2002-08-21 01:17:30 +04:00
|
|
|
box). The
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Background Jobs
|
2002-03-01 17:39:58 +03:00
|
|
|
.\"Background jobs"
|
1998-02-27 07:54:42 +03:00
|
|
|
is used to control the background process.
|
|
|
|
.PP
|
|
|
|
.B Mkdir (F7)
|
|
|
|
.PP
|
|
|
|
Pop up an input dialog and creates the directory specified.
|
|
|
|
.PP
|
|
|
|
.B Delete (F8)
|
|
|
|
.PP
|
|
|
|
Delete the currently selected file or the tagged files in the
|
|
|
|
currently selected panel. During the process, you can press C-c or
|
|
|
|
ESC to abort the operation.
|
|
|
|
.PP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Quick cd (Alt-c)
|
1998-02-27 07:54:42 +03:00
|
|
|
Use the
|
|
|
|
.\"LINK2"
|
|
|
|
quick cd
|
|
|
|
.\"Quick cd"
|
|
|
|
command if you have full command line and want to cd somewhere.
|
|
|
|
.PP
|
|
|
|
.B Select group (+)
|
|
|
|
.PP
|
|
|
|
This is used to select (tag) a group of files. The Midnight Commander
|
|
|
|
will prompt for a regular expression describing the group. When
|
2002-08-21 01:17:30 +04:00
|
|
|
.I Shell Patterns
|
1998-02-27 07:54:42 +03:00
|
|
|
are enabled, the regular expression is much like the filename globbing
|
|
|
|
in the shell (* standing for zero or more characters and ? standing
|
|
|
|
for one character). If
|
|
|
|
.I Shell Patterns
|
|
|
|
is off, then the tagging of files is done with normal regular
|
|
|
|
expressions (see ed (1)).
|
|
|
|
.PP
|
|
|
|
To mark directories instead of files, the expression must start or end
|
|
|
|
with a '/'.
|
|
|
|
.PP
|
|
|
|
.B Unselect group (\\\\)
|
|
|
|
.PP
|
2001-09-03 22:01:45 +04:00
|
|
|
Used to unselect a group of files. This is the opposite of the
|
1998-02-27 07:54:42 +03:00
|
|
|
.I "Select group"
|
|
|
|
command.
|
|
|
|
.PP
|
|
|
|
.B Quit (F10, Shift-F10)
|
|
|
|
.PP
|
|
|
|
Terminate the Midnight Commander. Shift-F10 is used when you want to
|
|
|
|
quit and you are using the shell wrapper. Shift-F10 will not take you
|
|
|
|
to the last directory you visited with the Midnight Commander, instead
|
|
|
|
it will stay at the directory where you started the Midnight Commander.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Quick cd"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Quick cd"
|
2002-08-21 01:17:30 +04:00
|
|
|
This command is useful if you have a full command line and want to
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
cd
|
|
|
|
.\"The cd internal command"
|
|
|
|
somewhere without having to yank and paste the command line. This command
|
|
|
|
pops up a small dialog, where you enter everything you would enter after
|
2002-08-21 01:17:30 +04:00
|
|
|
.B cd
|
1998-02-27 07:54:42 +03:00
|
|
|
on the command line and then you press enter. This features all the things
|
2002-08-21 01:17:30 +04:00
|
|
|
that are already in the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
internal cd command\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"The cd internal command"
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Command Menu"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Command Menu"
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Directory tree
|
|
|
|
.\"Directory Tree"
|
|
|
|
command shows a tree figure of the directories.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Find file
|
|
|
|
.\"Find File"
|
|
|
|
command allows you to search for a specific file. The "Swap panels"
|
2002-08-21 01:17:30 +04:00
|
|
|
command swaps the contents of the two directory panels.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2003-06-18 08:24:24 +04:00
|
|
|
The "Panels on/off" command shows the output of the last shell command.
|
|
|
|
This works only on xterm and on Linux and FreeBSD console.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The Compare directories (C-x d) command compares the directory
|
|
|
|
panels with each other. You can then use the Copy (F5) command to make
|
|
|
|
the panels identical. There are three compare methods. The quick method
|
|
|
|
compares only file size and file date. The thorough method makes a
|
|
|
|
full byte-by-byte compare. The thorough method is not available if the
|
|
|
|
machine does not support the mmap(2) system call. The size-only
|
|
|
|
compare method just compares the file sizes and does not check the
|
|
|
|
contents or the date times, it just checks the file size.
|
|
|
|
.PP
|
|
|
|
The Command history command shows a list of typed commands. The
|
|
|
|
selected command is copied to the command line. The command history
|
2005-02-26 19:38:59 +03:00
|
|
|
can also be accessed by typing Alt-p or Alt-n.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Directory hotlist (C-\\)
|
|
|
|
.\"Hotlist"
|
|
|
|
command makes changing of the current directory to often used directories
|
|
|
|
faster.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
External panelize
|
|
|
|
.\"External panelize"
|
2002-10-25 02:11:00 +04:00
|
|
|
allows you to execute an external program, and make the output of that
|
|
|
|
program the contents of the current panel.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.\"LINK2"
|
|
|
|
Extension file edit
|
|
|
|
.\"Extension File Edit"
|
|
|
|
command allows you to specify programs to executed when you try to
|
|
|
|
execute, view, edit and do a bunch of other thing on files
|
|
|
|
with certain extensions (filename endings). The
|
|
|
|
.\"LINK2"
|
|
|
|
Menu file edit
|
|
|
|
.\"Menu File Edit"
|
|
|
|
command may be used for editing the user menu (which appears by
|
|
|
|
pressing F2).
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Directory Tree"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Directory Tree"
|
|
|
|
The Directory Tree command shows a tree figure of the directories. You
|
|
|
|
can select a directory from the figure and the Midnight Commander will
|
|
|
|
change to that directory.
|
|
|
|
.PP
|
|
|
|
There are two ways to invoke the tree. The real directory tree command
|
|
|
|
is available from Commands menu. The other way is to select tree view
|
|
|
|
from the Left or Right menu.
|
|
|
|
.PP
|
|
|
|
To get rid of long delays the Midnight Commander creates the tree
|
|
|
|
figure by scanning only a small subset of all the directories. If the
|
|
|
|
directory which you want to see is missing, move to its parent
|
|
|
|
directory and press C-r (or F2).
|
|
|
|
.PP
|
|
|
|
You can use the following keys:
|
|
|
|
.PP
|
|
|
|
.\"LINK2"
|
|
|
|
General movement keys
|
|
|
|
.\"General Movement Keys"
|
|
|
|
are accepted.
|
|
|
|
.PP
|
|
|
|
.B Enter.
|
|
|
|
In the directory tree, exits the directory tree and changes to this
|
|
|
|
directory in the current panel. In the tree view, changes to this
|
|
|
|
directory in the other panel and stays in tree view mode in the
|
|
|
|
current panel.
|
|
|
|
.PP
|
|
|
|
.B C-r, F2 (Rescan).
|
|
|
|
Rescan this directory. Use this when the tree figure is out of date:
|
|
|
|
it is missing subdirectories or shows some subdirectories which don't
|
|
|
|
exist any more.
|
|
|
|
.PP
|
|
|
|
.B F3 (Forget).
|
|
|
|
Delete this directory from the tree figure. Use this to remove clutter
|
|
|
|
from the figure. If you want the directory back to the tree figure
|
2002-08-21 01:17:30 +04:00
|
|
|
press F2 in its parent directory.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.B F4 (Static/Dynamic).
|
|
|
|
Toggle between the dynamic navigation mode (default) and the static
|
|
|
|
navigation mode.
|
|
|
|
.PP
|
|
|
|
In the static navigation mode you can use the Up and Down keys to
|
|
|
|
select a directory. All known directories are shown.
|
|
|
|
.PP
|
|
|
|
In the dynamic navigation mode you can use the Up and Down keys to
|
|
|
|
select a sibling directory, the Left key to move to the parent
|
|
|
|
directory, and the Right key to move to a child directory. Only the
|
|
|
|
parent, sibling and children directories are shown, others are left
|
|
|
|
out. The tree figure changes dynamically as you traverse.
|
|
|
|
.PP
|
|
|
|
.B F5 (Copy).
|
|
|
|
Copy the directory.
|
|
|
|
.PP
|
|
|
|
.B F6 (RenMov).
|
|
|
|
Move the directory.
|
|
|
|
.PP
|
|
|
|
.B F7 (Mkdir).
|
|
|
|
Make a new directory below this directory.
|
|
|
|
.PP
|
|
|
|
.B F8 (Delete).
|
|
|
|
Delete this directory from the file system.
|
|
|
|
.PP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B C-s, Alt-s.
|
1998-02-27 07:54:42 +03:00
|
|
|
Search the next directory matching the search string. If there is
|
|
|
|
no such directory these keys will move one line down.
|
|
|
|
.PP
|
|
|
|
.B C-h, Backspace.
|
|
|
|
Delete the last character of the search string.
|
|
|
|
.PP
|
|
|
|
.B Any other character.
|
|
|
|
Add the character to the search string and move to the next directory
|
|
|
|
which starts with these characters. In the tree view you must first
|
|
|
|
activate the search mode by pressing C-s. The search string is shown
|
|
|
|
in the mini status line.
|
|
|
|
.PP
|
|
|
|
The following actions are available only in the directory tree. They
|
|
|
|
aren't supported in the tree view.
|
|
|
|
.PP
|
|
|
|
.B F1 (Help).
|
|
|
|
Invoke the help viewer and show this section.
|
|
|
|
.PP
|
|
|
|
.B Esc, F10.
|
|
|
|
Exit the directory tree. Do not change the directory.
|
|
|
|
.PP
|
|
|
|
The mouse is supported. A double-click behaves like Enter. See
|
|
|
|
also the section on
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
mouse support\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Mouse Support"
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Find File"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Find File"
|
|
|
|
The Find File feature first asks for the start directory for the
|
|
|
|
search and the filename to be searched for. By pressing the Tree
|
|
|
|
button you can select the start directory from the
|
|
|
|
.\"LINK2"
|
|
|
|
directory tree
|
|
|
|
.\"Directory Tree"
|
2002-08-21 01:17:30 +04:00
|
|
|
figure.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The contents field accepts regular expressions similar to egrep(1). That
|
2002-08-21 01:17:30 +04:00
|
|
|
means you have to escape characters with a special meaning to egrep with "\\",
|
|
|
|
e.g. if you search for "strcmp (" you will have to input "strcmp \\("
|
1998-02-27 07:54:42 +03:00
|
|
|
(without the double quotes).
|
|
|
|
.PP
|
2003-01-31 22:48:37 +03:00
|
|
|
You can start the search by pressing the OK button.
|
1998-02-27 07:54:42 +03:00
|
|
|
During the search you can stop from the Stop button and continue from
|
|
|
|
the Start button.
|
|
|
|
.PP
|
|
|
|
You can browse the filelist with the up and down arrow keys. The Chdir
|
|
|
|
button will change to the directory of the currently selected
|
|
|
|
file. The Again button will ask for the parameters for a new
|
|
|
|
search. The Quit button quits the search operation. The Panelize
|
|
|
|
button will place the found files to the current directory panel so
|
|
|
|
that you can do additional operations on them (view, copy, move,
|
|
|
|
delete and so on). After panelizing you can press C-r to return to the
|
|
|
|
normal file listing.
|
|
|
|
.PP
|
2003-01-31 22:48:37 +03:00
|
|
|
It is possible to have a list of directories that the Find File command
|
|
|
|
should skip during the search (for example, you may want to avoid
|
|
|
|
searches on a CD-ROM or on a NFS directory that is mounted across a slow
|
|
|
|
link).
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Directories to be skipped should be set on the variable
|
2002-08-21 01:17:30 +04:00
|
|
|
.B find_ignore_dirs
|
|
|
|
in the
|
|
|
|
.B Misc
|
1998-02-27 07:54:42 +03:00
|
|
|
section of your ~/.mc/ini file.
|
|
|
|
.PP
|
|
|
|
Directory components should be separated with a colon, here is an
|
2002-08-21 01:17:30 +04:00
|
|
|
example:
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
[Misc]
|
|
|
|
find_ignore_dirs=/cdrom:/nfs/wuarchive:/afs
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
You may consider using the
|
|
|
|
.\"LINK2"
|
|
|
|
External panelize
|
|
|
|
.\"External panelize"
|
|
|
|
command for some operations. Find file command is for simple queries
|
|
|
|
only, while using External panelize you can do as mysterious searches
|
2002-08-21 01:17:30 +04:00
|
|
|
as you would like.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " External panelize"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " External panelize"
|
|
|
|
The External panelize allows you to execute an external program, and
|
|
|
|
make the output of that program the contents of the current panel.
|
|
|
|
.PP
|
|
|
|
For example, if you want to manipulate in one of the panels all the
|
|
|
|
symbolic links in the current directory, you can use external
|
|
|
|
panelization to run the following command:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
find . -type l -print
|
|
|
|
.fi
|
2002-09-29 21:36:25 +04:00
|
|
|
.PP
|
1998-02-27 07:54:42 +03:00
|
|
|
Upon command completion, the directory contents of the panel will no
|
|
|
|
longer be the directory listing of the current directory, but all the
|
|
|
|
files that are symbolic links.
|
|
|
|
.PP
|
|
|
|
If you want to panelize all of the files that have been downloaded
|
2002-11-02 20:50:58 +03:00
|
|
|
from your FTP server, you can use this awk command to extract the file
|
1998-02-27 07:54:42 +03:00
|
|
|
name from the transfer log files:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
You may want to save often used panelize commands under a descriptive name,
|
|
|
|
so that you can recall them quickly. You do this by typing the command on
|
|
|
|
the input line and pressing Add new button. Then you enter a name under
|
|
|
|
which you want the command to be saved. Next time, you just choose that
|
|
|
|
command from the list and do not have to type it again.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Hotlist"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Hotlist"
|
2001-09-03 22:01:45 +04:00
|
|
|
The Directory hotlist command shows the labels of the directories
|
|
|
|
in the directory hotlist. The Midnight Commander will change to the
|
|
|
|
directory corresponding to the selected label. From the hotlist dialog,
|
|
|
|
you can remove already created label/directory pairs and add new ones.
|
|
|
|
To add new directories quickly, you can use the Add to hotlist command
|
|
|
|
(C-x h), which adds the current directory into the directory hotlist,
|
|
|
|
asking just for the label for the directory.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
This makes cd to often used directories faster. You may consider using the
|
|
|
|
CDPATH variable as described in
|
|
|
|
.\"LINK2"
|
|
|
|
internal cd command
|
|
|
|
.\"The cd internal command"
|
|
|
|
description.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Extension File Edit"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Extension File Edit"
|
2002-10-30 06:06:02 +03:00
|
|
|
This will invoke your editor on the file
|
|
|
|
.IR ~/.mc/bindings .
|
2003-01-31 22:48:37 +03:00
|
|
|
The format of this file following:
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
All lines starting with # or empty lines are thrown away.
|
|
|
|
.PP
|
|
|
|
Lines starting in the first column should have following format:
|
|
|
|
.PP
|
2003-01-31 22:48:37 +03:00
|
|
|
.IR keyword/expr ,
|
|
|
|
i.e. everything after the slash until new line is
|
|
|
|
.IR expr .
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2003-01-31 22:48:37 +03:00
|
|
|
.I keyword
|
|
|
|
can be:
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I shell
|
2003-01-31 22:48:37 +03:00
|
|
|
\-
|
|
|
|
.I expr
|
|
|
|
is an extension (no wildcards). File matches it its name ends
|
|
|
|
with
|
|
|
|
.IR expr .
|
|
|
|
Example:
|
|
|
|
.I shell/.tar
|
|
|
|
matches
|
|
|
|
.IR *.tar .
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I regex
|
2003-01-31 22:48:37 +03:00
|
|
|
\-
|
|
|
|
.I expr
|
|
|
|
is a regular expression. File matches if its name matches the regular
|
|
|
|
expression.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
2004-08-09 13:29:12 +04:00
|
|
|
.I directory
|
|
|
|
\-
|
|
|
|
.I expr
|
|
|
|
is a regular expression. File matches if it is a directory and its name
|
|
|
|
matches the regular expression.
|
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I type
|
2003-01-31 22:48:37 +03:00
|
|
|
\-
|
|
|
|
.I expr
|
|
|
|
is a regular expression. File matches if the output of
|
|
|
|
.I file %f
|
|
|
|
without the initial "filename:" part matches regular expression
|
|
|
|
.IR expr .
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I default
|
2003-01-31 22:48:37 +03:00
|
|
|
\- matches any file.
|
|
|
|
.I expr
|
|
|
|
is ignored.
|
|
|
|
.TP
|
|
|
|
.I include
|
|
|
|
\- denotes a common section.
|
|
|
|
.I expr
|
|
|
|
is the name of the section.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Other lines should start with a space or tab and should be of the format:
|
2002-10-20 23:04:23 +04:00
|
|
|
.I keyword=command
|
2002-08-21 01:17:30 +04:00
|
|
|
(with no spaces around =), where
|
1998-02-27 07:54:42 +03:00
|
|
|
.I keyword
|
2002-08-21 01:17:30 +04:00
|
|
|
should be:
|
1998-02-27 07:54:42 +03:00
|
|
|
.I Open
|
2003-01-31 22:48:37 +03:00
|
|
|
(invoked on Enter or double click),
|
1998-02-27 07:54:42 +03:00
|
|
|
.I View
|
2003-01-31 22:48:37 +03:00
|
|
|
(F3),
|
1998-02-27 07:54:42 +03:00
|
|
|
.I Edit
|
2003-01-31 22:48:37 +03:00
|
|
|
(F4) or
|
|
|
|
.I Include
|
|
|
|
(to add rules from the common section).
|
1998-02-27 07:54:42 +03:00
|
|
|
.I command
|
2002-08-21 01:17:30 +04:00
|
|
|
is any one-line shell command, with the simple
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
macro substitution\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Macro Substitution"
|
|
|
|
.PP
|
2002-10-30 06:06:02 +03:00
|
|
|
Rules are matched from top to bottom, thus the order is important. If
|
|
|
|
the appropriate action is missing, search continues as if this rule
|
|
|
|
didn't match (i.e. if a file matches the first and second entry and View
|
|
|
|
action is missing in the first one, then on pressing F3 the View action
|
2002-10-31 15:38:10 +03:00
|
|
|
from the second entry will be used).
|
2002-10-30 06:06:02 +03:00
|
|
|
.I default
|
|
|
|
should match all the actions.
|
2002-03-01 17:39:58 +03:00
|
|
|
.\"NODE " Background jobs"
|
2001-08-07 18:26:02 +04:00
|
|
|
.SH " Background Jobs"
|
1998-02-27 07:54:42 +03:00
|
|
|
This lets you control the state of any background Midnight Commander
|
|
|
|
process (only copy and move files operations can be done in the
|
|
|
|
background). You can stop, restart and kill a background job from
|
2002-08-21 01:17:30 +04:00
|
|
|
here.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Menu File Edit"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Menu File Edit"
|
|
|
|
The user menu is a menu of useful actions that can be customized by
|
|
|
|
the user. When you access the user menu, the
|
|
|
|
file .mc.menu from the current directory is used if it exists,
|
|
|
|
but only if it is owned by user or root and is not world-writable.
|
2002-08-21 01:17:30 +04:00
|
|
|
If no such file found, ~/.mc/menu is tried in the same way,
|
1998-02-27 07:54:42 +03:00
|
|
|
and otherwise mc uses the default system-wide menu
|
2002-09-22 04:38:54 +04:00
|
|
|
@prefix@/share/mc/mc.menu.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The format of the menu file is very simple. Lines that start with
|
|
|
|
anything but space or tab are considered entries for the menu (in
|
|
|
|
order to be able to use it like a hot key, the first character should
|
|
|
|
be a letter). All the lines that start with a space or a tab are the
|
|
|
|
commands that will be executed when the entry is selected.
|
|
|
|
.PP
|
|
|
|
When an option is selected all the command lines of the option are
|
|
|
|
copied to a temporary file in the temporary directory (usually
|
|
|
|
/usr/tmp) and then that file is executed. This allows the user to put
|
|
|
|
normal shell constructs in the menus. Also simple macro substitution
|
|
|
|
takes place before executing the menu code. For more information, see
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
macro substitution\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Macro Substitution"
|
|
|
|
.PP
|
|
|
|
Here is a sample mc.menu file:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
A Dump the currently selected file
|
|
|
|
od -c %f
|
|
|
|
|
|
|
|
B Edit a bug report and send it to root
|
2004-08-17 12:41:52 +04:00
|
|
|
I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
|
|
|
|
vi $I
|
|
|
|
mail -s "Midnight Commander bug" root < $I
|
|
|
|
rm -f $I
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
M Read mail
|
|
|
|
emacs -f rmail
|
|
|
|
|
|
|
|
N Read Usenet news
|
|
|
|
emacs -f gnus
|
|
|
|
|
|
|
|
H Call the info hypertext browser
|
|
|
|
info
|
|
|
|
|
|
|
|
J Copy current directory to other panel recursively
|
|
|
|
tar cf - . | (cd %D && tar xvpf -)
|
|
|
|
|
|
|
|
K Make a release of the current subdirectory
|
|
|
|
echo -n "Name of distribution file: "
|
|
|
|
read tar
|
2002-08-21 01:17:30 +04:00
|
|
|
ln -s %d `dirname %d`/$tar
|
1998-02-27 07:54:42 +03:00
|
|
|
cd ..
|
|
|
|
tar cvhf ${tar}.tar $tar
|
|
|
|
|
|
|
|
= f *.tar.gz | f *.tgz & t n
|
|
|
|
X Extract the contents of a compressed tar file
|
|
|
|
tar xzvf %f
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
.B Default Conditions
|
|
|
|
.PP
|
|
|
|
Each menu entry may be preceded by a condition. The condition must
|
|
|
|
start from the first column with a '=' character. If the condition is
|
|
|
|
true, the menu entry will be the default entry.
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
Condition syntax: = <sub-cond>
|
|
|
|
or: = <sub-cond> | <sub-cond> ...
|
2002-08-21 01:17:30 +04:00
|
|
|
or: = <sub-cond> & <sub-cond> ...
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
Sub-condition is one of following:
|
|
|
|
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
y <pattern> syntax of current file matching pattern?
|
2002-10-30 10:19:15 +03:00
|
|
|
(for edit menu only)
|
1998-02-27 07:54:42 +03:00
|
|
|
f <pattern> current file matching pattern?
|
|
|
|
F <pattern> other file matching pattern?
|
|
|
|
d <pattern> current directory matching pattern?
|
|
|
|
D <pattern> other directory matching pattern?
|
|
|
|
t <type> current file of type?
|
|
|
|
T <type> other file of type?
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
x <filename> is it executable filename?
|
1998-02-27 07:54:42 +03:00
|
|
|
! <sub-cond> negate the result of sub-condition
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
Pattern is a normal shell pattern or a regular expression, according
|
|
|
|
to the shell patterns option. You can override the global value of
|
|
|
|
the shell patterns option by writing "shell_patterns=x" on the first
|
|
|
|
line of the menu file (where "x" is either 0 or 1).
|
|
|
|
.PP
|
|
|
|
Type is one or more of the following characters:
|
2002-10-18 03:54:58 +04:00
|
|
|
.PP
|
|
|
|
.nf
|
2003-01-31 22:48:37 +03:00
|
|
|
n not a directory
|
1998-02-27 07:54:42 +03:00
|
|
|
r regular file
|
|
|
|
d directory
|
|
|
|
l link
|
2003-01-31 22:48:37 +03:00
|
|
|
c character device
|
|
|
|
b block device
|
|
|
|
f FIFO (pipe)
|
1998-02-27 07:54:42 +03:00
|
|
|
s socket
|
2003-01-31 22:48:37 +03:00
|
|
|
x executable file
|
1998-02-27 07:54:42 +03:00
|
|
|
t tagged
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
For example 'rlf' means either regular file, link or fifo. The 't'
|
|
|
|
type is a little special because it acts on the panel instead of the
|
|
|
|
file. The condition '=t t' is true if there are tagged files in the
|
|
|
|
current panel and false if not.
|
|
|
|
.PP
|
|
|
|
If the condition starts with '=?' instead of '=' a debug trace will be
|
|
|
|
shown whenever the value of the condition is calculated.
|
|
|
|
.PP
|
|
|
|
The conditions are calculated from left to right. This means
|
|
|
|
.nf
|
|
|
|
= f *.tar.gz | f *.tgz & t n
|
|
|
|
.fi
|
|
|
|
is calculated as
|
|
|
|
.nf
|
|
|
|
( (f *.tar.gz) | (f *.tgz) ) & (t n)
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
Here is a sample of the use of conditions:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
= f *.tar.gz | f *.tgz & t n
|
|
|
|
L List the contents of a compressed tar-archive
|
|
|
|
gzip -cd %f | tar xvf -
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
.B Addition Conditions
|
|
|
|
.PP
|
|
|
|
If the condition begins with '+' (or '+?') instead of '=' (or '=?') it
|
|
|
|
is an addition condition. If the condition is true the menu entry will
|
|
|
|
be included in the menu. If the condition is false the menu entry will
|
|
|
|
not be included in the menu.
|
|
|
|
.PP
|
|
|
|
You can combine default and addition conditions by starting condition
|
|
|
|
with '+=' or '=+' (or '+=?' or '=+?' if you want debug trace). If you
|
|
|
|
want to use two different conditions, one for adding and another for
|
|
|
|
defaulting, you can precede a menu entry with two condition lines, one
|
|
|
|
starting with '+' and another starting with '='.
|
|
|
|
.PP
|
|
|
|
Comments are started with '#'. The additional comment lines must start
|
|
|
|
with '#', space or tab.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Options Menu"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Options Menu"
|
1998-12-25 00:37:24 +03:00
|
|
|
The Midnight Commander has some options that may be toggled on and
|
2002-08-21 01:17:30 +04:00
|
|
|
off in several dialogs which are accessible from this menu. Options
|
|
|
|
are enabled if they have an asterisk or "x" in front of them.
|
1998-12-25 00:37:24 +03:00
|
|
|
.PP
|
1998-02-27 07:54:42 +03:00
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Configuration
|
|
|
|
.\"Configuration"
|
|
|
|
command pops up a dialog from which you can change most of settings of
|
|
|
|
the Midnight Commander.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
2002-09-18 01:31:21 +04:00
|
|
|
Layout
|
|
|
|
.\"Layout"
|
|
|
|
command pops up a dialog from which you specify a bunch of options how mc
|
|
|
|
looks like on the screen.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Confirmation
|
|
|
|
.\"Confirmation"
|
|
|
|
command pops up a dialog from which you specify which actions you want to
|
|
|
|
confirm.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
2002-09-18 01:31:21 +04:00
|
|
|
Display bits
|
|
|
|
.\"Display bits"
|
|
|
|
command pops up a dialog from which you may select which characters is your
|
|
|
|
terminal able to display.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
1998-02-27 07:54:42 +03:00
|
|
|
Learn keys
|
|
|
|
.\"Learn keys"
|
|
|
|
command pops up a dialog from which you test some keys which are not working
|
|
|
|
on some terminals and you may fix them.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Virtual FS
|
|
|
|
.\"Virtual FS"
|
|
|
|
command pops up a dialog from which you specify some VFS related options.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.\"LINK2"
|
|
|
|
Save setup
|
|
|
|
.\"Save Setup"
|
|
|
|
command saves the current settings of the Left, Right and Options
|
|
|
|
menus. A small number of other settings is saved, too.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Configuration"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Configuration"
|
1998-12-25 00:37:24 +03:00
|
|
|
The options in this dialog are divided into three groups:
|
|
|
|
Panel Options, Pause after run and Other Options.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.B Panel Options
|
|
|
|
.PP
|
|
|
|
.I Show Backup Files.
|
2002-01-17 09:51:57 +03:00
|
|
|
If enabled, the Midnight Commander will show files ending with a tilde.
|
|
|
|
Otherwise, they won't be shown (like GNU's ls option -B).
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.I Show Hidden Files.
|
2002-01-17 09:51:57 +03:00
|
|
|
If enabled, the Midnight Commander will show all files that start with
|
1998-02-27 07:54:42 +03:00
|
|
|
a dot (like ls -a).
|
|
|
|
.PP
|
|
|
|
.I Mark moves down.
|
2002-01-17 09:51:57 +03:00
|
|
|
If enabled, the selection bar will move down when you mark a file (with
|
|
|
|
either C-t or the Insert key).
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
1999-12-09 01:15:13 +03:00
|
|
|
.I Drop down menus.
|
2002-01-17 09:51:57 +03:00
|
|
|
When this option is enabled, the pull down menus will be activated as
|
2002-08-21 01:17:30 +04:00
|
|
|
soon as you press the
|
1998-12-25 00:37:24 +03:00
|
|
|
.B F9
|
2002-01-17 09:51:57 +03:00
|
|
|
key. Otherwise, you will only get the menu title, and you will have
|
|
|
|
to activate the menu either with the arrow keys or with the hotkeys.
|
2002-02-20 14:07:59 +03:00
|
|
|
It is recommended if you are using hotkeys.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.I Mix all files.
|
2002-01-17 09:51:57 +03:00
|
|
|
If this option is enabled, all files and directories are shown mixed
|
2001-09-03 22:01:45 +04:00
|
|
|
together. If the option is off, directories (and links to directories)
|
|
|
|
are shown at the beginning of the listing, and other files below.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.I Fast directory reload.
|
2002-01-17 09:51:57 +03:00
|
|
|
If this option is enabled, the Midnight Commander will use a trick to
|
|
|
|
determine if the directory contents have changed. The trick is to reload
|
|
|
|
the directory only if the i-node of the directory has changed; this means
|
|
|
|
that reloads only happen when files are created or deleted. If what
|
|
|
|
changes is the i-node for a file in the directory (file size changes,
|
|
|
|
mode or owner changes, etc) the display is not updated. In these cases,
|
|
|
|
if you have the option on, you have to rescan the directory manually
|
|
|
|
(with C-r).
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
1998-12-25 00:37:24 +03:00
|
|
|
.B Pause after run
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
After executing your commands, the Midnight Commander can pause, so
|
|
|
|
that you can examine the output of the command. There are three
|
|
|
|
possible settings for this variable:
|
2002-09-29 21:36:25 +04:00
|
|
|
.PP
|
|
|
|
.I Never.
|
1998-02-27 07:54:42 +03:00
|
|
|
Means that you do not want to see the output of your command. If you
|
2003-06-18 08:24:24 +04:00
|
|
|
are using the Linux or FreeBSD console or an xterm, you will be able to
|
|
|
|
see the output of the command by typing C-o.
|
2002-09-29 21:36:25 +04:00
|
|
|
.PP
|
|
|
|
.I On dumb terminals.
|
1998-02-27 07:54:42 +03:00
|
|
|
You will get the pause message on terminals that are not capable of
|
|
|
|
showing the output of the last command executed (any terminal that is
|
|
|
|
not an xterm or the Linux console).
|
2002-09-29 21:36:25 +04:00
|
|
|
.PP
|
|
|
|
.I Always.
|
1998-02-27 07:54:42 +03:00
|
|
|
The program will pause after executing all of your commands.
|
|
|
|
.PP
|
1998-12-25 00:37:24 +03:00
|
|
|
.B Other Options
|
|
|
|
.PP
|
|
|
|
.I Verbose operation.
|
|
|
|
This toggles whether the file Copy, Rename and Delete operations are
|
|
|
|
verbose (i.e., display a dialog box for each operation). If you have a
|
|
|
|
slow terminal, you may wish to disable the verbose operation. It is
|
|
|
|
automatically turned off if the speed of your terminal is less than
|
|
|
|
9600 bps.
|
|
|
|
.PP
|
|
|
|
.I Compute totals.
|
|
|
|
If this option is enabled, the Midnight
|
|
|
|
Commander computes total byte sizes and total number of files
|
|
|
|
prior to any Copy, Rename and Delete operations. This will
|
|
|
|
provide you with a more accurate progress bar at the expense
|
2002-08-21 01:17:30 +04:00
|
|
|
of some speed. This option has no effect, if
|
1998-12-25 00:37:24 +03:00
|
|
|
.I Verbose operation
|
|
|
|
is disabled.
|
|
|
|
.PP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I Shell Patterns.
|
|
|
|
By default the Select, Unselect and Filter commands will use shell-like
|
|
|
|
regular expressions. The following conversions are performed to achieve
|
|
|
|
this: the '*' is replaced by '.*' (zero or more characters); the '?'
|
|
|
|
is replaced by '.' (exactly one character) and '.' by the literal
|
|
|
|
dot. If the option is disabled, then the regular expressions are the
|
|
|
|
ones described in ed(1).
|
|
|
|
.PP
|
|
|
|
.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.
|
|
|
|
.PP
|
|
|
|
.I Auto menus.
|
|
|
|
If this option is enabled, the user menu will be invoked at startup.
|
|
|
|
Useful for building menus for non-unixers.
|
|
|
|
.PP
|
|
|
|
.I Use internal editor.
|
|
|
|
If this option is enabled, the built-in file editor is used to edit
|
|
|
|
files. If the option is disabled, the editor specified in the
|
|
|
|
.B EDITOR
|
|
|
|
environment variable is used.
|
2002-08-21 01:17:30 +04:00
|
|
|
If no editor is specified,
|
1998-02-27 07:54:42 +03:00
|
|
|
.B vi
|
|
|
|
is used. See the section on the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
internal file editor\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Internal File Editor"
|
|
|
|
.PP
|
|
|
|
.I Use internal viewer.
|
|
|
|
If this option is enabled, the built-in file viewer is used to view
|
|
|
|
files. If the option is disabled, the pager specified in the
|
|
|
|
.B PAGER
|
|
|
|
environment variable is used.
|
2002-08-21 01:17:30 +04:00
|
|
|
If no pager is specified, the
|
1998-02-27 07:54:42 +03:00
|
|
|
.B view
|
|
|
|
command is used. See the section on the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
internal file viewer\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Internal File Viewer"
|
|
|
|
.PP
|
1998-12-25 00:37:24 +03:00
|
|
|
.I Complete: show all.
|
2002-10-18 03:54:58 +04:00
|
|
|
By default the Midnight Commander pops up all possible
|
1998-12-25 00:37:24 +03:00
|
|
|
.\"LINK2"
|
|
|
|
completions
|
|
|
|
.\"Completion"
|
2002-10-18 03:54:58 +04:00
|
|
|
if the completion is ambiguous only when you press
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Tab
|
2002-10-18 03:54:58 +04:00
|
|
|
for the second time. For the first time, it just completes as much as
|
|
|
|
possible and beeps in the case of ambiguity. Enable this option if you
|
|
|
|
want to see all possible completions even after pressing
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Tab
|
2002-10-18 03:54:58 +04:00
|
|
|
the first time.
|
1998-12-25 00:37:24 +03:00
|
|
|
.PP
|
|
|
|
.I Rotating dash.
|
2002-08-21 01:17:30 +04:00
|
|
|
If this option is enabled, the
|
1998-12-25 00:37:24 +03:00
|
|
|
Midnight Commander shows a rotating dash in the upper right corner
|
|
|
|
as a work in progress indicator.
|
|
|
|
.PP
|
|
|
|
.I Lynx-like motion.
|
2002-08-21 01:17:30 +04:00
|
|
|
If this option is enabled,
|
1998-12-25 00:37:24 +03:00
|
|
|
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
|
1998-02-27 07:54:42 +03:00
|
|
|
.I Cd follows links.
|
|
|
|
This option, if set, causes the Midnight Commander to follow the
|
|
|
|
logical chain of directories when changing current directory
|
|
|
|
either in the panels, or using the cd command. This is the default
|
|
|
|
behavior of bash. When unset, the Midnight Commander follows the
|
|
|
|
real directory structure, so cd .. if you've entered that directory
|
|
|
|
through a link will move you to the current directory's real parent
|
|
|
|
and not to the directory where the link was present.
|
|
|
|
.PP
|
1998-12-25 00:37:24 +03:00
|
|
|
.I Safe delete.
|
2002-10-22 01:07:00 +04:00
|
|
|
If this option is enabled, deleting files unintentionally becomes more
|
|
|
|
difficult. The default selection in the confirmation dialogs for
|
|
|
|
deletion changes from "Yes" to "No". This option is disabled by
|
|
|
|
default.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Layout"
|
2002-09-18 01:37:00 +04:00
|
|
|
.SH " Layout"
|
|
|
|
The layout dialog gives you a possibility to change the general layout
|
2003-06-18 08:24:24 +04:00
|
|
|
of screen. You can specify whether the menubar, the command prompt, the
|
|
|
|
hintbar and the function keybar are visible. On the Linux or FreeBSD
|
|
|
|
console you can specify how many lines are shown in the output window.
|
2002-09-18 01:37:00 +04:00
|
|
|
.PP
|
|
|
|
The rest of the screen area is used for the two directory panels. You
|
|
|
|
can specify whether the area is split to the panels in vertical or
|
|
|
|
horizontal direction. The split can be equal or you can specify an
|
|
|
|
unequal split.
|
|
|
|
.PP
|
2003-01-19 18:07:25 +03:00
|
|
|
You can specify whether
|
2002-09-18 01:37:00 +04:00
|
|
|
.I permissions
|
|
|
|
and
|
|
|
|
.I file types
|
2003-01-19 18:07:25 +03:00
|
|
|
should be highlighted with distinctive
|
2002-09-18 01:37:00 +04:00
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Colors\&.
|
2002-09-18 01:37:00 +04:00
|
|
|
.\"Colors"
|
2003-01-19 18:07:25 +03:00
|
|
|
If the permission highlighting is enabled, the parts of the
|
2002-09-18 01:37:00 +04:00
|
|
|
.I perm
|
|
|
|
and
|
|
|
|
.I mode
|
|
|
|
.\"LINK2"
|
|
|
|
display fields
|
|
|
|
.\"Listing Mode..."
|
2003-01-19 18:07:25 +03:00
|
|
|
which apply to the user running Midnight Commander are highlighted with
|
|
|
|
the color defined by the
|
2002-09-18 01:37:00 +04:00
|
|
|
.I selected
|
2003-01-19 18:07:25 +03:00
|
|
|
keyword. If the file type highlighting is enabled, files are colored
|
|
|
|
according to their file type (e.g. directory, core file, executable,
|
|
|
|
and so on).
|
2002-09-18 01:37:00 +04:00
|
|
|
.PP
|
|
|
|
If the
|
|
|
|
.I Show Mini-Status
|
2003-01-19 18:07:25 +03:00
|
|
|
option is enabled, one line of status information about the currently
|
|
|
|
selected item is shown at the bottom of the panels.
|
|
|
|
.PP
|
|
|
|
When run in a terminal emulator for X11, Midnight Commander sets the
|
|
|
|
terminal window title to the current working directory and updates it
|
|
|
|
when necessary. If your terminal emulator is broken and you see some
|
|
|
|
incorrect output on startup and directory change, turn off the
|
|
|
|
.I Xterm Window Title
|
|
|
|
option.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Confirmation"
|
2002-09-18 01:37:00 +04:00
|
|
|
.SH " Confirmation"
|
|
|
|
In this menu you configure the confirmation options for file deletion,
|
|
|
|
overwriting, execution by pressing enter and quitting the program.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Display bits"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Display bits"
|
|
|
|
This is used to configure the range of visible characters on the
|
|
|
|
screen. This setting may be 7-bits if your terminal/curses supports
|
|
|
|
only seven output bits, ISO-8859-1 displays all the characters in the
|
|
|
|
ISO-8859-1 map and full 8 bits is for those terminals that can display
|
|
|
|
full 8 bit characters.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Learn keys"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Learn keys"
|
2001-09-03 13:08:43 +04:00
|
|
|
This dialog allows you to test and redefine functional keys, cursor
|
|
|
|
arrows and some other keys to make them work properly on your terminal.
|
|
|
|
They often don't, since many terminal databases are incomplete or broken.
|
|
|
|
.PP
|
|
|
|
You can move around with the Tab key and with the vi moving keys ('h'
|
|
|
|
left, 'j' down, 'k' up and 'l' right). Once you press any cursor movement
|
|
|
|
key and it is recognized, you can use that key as well.
|
|
|
|
.PP
|
|
|
|
You can test keys just by pressing each of them. When you press a
|
|
|
|
key and it is recognized properly, OK should appear next to the name
|
|
|
|
of that key. Once a key is marked OK it starts working as usually,
|
|
|
|
e.g. F1 pressed the first time will just check that the F1 key works,
|
|
|
|
but after that it will show help. The same applies to the arrow keys.
|
|
|
|
The Tab key should be working always.
|
|
|
|
.PP
|
|
|
|
If some keys do not work properly then you won't see OK appear after
|
2003-01-10 23:03:07 +03:00
|
|
|
pressing one of these. Then you may want to redefine it. Do it by pressing
|
2001-09-03 13:08:43 +04:00
|
|
|
the button with the name of that key (either by the mouse or by Enter
|
|
|
|
or Space after selecting the button with Tab or arrows). Then a message
|
|
|
|
box will appear asking you to press that key. Do it and wait until the
|
|
|
|
message box disappears. If you want to abort, just press Escape once
|
|
|
|
and wait.
|
|
|
|
.PP
|
|
|
|
When you finish with all the keys, you can Save them. The definitions
|
|
|
|
for the keys you have redefined will be written into the [terminal:TERM]
|
|
|
|
section of your ~/.mc/ini file (where TERM is the name of your current
|
|
|
|
terminal). The definitions of the keys that were already working properly
|
|
|
|
are not saved.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Virtual FS"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Virtual FS"
|
2002-08-21 01:17:30 +04:00
|
|
|
This option gives you control over the settings of the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-11-02 20:50:58 +03:00
|
|
|
Virtual File System\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Virtual File System"
|
2002-11-02 20:50:58 +03:00
|
|
|
.PP
|
|
|
|
The Midnight Commander keeps in memory the information related to some
|
|
|
|
of the virtual file systems to speed up the access to the files in the
|
|
|
|
file system (for example, directory listings fetched from FTP servers).
|
|
|
|
.PP
|
|
|
|
Also, in order to access the contents of compressed files (for example,
|
|
|
|
compressed tar files) the Midnight Commander needs to create temporary
|
|
|
|
uncompressed files on your disk.
|
|
|
|
.PP
|
|
|
|
Since both the information in memory and the temporary files on disk
|
|
|
|
take up resources, you may want to tune the parameters of the cached
|
|
|
|
information to decrease your resource usage or to maximize the speed of
|
|
|
|
access to frequently used file systems.
|
|
|
|
.PP
|
2003-01-31 22:48:37 +03:00
|
|
|
Because of the format of the tar archives, the
|
2002-11-02 20:50:58 +03:00
|
|
|
.I Tar filesystem
|
|
|
|
needs to read the whole file just to load the file entries. Since most
|
|
|
|
tar files are usually kept compressed (plain tar files are species in
|
|
|
|
extinction), the tar file system has to uncompress the file on the disk
|
|
|
|
in a temporary location and then access the uncompressed file as a
|
|
|
|
regular tar file.
|
|
|
|
.PP
|
|
|
|
Now, since we all love to browse files and tar files all over the disk,
|
|
|
|
it's common that you will leave a tar file and the re-enter it later.
|
2003-01-31 22:48:37 +03:00
|
|
|
Since decompression is slow, the Midnight Commander will cache the
|
2002-11-02 20:50:58 +03:00
|
|
|
information in memory for a limited time. When the timeout expires, all
|
|
|
|
the resources associated with the file system are released. The default
|
|
|
|
timeout is set to one minute.
|
1998-12-22 02:30:53 +03:00
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
1998-12-22 02:30:53 +03:00
|
|
|
.\"LINK2"
|
|
|
|
FTP File System
|
|
|
|
.\"FTP File System"
|
2002-11-02 20:50:58 +03:00
|
|
|
(ftpfs) allows you to browse directories on remote FTP servers. It has
|
|
|
|
several options.
|
|
|
|
.PP
|
|
|
|
.I ftp anonymous password
|
|
|
|
is the password used when you login as "anonymous". Some sites require
|
|
|
|
a valid e-mail address. On the other hand, you probably don't want to
|
|
|
|
give your real e-mail address to untrusted sites, especially if you are
|
|
|
|
not using spam filtering.
|
|
|
|
.PP
|
|
|
|
ftpfs keeps the directory listing it fetches from a FTP server in a cache.
|
|
|
|
The cache expire time is configurable with the
|
1998-12-22 02:30:53 +03:00
|
|
|
.I ftpfs directory cache timeout
|
2002-11-02 20:50:58 +03:00
|
|
|
option. A low value for this option may slow down every operation on
|
|
|
|
the ftpfs because every operation would require sending a request to the
|
|
|
|
FTP server.
|
|
|
|
.PP
|
|
|
|
You can define an FTP proxy host for doing FTP. Note that most modern
|
|
|
|
firewalls are fully transparent at least for passive FTP (see below), so
|
|
|
|
FTP proxies are considered obsolete.
|
1998-12-22 02:30:53 +03:00
|
|
|
.PP
|
2002-11-04 16:24:26 +03:00
|
|
|
If
|
2002-11-02 20:50:58 +03:00
|
|
|
.I Always use ftp proxy
|
2002-11-04 16:24:26 +03:00
|
|
|
is not set, you can use the exclamation sign to enable proxy for certain
|
|
|
|
hosts. See
|
1998-12-22 02:30:53 +03:00
|
|
|
.\"LINK2"
|
|
|
|
FTP File System
|
|
|
|
.\"FTP File System"
|
2002-11-04 16:24:26 +03:00
|
|
|
for examples.
|
|
|
|
.PP
|
|
|
|
If this option is set, the program will do two things: consult the
|
|
|
|
@prefix@/lib/mc/mc.no_proxy file for lines containing host names that
|
|
|
|
are local (if the host name starts with a dot, it is assumed to be a
|
|
|
|
domain) and to assume that any hostnames without dots in their names are
|
|
|
|
directly accessible. All other hosts will be accessed through the
|
|
|
|
specified FTP proxy.
|
2002-11-02 20:50:58 +03:00
|
|
|
.PP
|
|
|
|
You can enable using
|
|
|
|
.I ~/.netrc
|
|
|
|
file, which keeps login names and passwords for ftp servers. See netrc
|
|
|
|
(5) for the description of the .netrc format.
|
|
|
|
.PP
|
|
|
|
.I Use passive mode
|
2002-11-04 16:24:26 +03:00
|
|
|
enables using FTP passive mode, when the connection for data transfer is
|
2003-01-31 22:48:37 +03:00
|
|
|
initiated by the client, not by the server. This option is recommended
|
2002-11-04 16:24:26 +03:00
|
|
|
and enabled by default. If this option is turned off, the data
|
|
|
|
connection is initiated by the server. This may not work with some
|
|
|
|
firewalls.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Save Setup"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Save Setup"
|
|
|
|
At startup the Midnight Commander will try to load initialization
|
2002-11-02 20:50:58 +03:00
|
|
|
information from the ~/.mc/ini file. If this file doesn't exist, it will
|
|
|
|
load the information from the system-wide configuration file, located in
|
|
|
|
@prefix@/share/mc/mc.ini. If the system-wide configuration file doesn't
|
|
|
|
exist, MC uses the default settings.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.I Save Setup
|
|
|
|
command creates the ~/.mc/ini file by saving the current settings
|
|
|
|
of the
|
|
|
|
.\"LINK2"
|
|
|
|
Left, Right
|
|
|
|
.\"Left and Right Menus"
|
|
|
|
and
|
|
|
|
.\"LINK2"
|
|
|
|
Options
|
|
|
|
.\"Options Menu"
|
|
|
|
menus.
|
|
|
|
.PP
|
|
|
|
If you activate the
|
|
|
|
.I auto save setup
|
|
|
|
option, MC will always save the current settings when exiting.
|
|
|
|
.PP
|
|
|
|
There also exist settings which can't be changed from the menus. To
|
|
|
|
change these settings you have to edit the setup file with your
|
|
|
|
favorite editor. See the section on
|
|
|
|
.\"LINK2"
|
|
|
|
Special Settings
|
|
|
|
.\"Special Settings"
|
|
|
|
for more information.
|
|
|
|
.SH ""
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Executing operating system commands"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Executing operating system commands"
|
|
|
|
You may execute commands by typing them directly in the Midnight
|
|
|
|
Commander's input line, or by selecting the program you want to
|
|
|
|
execute with the selection bar in one of the panels and hitting Enter.
|
|
|
|
.PP
|
|
|
|
If you press Enter over a file that is not executable, the Midnight
|
|
|
|
Commander checks the extension of the selected file against the
|
|
|
|
extensions in the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Extensions File\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Extension File Edit"
|
|
|
|
If a match is found then the code associated with that extension is
|
|
|
|
executed. A very simple
|
|
|
|
.\"LINK2"
|
|
|
|
macro expansion
|
|
|
|
.\"Macro Substitution"
|
|
|
|
takes place before executing the command.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " The cd internal command"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " The cd internal command"
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
1998-02-27 07:54:42 +03:00
|
|
|
.I cd
|
|
|
|
command is interpreted by the Midnight Commander, it is not passed to
|
|
|
|
the command shell for execution. Thus it may not handle all of the
|
|
|
|
nice macro expansion and substitution that your shell does, although it
|
|
|
|
does some of them:
|
|
|
|
.PP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I Tilde substitution.
|
1998-02-27 07:54:42 +03:00
|
|
|
The (~) will be substituted with your home directory, if you append a
|
|
|
|
username after the tilde, then it will be substituted with the login
|
2002-10-15 00:57:52 +04:00
|
|
|
directory of the specified user.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
For example, ~guest is the home directory for the user guest, while
|
|
|
|
~/guest is the directory guest in your home directory.
|
|
|
|
.PP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I Previous directory.
|
1998-02-27 07:54:42 +03:00
|
|
|
You can jump to the directory you were previously by using the special
|
|
|
|
directory name '-' like this:
|
|
|
|
.B cd -
|
|
|
|
.PP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I CDPATH directories.
|
2002-08-21 01:17:30 +04:00
|
|
|
If the directory specified to the
|
|
|
|
.B cd
|
1998-02-27 07:54:42 +03:00
|
|
|
command is not in the current directory, then The Midnight Commander
|
2002-08-21 01:17:30 +04:00
|
|
|
uses the value in the environment variable
|
1998-02-27 07:54:42 +03:00
|
|
|
.B CDPATH
|
|
|
|
to search for the directory in any of the named directories.
|
|
|
|
.PP
|
|
|
|
For example you could set your
|
|
|
|
.B CDPATH
|
|
|
|
variable to ~/src:/usr/src, allowing you to change your directory to
|
|
|
|
any of the directories inside the ~/src and /usr/src directories, from
|
2003-01-10 23:03:07 +03:00
|
|
|
any place in the file system by using its relative name (for example
|
1998-02-27 07:54:42 +03:00
|
|
|
cd linux could take you to /usr/src/linux).
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Macro Substitution"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Macro Substitution"
|
|
|
|
When accessing a
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
user menu\&,
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Menu File Edit"
|
|
|
|
or executing an
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
extension dependent command\&,
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Extension File Edit"
|
2002-10-30 06:06:02 +03:00
|
|
|
or running a command from the command line input, a simple macro
|
|
|
|
substitution takes place.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The macros are:
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %i
|
|
|
|
The indent of blank space, equal the cursor column position. For edit
|
|
|
|
menu only.
|
|
|
|
.TP
|
|
|
|
.I %y
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
The syntax type of current file. For edit menu only.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %k
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
The block file name.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %e
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
The error file name.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %m
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
The current menu name.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.IR %f " and " %p
|
1998-02-27 07:54:42 +03:00
|
|
|
The current file name.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %x
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
The extension of current file name.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %b
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
The current file name without extension.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %d
|
1998-02-27 07:54:42 +03:00
|
|
|
The current directory name.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %F
|
1998-02-27 07:54:42 +03:00
|
|
|
The current file in the unselected panel.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %D
|
1998-02-27 07:54:42 +03:00
|
|
|
The directory name of the unselected panel.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %t
|
1998-02-27 07:54:42 +03:00
|
|
|
The currently tagged files.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %T
|
1998-02-27 07:54:42 +03:00
|
|
|
The tagged files in the unselected panel.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.IR %u " and " %U
|
|
|
|
Similar to the %t and %T macros, but in addition the files are untagged.
|
|
|
|
You can use this macro only once per menu file entry or extension file
|
|
|
|
entry, because next time there will be no tagged files.
|
|
|
|
.TP
|
|
|
|
.IR %s " and " %S
|
1998-02-27 07:54:42 +03:00
|
|
|
The selected files: The tagged files if there are any. Otherwise the
|
|
|
|
current file.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %cd
|
1998-02-27 07:54:42 +03:00
|
|
|
This is a special macro that is used to change the current directory
|
|
|
|
to the directory specified in front of it. This is used primarily as
|
|
|
|
an interface to the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Virtual File System\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Virtual File System"
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %view
|
1998-02-27 07:54:42 +03:00
|
|
|
This macro is used to invoke the internal viewer. This macro can be
|
|
|
|
used alone, or with arguments. If you pass any arguments to this
|
|
|
|
macro, they should be enclosed in brackets.
|
|
|
|
.IP
|
2002-08-21 01:17:30 +04:00
|
|
|
The arguments are:
|
1998-02-27 07:54:42 +03:00
|
|
|
.I ascii
|
|
|
|
to force the viewer into ascii mode;
|
|
|
|
.I hex
|
|
|
|
to force the viewer into hex mode;
|
|
|
|
.I nroff
|
|
|
|
to tell the viewer that it should interpret the bold and underline
|
2002-08-21 01:17:30 +04:00
|
|
|
sequences of nroff;
|
1999-12-09 01:15:13 +03:00
|
|
|
.I unformatted
|
1998-02-27 07:54:42 +03:00
|
|
|
to tell the viewer to not interpret nroff commands for making the text
|
|
|
|
bold or underlined.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %%
|
1998-02-27 07:54:42 +03:00
|
|
|
The % character
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %{some text}
|
1998-02-27 07:54:42 +03:00
|
|
|
Prompt for the substitution. An input box is shown and the text inside
|
|
|
|
the braces is used as a prompt. The macro is substituted by the text
|
|
|
|
typed by the user. The user can press ESC or F10 to cancel. This macro
|
|
|
|
doesn't work on the command line yet.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
|
|
|
.I %var{ENV:default}
|
2002-02-27 11:33:09 +03:00
|
|
|
If environment variable
|
|
|
|
.I ENV
|
2002-08-21 01:17:30 +04:00
|
|
|
is unset, the
|
2002-02-27 11:33:09 +03:00
|
|
|
.I default
|
|
|
|
is substituted. Otherwise, the value of
|
|
|
|
.I ENV
|
|
|
|
is substituted.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " The subshell support"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " The subshell support"
|
|
|
|
The subshell support is a compile time option, that works with the
|
2002-08-21 01:17:30 +04:00
|
|
|
shells: bash, tcsh and zsh.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
When the subshell code is activated the Midnight Commander will
|
2002-08-21 01:17:30 +04:00
|
|
|
spawn a concurrent copy of your shell (the one defined in the
|
1998-02-27 07:54:42 +03:00
|
|
|
.B SHELL
|
|
|
|
variable and if it is not defined, then the one in the /etc/passwd
|
|
|
|
file) and run it in a pseudo terminal, instead of invoking a new shell
|
|
|
|
each time you execute a command, the command will be passed to the
|
|
|
|
subshell as if you had typed it. This also allows you to change the
|
|
|
|
environment variables, use shell functions and define aliases that are
|
|
|
|
valid until you quit the Midnight Commander.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
If you are using
|
1998-02-27 07:54:42 +03:00
|
|
|
.B bash
|
|
|
|
you can specify startup
|
|
|
|
commands for the subshell in your ~/.mc/bashrc file and
|
|
|
|
special keyboard maps in the ~/.mc/inputrc file.
|
2002-08-21 01:17:30 +04:00
|
|
|
.B tcsh
|
1998-02-27 07:54:42 +03:00
|
|
|
users may specify startup commands in the ~/.mc/tcshrc file.
|
|
|
|
.PP
|
|
|
|
When the subshell code is used, you can suspend applications at any
|
|
|
|
time with the sequence C-o and jump back to the Midnight Commander, if
|
|
|
|
you interrupt an application, you will not be able to run other
|
|
|
|
external commands until you quit the application you interrupted.
|
|
|
|
.PP
|
|
|
|
An extra added feature of using the subshell is that the prompt
|
|
|
|
displayed by the Midnight Commander is the same prompt that you are
|
|
|
|
currently using in your shell.
|
|
|
|
.PP
|
|
|
|
The
|
2001-07-24 01:42:45 +04:00
|
|
|
.\"LINK2"
|
1998-02-27 07:54:42 +03:00
|
|
|
OPTIONS
|
|
|
|
.\"OPTIONS"
|
|
|
|
section has more information on how you can control the subshell code.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Chmod"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Chmod"
|
|
|
|
The Chmod window is used to change the attribute bits in a group of
|
|
|
|
files and directories. It can be invoked with the C-x c key combination.
|
|
|
|
.PP
|
|
|
|
The Chmod window has two parts -
|
|
|
|
.I Permissions
|
2002-08-21 01:17:30 +04:00
|
|
|
and
|
2002-10-30 10:19:15 +03:00
|
|
|
.IR File .
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
In the File section are displayed the name of the file or directory
|
|
|
|
and its permissions in octal form, as well as its owner and group.
|
|
|
|
.PP
|
|
|
|
In the Permissions section there is a set of check buttons which
|
|
|
|
correspond to the file attribute bits. As you change the attribute
|
|
|
|
bits, you can see the octal value change in the File section.
|
|
|
|
.PP
|
|
|
|
To move between the widgets (buttons and check buttons) use the
|
|
|
|
.I arrow keys
|
|
|
|
or the
|
|
|
|
.I Tab
|
|
|
|
key. To change the state of the check buttons or to select a button
|
|
|
|
use
|
|
|
|
.I Space.
|
2001-09-03 22:01:45 +04:00
|
|
|
You can also use the hotkeys on the buttons to quickly activate them.
|
|
|
|
Hotkeys are shown as highlighted letters on the buttons.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
To set the attribute bits, use the Enter key.
|
|
|
|
.PP
|
|
|
|
When working with a group of files or directories, you just click on
|
|
|
|
the bits you want to set or clear. Once you have selected the bits
|
|
|
|
you want to change, you select one of the action buttons (Set marked
|
|
|
|
or Clear marked).
|
|
|
|
.PP
|
|
|
|
Finally, to set the attributes exactly to those specified, you can use
|
|
|
|
the
|
|
|
|
.B [Set all]
|
|
|
|
button, which will act on all the tagged files.
|
|
|
|
.PP
|
|
|
|
.B [Marked all]
|
|
|
|
set only marked attributes to all selected files
|
|
|
|
.PP
|
|
|
|
.B [Set marked]
|
|
|
|
set marked bits in attributes of all selected files
|
|
|
|
.PP
|
|
|
|
.B [Clean marked]
|
|
|
|
clear marked bits in attributes of all selected files
|
|
|
|
.PP
|
|
|
|
.B [Set]
|
|
|
|
set the attributes of one file
|
|
|
|
.PP
|
|
|
|
.B [Cancel]
|
|
|
|
cancel the Chmod command
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Chown"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Chown"
|
|
|
|
The Chown command is used to change the owner/group of a file. The hot
|
|
|
|
key for this command is C-x o.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Advanced Chown"
|
1998-12-25 00:37:24 +03:00
|
|
|
.SH "Advanced Chown"
|
2002-08-21 01:17:30 +04:00
|
|
|
The Advanced Chown command is the
|
1998-12-25 00:37:24 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Chmod
|
|
|
|
.\"Chmod"
|
2002-08-21 01:17:30 +04:00
|
|
|
and
|
1998-12-25 00:37:24 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Chown
|
|
|
|
.\"Chown"
|
2002-08-21 01:17:30 +04:00
|
|
|
command combined into one window. You can change the permissions and
|
1998-12-25 00:37:24 +03:00
|
|
|
owner/group of files at once.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "File Operations"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "File Operations"
|
|
|
|
When you copy, move or delete files the Midnight Commander shows the
|
2003-02-05 12:35:22 +03:00
|
|
|
file operations dialog. It shows the files currently being processed
|
|
|
|
and uses up to three progress bars. The file bar indicates the
|
|
|
|
percentage of the current file that has been processed so far. The
|
|
|
|
count bar shows how many of the tagged files have been handled. The
|
|
|
|
bytes bar indicates the percentage of the total size of the tagged files
|
|
|
|
that has been handled. If the verbose option is off, the file and bytes
|
|
|
|
bars are not shown.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
There are two buttons at the bottom of the dialog. Pressing the Skip
|
|
|
|
button will skip the rest of the current file. Pressing the Abort
|
|
|
|
button will abort the whole operation, the rest of the files are
|
|
|
|
skipped.
|
|
|
|
.PP
|
|
|
|
There are three other dialogs which you can run into during the file
|
|
|
|
operations.
|
|
|
|
.PP
|
2003-01-31 22:48:37 +03:00
|
|
|
The error dialog informs about error conditions and has three choices.
|
|
|
|
Normally you select either the Skip button to skip the file or the Abort
|
|
|
|
button to abort the operation altogether. You can also select the Retry
|
|
|
|
button if you fixed the problem from another terminal.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The replace dialog is shown when you attempt to copy or move a file on
|
2003-01-31 22:48:37 +03:00
|
|
|
the top of an existing file. The dialog shows the dates and sizes of
|
|
|
|
the both files. Press the Yes button to overwrite the file, the No
|
|
|
|
button to skip the file, the All button to overwrite all the files, the
|
|
|
|
None button to never overwrite and the Update button to overwrite if the
|
|
|
|
source file is newer than the target file. You can abort the whole
|
|
|
|
operation by pressing the Abort button.
|
|
|
|
.PP
|
|
|
|
The recursive delete dialog is shown when you try to delete a directory
|
|
|
|
which is not empty. Press the Yes button to delete the directory
|
|
|
|
recursively, the No button to skip the directory, the All button to
|
|
|
|
delete all the directories and the None button to skip all the non-empty
|
|
|
|
directories. You can abort the whole operation by pressing the Abort
|
|
|
|
button. If you selected the Yes or All button you will be asked for a
|
|
|
|
confirmation. Type "yes" only if you are really sure you want to do the
|
|
|
|
recursive delete.
|
|
|
|
.PP
|
|
|
|
If you have tagged files and perform an operation on them only the files
|
|
|
|
on which the operation succeeded are untagged. Failed and skipped files
|
|
|
|
are left tagged.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Mask Copy/Rename"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Mask Copy/Rename"
|
2003-02-05 12:24:58 +03:00
|
|
|
The copy/move operations let you translate the names of files in an
|
2003-01-31 22:48:37 +03:00
|
|
|
easy way. To do it, you have to specify the correct source mask and
|
|
|
|
usually in the trailing part of the destination specify some wildcards.
|
1998-02-27 07:54:42 +03:00
|
|
|
All the files matching the source mask are copied/renamed according to
|
2003-01-31 22:48:37 +03:00
|
|
|
the target mask. If there are tagged files, only the tagged files
|
1998-02-27 07:54:42 +03:00
|
|
|
matching the source mask are renamed.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
There are other options which you can set:
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2003-02-05 12:35:22 +03:00
|
|
|
.B Follow links
|
|
|
|
.PP
|
|
|
|
determines whether make the symlinks and hardlinks in the source
|
2002-08-21 01:17:30 +04:00
|
|
|
directory (recursively in subdirectories) new links in the target
|
1998-02-27 07:54:42 +03:00
|
|
|
directory or whether would you like to copy their content.
|
|
|
|
.PP
|
2003-02-05 12:35:22 +03:00
|
|
|
.B Dive into subdirs
|
|
|
|
.PP
|
|
|
|
determines the behavior when the source directory is about to be copied,
|
|
|
|
but the target directory already exists. The default action is to copy
|
|
|
|
the contents of the source directory into the target directory.
|
|
|
|
Enabling this option causes copying the source directory itself into the
|
|
|
|
target directory.
|
|
|
|
.PP
|
|
|
|
For example, you want to copy directory
|
|
|
|
.I /foo
|
|
|
|
containing file
|
|
|
|
.I bar
|
|
|
|
to
|
|
|
|
.IR /bla/foo ,
|
|
|
|
which is an already existing directory. Normally (when
|
|
|
|
.B Dive into subdirs
|
|
|
|
is not set), mc would copy file
|
|
|
|
.I /foo/bar
|
|
|
|
into the file
|
|
|
|
.IR /bla/foo/bar .
|
|
|
|
By enabling this option the
|
|
|
|
.I /bla/foo/foo
|
|
|
|
directory will be created, and
|
|
|
|
.I /foo/bar
|
|
|
|
will be copied into
|
|
|
|
.IR /bla/foo/foo/bar .
|
|
|
|
.PP
|
|
|
|
.B Preserve attributes
|
|
|
|
.PP
|
|
|
|
determines whether to preserve the permissions, timestamps and (if you
|
|
|
|
are root) the ownership of the original files. If this option is not
|
|
|
|
set, the current value of the umask will be respected.
|
|
|
|
.PP
|
|
|
|
.B Use shell patterns on
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
When the shell patterns option is on you can use the '*' and '?'
|
2003-01-31 22:48:37 +03:00
|
|
|
wildcards in the source mask. They work like they do in the shell. In
|
|
|
|
the target mask only the '*' and '\\<digit>' wildcards are allowed. The
|
|
|
|
first '*' wildcard in the target mask corresponds to the first wildcard
|
|
|
|
group in the source mask, the second '*' corresponds to the second group
|
|
|
|
and so on. The '\\1' wildcard corresponds to the first wildcard group
|
|
|
|
in the source mask, the '\\2' wildcard corresponds to the second group
|
|
|
|
and so on all the way up to '\\9'. The '\\0' wildcard is the whole
|
|
|
|
filename of the source file.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Two examples:
|
|
|
|
.PP
|
|
|
|
If the source mask is "*.tar.gz", the destination is "/bla/*.tgz" and the
|
|
|
|
file to be copied is "foo.tar.gz", the copy will be "foo.tgz" in "/bla".
|
|
|
|
.PP
|
2003-02-05 12:35:22 +03:00
|
|
|
Suppose you want to swap basename and extension so that "file.c" would
|
|
|
|
become "c.file" and so on. The source mask for this is "*.*" and the
|
|
|
|
destination is "\\2.\\1".
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2003-02-05 12:35:22 +03:00
|
|
|
.B Use shell patterns off
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
When the shell patterns option is off the MC doesn't do automatic
|
|
|
|
grouping anymore. You must use '\\(...\\)' expressions in the source
|
|
|
|
mask to specify meaning for the wildcards in the target mask. This is
|
|
|
|
more flexible but also requires more typing. Otherwise target masks
|
|
|
|
are similar to the situation when the shell patterns option is on.
|
|
|
|
.PP
|
|
|
|
Two examples:
|
|
|
|
.PP
|
|
|
|
If the source mask is "^\\(.*\\)\\.tar\\.gz$", the destination is
|
|
|
|
"/bla/*.tgz" and the file to be copied is "foo.tar.gz", the copy
|
|
|
|
will be "/bla/foo.tgz".
|
|
|
|
.PP
|
|
|
|
Let's suppose you want to swap basename and extension so that "file.c"
|
|
|
|
will become "c.file" and so on. The source mask for this is
|
|
|
|
"^\\(.*\\)\\.\\(.*\\)$" and the destination is "\\2.\\1".
|
|
|
|
.PP
|
2003-02-05 12:35:22 +03:00
|
|
|
.B Case Conversions
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2001-09-05 02:06:30 +04:00
|
|
|
You can also change the case of the filenames. If you use '\\u'
|
|
|
|
or '\\l' in the target mask, the next character will be converted to
|
1998-02-27 07:54:42 +03:00
|
|
|
uppercase or lowercase correspondingly.
|
|
|
|
.PP
|
2001-09-05 02:06:30 +04:00
|
|
|
If you use '\\U' or '\\L' in the target mask, the next characters will
|
|
|
|
be converted to uppercase or lowercase correspondingly up to the
|
|
|
|
next '\\E' or next '\\U', '\\L' or the end of the file name.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The '\\u' and '\\l' are stronger than '\\U' and '\\L'.
|
|
|
|
.PP
|
|
|
|
For example, if the source mask is '*' (shell patterns on) or '^\\(.*\\)$'
|
|
|
|
(shell patterns off) and the target mask is '\\L\\u*' the file names
|
|
|
|
will be converted to have initial upper case and otherwise lower case.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
You can also use '\\' as a quote character. For example, '\\\\' is
|
1998-02-27 07:54:42 +03:00
|
|
|
a backslash and '\\*' is an asterisk.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Internal File Viewer"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Internal File Viewer"
|
|
|
|
The internal file viewer provides two display modes: ASCII and hex.
|
2005-04-14 05:15:36 +04:00
|
|
|
To toggle between modes, use the F4 key.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The viewer will try to use the best method provided by your system or
|
2005-04-14 05:15:36 +04:00
|
|
|
the file type to display the information.
|
|
|
|
Some character sequences, which appear most often in preformatted manual
|
|
|
|
pages, are displayed bold and underlined, thus making a pretty display
|
|
|
|
of your files.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2001-07-10 23:54:39 +04:00
|
|
|
When in hex mode, the search function accepts text in quotes and
|
|
|
|
constant numbers. Text in quotes is matched exactly after removing
|
|
|
|
the quotes. Each number matches one byte. You can mix quoted text
|
|
|
|
with constants like this:
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2001-07-10 23:54:39 +04:00
|
|
|
.nf
|
|
|
|
"String" -1 0xBB 012 "more text"
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
Note that 012 is an octal number. -1 is converted to 0xFF.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Here is a listing of the actions associated with each key that the
|
|
|
|
Midnight Commander handles in the internal file viewer.
|
|
|
|
.PP
|
|
|
|
.B F1
|
2003-01-31 22:48:37 +03:00
|
|
|
Invoke the built-in hypertext help viewer.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.B F2
|
|
|
|
Toggle the wrap mode.
|
|
|
|
.PP
|
|
|
|
.B F4
|
|
|
|
Toggle the hex mode.
|
|
|
|
.PP
|
|
|
|
.B F5
|
|
|
|
Goto line. This will prompt you for a line number and will display
|
|
|
|
that line.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
.B F6, /.
|
1998-02-27 07:54:42 +03:00
|
|
|
Regular expression search.
|
|
|
|
.PP
|
|
|
|
.B ?,
|
|
|
|
Reverse regular expression search.
|
|
|
|
.PP
|
|
|
|
.B F7
|
|
|
|
Normal search / hex mode search.
|
|
|
|
.PP
|
2001-08-07 21:08:09 +04:00
|
|
|
.B C-s, F17, n.
|
1998-02-27 07:54:42 +03:00
|
|
|
Start normal search if there was no previous search expression else
|
|
|
|
find next match.
|
|
|
|
.PP
|
|
|
|
.B C-r.
|
|
|
|
Start reverse search if there was no previous search expression else
|
|
|
|
find next match.
|
|
|
|
.PP
|
|
|
|
.B F8
|
|
|
|
Toggle Raw/Parsed mode: This will show the file as found on disk or if
|
|
|
|
a processing filter has been specified in the mc.ext file, then the
|
|
|
|
output from the filter. Current mode is always the other than written
|
|
|
|
on the button label, since on the button is the mode which you enter
|
|
|
|
by that key.
|
|
|
|
.PP
|
|
|
|
.B F9
|
|
|
|
Toggle the format/unformat mode: when format mode is on the viewer
|
|
|
|
will interpret some string sequences to show bold and underline with
|
|
|
|
different colors. Also, on button label is the other mode than current.
|
|
|
|
.PP
|
|
|
|
.B F10, Esc.
|
|
|
|
Exit the internal file viewer.
|
|
|
|
.PP
|
|
|
|
.B next-page, space, C-v.
|
|
|
|
Scroll one page forward.
|
|
|
|
.PP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B prev-page, Alt-v, C-b, backspace.
|
1998-02-27 07:54:42 +03:00
|
|
|
Scroll one page backward.
|
|
|
|
.PP
|
|
|
|
.B down-key
|
|
|
|
Scroll one line forward.
|
|
|
|
.PP
|
|
|
|
.B up-key
|
|
|
|
Scroll one line backward.
|
|
|
|
.PP
|
|
|
|
.B C-l
|
|
|
|
Refresh the screen.
|
|
|
|
.PP
|
2001-08-07 21:08:09 +04:00
|
|
|
.B C-o
|
|
|
|
Switch to the subshell and show the command screen.
|
|
|
|
.PP
|
1998-02-27 07:54:42 +03:00
|
|
|
.B !
|
2001-08-07 21:08:09 +04:00
|
|
|
Like C-o, but run a new shell if the subshell is not running.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.B "[n] m"
|
|
|
|
Set the mark n.
|
|
|
|
.PP
|
|
|
|
.B "[n] r"
|
|
|
|
Jump to the mark n.
|
|
|
|
.PP
|
|
|
|
.B C-f
|
|
|
|
Jump to the next file.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
.B C-b
|
1998-02-27 07:54:42 +03:00
|
|
|
Jump to the previous file.
|
|
|
|
.PP
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-r
|
1998-02-27 07:54:42 +03:00
|
|
|
Toggle the ruler.
|
|
|
|
.PP
|
|
|
|
It's possible to instruct the file viewer how to display a file, look
|
2002-08-21 01:17:30 +04:00
|
|
|
at the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
|
|
|
Extension File Edit section
|
|
|
|
.\"Extension File Edit"
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Internal File Editor"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Internal File Editor"
|
2003-01-31 22:48:37 +03:00
|
|
|
The internal file editor is a full-featured full screen editor. It can
|
|
|
|
edit files up to 64 megabytes. It is possible to edit binary files.
|
|
|
|
The internal file editor is invoked using
|
1998-02-27 07:54:42 +03:00
|
|
|
.B F4
|
2003-01-31 22:48:37 +03:00
|
|
|
if the
|
1998-02-27 07:54:42 +03:00
|
|
|
.I use_internal_edit
|
2003-01-31 22:48:37 +03:00
|
|
|
option is set in the initialization file.
|
|
|
|
.PP
|
|
|
|
The features it presently supports are: block copy, move, delete, cut,
|
|
|
|
paste; key for key undo; pull-down menus; file insertion; macro
|
|
|
|
commands; regular expression search and replace (and our own
|
|
|
|
scanf-printf search and replace); shift-arrow text highlighting (if
|
|
|
|
supported by the terminal); insert-overwrite toggle; word wrap;
|
|
|
|
autoindent; tunable tab size; syntax highlighting for various file
|
|
|
|
types; and an option to pipe text blocks through shell commands like
|
|
|
|
indent and ispell.
|
2002-11-02 20:50:58 +03:00
|
|
|
.PP
|
|
|
|
The editor is very easy to use and requires no tutoring. To see what
|
|
|
|
keys do what, just consult the appropriate pull-down menu. Other keys
|
|
|
|
are: Shift movement keys do text highlighting.
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Ctrl-Ins
|
|
|
|
copies to the file
|
2002-10-13 08:54:44 +04:00
|
|
|
.B cooledit.clip
|
|
|
|
and
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Shift-Ins
|
|
|
|
pastes from cooledit.clip.
|
2002-08-21 01:17:30 +04:00
|
|
|
.B Shift-Del
|
|
|
|
cuts to
|
2002-10-15 00:57:52 +04:00
|
|
|
.BR cooledit.clip ,
|
2002-08-21 01:17:30 +04:00
|
|
|
and
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Ctrl-Del
|
2002-09-23 16:01:10 +04:00
|
|
|
deletes highlighted text. Mouse highlighting also works, and you
|
1998-02-27 07:54:42 +03:00
|
|
|
can override the mouse as usual by holding down the shift key
|
|
|
|
while dragging the mouse to let normal terminal mouse highlighting
|
|
|
|
work.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
To define a macro, press
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Ctrl-R
|
2002-02-20 14:07:59 +03:00
|
|
|
and then type out the key
|
2002-08-21 01:17:30 +04:00
|
|
|
strokes you want to be executed. Press
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Ctrl-R
|
2002-02-20 14:07:59 +03:00
|
|
|
again when finished. You can then assign the macro to any key you
|
1998-02-27 07:54:42 +03:00
|
|
|
like by pressing that key. The macro is executed when you press
|
2002-10-15 00:57:52 +04:00
|
|
|
.B Ctrl-A
|
2002-09-23 16:07:09 +04:00
|
|
|
and then the assigned key. The macro is also executed if
|
1998-02-27 07:54:42 +03:00
|
|
|
you press Meta, Ctrl, or Esc and the assigned key, provided that the
|
|
|
|
key is not used for any other function. Once defined, the macro
|
2002-08-21 01:17:30 +04:00
|
|
|
commands go into the file
|
2001-09-16 03:16:20 +04:00
|
|
|
.B .mc/cedit/cooledit.macros
|
2002-02-20 14:07:59 +03:00
|
|
|
in your home directory. You can delete a macro by deleting the
|
1998-02-27 07:54:42 +03:00
|
|
|
appropriate line in this file.
|
|
|
|
.PP
|
2000-08-16 01:02:20 +04:00
|
|
|
.B F19
|
|
|
|
will format the currently highlighted block (plain text or
|
|
|
|
.B C
|
|
|
|
or
|
|
|
|
.B C++
|
|
|
|
code or another). This is controlled by the
|
|
|
|
file
|
2002-09-22 04:38:54 +04:00
|
|
|
.B @prefix@/share/mc/edit.indent.rc
|
2000-08-16 01:02:20 +04:00
|
|
|
which is copied to
|
2001-09-16 03:16:20 +04:00
|
|
|
.B .mc/cedit/edit.indent.rc
|
2000-08-16 01:02:20 +04:00
|
|
|
in your home directory the first time you use it.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
You can use scanf search and replace to search and replace
|
2002-08-21 01:17:30 +04:00
|
|
|
a C format string. First take a look at the
|
1998-02-27 07:54:42 +03:00
|
|
|
.B sscanf
|
2002-08-21 01:17:30 +04:00
|
|
|
and
|
2002-03-21 10:57:55 +03:00
|
|
|
.B sprintf
|
2003-01-31 22:48:37 +03:00
|
|
|
man pages to see what a format string is and how it works. Consider
|
|
|
|
following example. Suppose you want to replace all occurrences of an
|
|
|
|
open bracket, three comma separated numbers, and a close bracket, with
|
|
|
|
the word
|
2002-10-15 00:57:52 +04:00
|
|
|
.IR apples ,
|
2002-08-21 01:17:30 +04:00
|
|
|
the third number, the word
|
1998-02-27 07:54:42 +03:00
|
|
|
.I oranges
|
2003-01-31 22:48:37 +03:00
|
|
|
and then the second number. Then fill in the Replace dialog box as
|
|
|
|
follows:
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.nf
|
2003-02-05 12:24:58 +03:00
|
|
|
Enter search string:
|
|
|
|
(%d,%d,%d)
|
|
|
|
Enter replacement string:
|
|
|
|
apples %d oranges %d
|
|
|
|
Enter replacement argument order:
|
|
|
|
3,2
|
1998-02-27 07:54:42 +03:00
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
The last line specifies that the third and then the second
|
|
|
|
number are to be used in place of the first and second.
|
|
|
|
.PP
|
|
|
|
It is advisable to use this feature with Prompt on replace on, because
|
|
|
|
a match is thought to be found whenever the number of arguments found
|
|
|
|
matches the number given, which is not always a real match. Scanf also
|
2003-01-10 23:03:07 +03:00
|
|
|
treats whitespace as being elastic. Note that the scanf format %[ is
|
1998-02-27 07:54:42 +03:00
|
|
|
very useful for scanning strings, and whitespace.
|
|
|
|
.PP
|
|
|
|
The editor also displays non-us characters (160+). When editing
|
2002-08-21 01:17:30 +04:00
|
|
|
binary files, you should set
|
1998-02-27 07:54:42 +03:00
|
|
|
.B display bits
|
|
|
|
to 7 bits in the options menu to keep the spacing clean.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Completion"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "Completion"
|
1998-02-27 07:54:42 +03:00
|
|
|
Let the Midnight Commander type for you.
|
|
|
|
.PP
|
2003-01-31 22:48:37 +03:00
|
|
|
Attempt to perform completion on the text before current position. MC
|
|
|
|
attempts completion treating the text as variable (if the text begins
|
|
|
|
with
|
2002-10-15 00:57:52 +04:00
|
|
|
.BR $ ),
|
|
|
|
username (if the text begins with
|
|
|
|
.BR ~ ),
|
|
|
|
hostname (if the text begins with
|
|
|
|
.BR @ )
|
2003-01-31 22:48:37 +03:00
|
|
|
or command (if you are on the command line in the position where you
|
|
|
|
might type a command, possible completions then include shell reserved
|
|
|
|
words and shell built-in commands as well) in turn. If none of these
|
|
|
|
matches, filename completion is attempted.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Filename, username, variable and hostname completion works on all input
|
2003-01-31 22:48:37 +03:00
|
|
|
lines, command completion is command line specific. If the completion
|
|
|
|
is ambiguous (there are more different possibilities), MC beeps and the
|
|
|
|
following action depends on the setting of the
|
1998-12-25 00:37:24 +03:00
|
|
|
.I Complete: show all
|
|
|
|
option in the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
1998-12-25 00:37:24 +03:00
|
|
|
Configuration
|
2000-12-29 16:11:01 +03:00
|
|
|
.\"Configuration"
|
2003-01-31 22:48:37 +03:00
|
|
|
dialog. If it is enabled, a list of all possibilities pops up next to
|
|
|
|
the current position and you can select with the arrow keys and
|
1998-02-27 07:54:42 +03:00
|
|
|
.B Enter
|
2003-01-31 22:48:37 +03:00
|
|
|
the correct entry. You can also type the first letters in which the
|
|
|
|
possibilities differ to move to a subset of all possibilities and
|
|
|
|
complete as much as possible. If you press
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Tab
|
1998-02-27 07:54:42 +03:00
|
|
|
again, only the subset will be shown in the listbox, otherwise the first
|
2003-01-31 22:48:37 +03:00
|
|
|
item which matches all the previous characters will be highlighted. As
|
|
|
|
soon as there is no ambiguity, dialog disappears, but you can hide it by
|
2002-08-21 01:17:30 +04:00
|
|
|
canceling keys
|
2003-01-10 23:03:07 +03:00
|
|
|
.BR Esc ,
|
1998-02-27 07:54:42 +03:00
|
|
|
.B F10
|
|
|
|
and left and right arrow keys. If
|
|
|
|
.\"LINK2"
|
1998-12-25 00:37:24 +03:00
|
|
|
Complete: show all
|
|
|
|
.\"Configuration"
|
|
|
|
is disabled, the dialog pops up only if you press
|
2005-02-26 19:38:59 +03:00
|
|
|
.B Alt-Tab
|
1998-02-27 07:54:42 +03:00
|
|
|
for the second time, for the first time MC just beeps.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Virtual File System"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Virtual File System"
|
2003-01-31 22:48:37 +03:00
|
|
|
The Midnight Commander is provided with a code layer to access the file
|
|
|
|
system; this code layer is known as the virtual file system switch. The
|
|
|
|
virtual file system switch allows the Midnight Commander to manipulate
|
|
|
|
files not located on the Unix file system.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
1998-09-30 22:56:06 +04:00
|
|
|
Currently the Midnight Commander is packaged with some Virtual File
|
2003-01-16 13:37:06 +03:00
|
|
|
Systems (VFS): the
|
|
|
|
.I local
|
2003-01-31 22:48:37 +03:00
|
|
|
file system, used for accessing the regular Unix file system; the
|
2003-01-16 13:37:06 +03:00
|
|
|
.IR ftpfs ,
|
2003-01-31 22:48:37 +03:00
|
|
|
used to manipulate files on remote systems with the FTP protocol; the
|
2003-01-16 13:37:06 +03:00
|
|
|
.IR tarfs ,
|
2003-01-31 22:48:37 +03:00
|
|
|
used to manipulate tar and compressed tar files; the
|
2003-01-16 13:37:06 +03:00
|
|
|
.IR undelfs ,
|
2003-01-31 22:48:37 +03:00
|
|
|
used to recover deleted files on ext2 file systems (the default file
|
|
|
|
system for Linux systems),
|
2003-01-16 13:37:06 +03:00
|
|
|
.I fish
|
1998-09-30 22:56:06 +04:00
|
|
|
(for manipulating files over shell connections such as rsh and ssh) and
|
2003-01-16 13:37:06 +03:00
|
|
|
finally the
|
|
|
|
.I mcfs
|
2003-01-31 22:48:37 +03:00
|
|
|
(Midnight Commander file system), a network based file system. If the
|
|
|
|
code was compiled with
|
2003-01-16 13:37:06 +03:00
|
|
|
.I smbfs
|
2003-01-31 22:48:37 +03:00
|
|
|
support, you can manipulate files on remote systems with the SMB (CIFS)
|
|
|
|
protocol.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2003-01-16 13:37:06 +03:00
|
|
|
A generic
|
|
|
|
.I extfs
|
2003-01-31 22:58:17 +03:00
|
|
|
(EXTernal virtual File System) is provided in order to easily expand
|
2003-01-16 13:37:06 +03:00
|
|
|
VFS capabilities using scripts and external software.
|
|
|
|
.PP
|
1998-02-27 07:54:42 +03:00
|
|
|
The VFS switch code will interpret all of the path names used and will
|
|
|
|
forward them to the correct file system, the formats used for each one
|
|
|
|
of the file systems is described later in their own section.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " FTP File System"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " FTP File System"
|
2002-11-02 20:50:58 +03:00
|
|
|
The FTP File System (ftpfs) allows you to manipulate files on remote
|
|
|
|
machines. To actually use it, you can use the
|
|
|
|
.I FTP link
|
|
|
|
item in the menu or directly change your current directory using the
|
|
|
|
.I cd
|
|
|
|
command to a path name that looks like this:
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
1998-09-30 22:56:06 +04:00
|
|
|
.I /#ftp:[!][user[:pass]@]machine[:port][remote-dir]
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-02-27 16:47:26 +03:00
|
|
|
The
|
2002-11-02 20:50:58 +03:00
|
|
|
.IR user ,
|
|
|
|
.I port
|
1998-02-27 07:54:42 +03:00
|
|
|
and
|
|
|
|
.I remote-dir
|
|
|
|
elements are optional. If you specify the
|
|
|
|
.I user
|
2002-11-02 20:50:58 +03:00
|
|
|
element, the Midnight Commander will login to the remote machine as that
|
2003-08-03 02:45:09 +04:00
|
|
|
user, otherwise it will use anonymous login or the login name from the
|
2002-11-02 20:50:58 +03:00
|
|
|
.I ~/.netrc
|
|
|
|
file. The optional
|
1998-02-27 07:54:42 +03:00
|
|
|
.I pass
|
2002-11-02 20:50:58 +03:00
|
|
|
element is the password used for the connection. Using the password in
|
2003-01-31 22:58:17 +03:00
|
|
|
the VFS directory name is not recommended, because it can appear on the
|
|
|
|
screen in clear text and can be saved to the directory history.
|
2002-11-02 20:50:58 +03:00
|
|
|
.PP
|
|
|
|
To enable using FTP proxy, prepend
|
|
|
|
.B !
|
|
|
|
(an exclamation sign) to the hostname.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Examples:
|
|
|
|
.PP
|
|
|
|
.nf
|
1998-09-30 22:56:06 +04:00
|
|
|
/#ftp:ftp.nuclecu.unam.mx/linux/local
|
|
|
|
/#ftp:tsx-11.mit.edu/pub/linux/packages
|
|
|
|
/#ftp:!behind.firewall.edu/pub
|
|
|
|
/#ftp:guest@remote-host.com:40/pub
|
|
|
|
/#ftp:miguel:xxx@server/pub
|
1998-02-27 07:54:42 +03:00
|
|
|
.fi
|
|
|
|
.PP
|
2002-11-02 20:50:58 +03:00
|
|
|
Please check the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-08-21 01:17:30 +04:00
|
|
|
Virtual File System
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Virtual FS"
|
2002-11-02 20:50:58 +03:00
|
|
|
dialog box for ftpfs options.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Tar File System"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Tar File System"
|
|
|
|
The tar file system provides you with read-only access to your tar
|
|
|
|
files and compressed tar files by using the chdir command. To change
|
|
|
|
your directory to a tar file, you change your current directory to the
|
|
|
|
tar file by using the following syntax:
|
|
|
|
.PP
|
2002-02-20 14:07:59 +03:00
|
|
|
.I /filename.tar#utar/[dir-inside-tar]
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The mc.ext file already provides a shortcut for tar files, this means
|
|
|
|
that usually you just point to a tar file and press return to enter
|
2002-08-21 01:17:30 +04:00
|
|
|
into the tar file, see the
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"LINK2"
|
2002-08-21 01:17:30 +04:00
|
|
|
Extension File Edit
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Extension File Edit"
|
|
|
|
section for details on how this is done.
|
|
|
|
.PP
|
|
|
|
Examples:
|
|
|
|
.PP
|
|
|
|
.nf
|
1998-09-30 22:56:06 +04:00
|
|
|
mc-3.0.tar.gz#utar/mc-3.0/vfs
|
|
|
|
/ftp/GCC/gcc-2.7.0.tar#utar
|
1998-02-27 07:54:42 +03:00
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
The latter specifies the full path of the tar archive.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " FIle transfer over SHell filesystem"
|
1998-09-30 22:56:06 +04:00
|
|
|
.SH " FIle transfer over SHell filesystem"
|
|
|
|
The fish file system is a network based file system that allows you to
|
|
|
|
manipulate the files in a remote machine as if they were local. To use
|
|
|
|
this, the other side has to either run fish server, or has to have
|
|
|
|
bash-compatible shell.
|
|
|
|
.PP
|
|
|
|
To connect to a remote machine, you just need to chdir
|
|
|
|
into a special directory which name is in the following
|
|
|
|
format:
|
|
|
|
.PP
|
2003-01-16 13:37:06 +03:00
|
|
|
.I /#sh:[user@]machine[:options]/[remote-dir]
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
|
|
|
.I user,
|
1998-09-30 22:56:06 +04:00
|
|
|
.I options
|
2002-08-21 01:17:30 +04:00
|
|
|
and
|
1998-09-30 22:56:06 +04:00
|
|
|
.I remote-dir
|
2003-01-31 22:58:17 +03:00
|
|
|
elements are optional. If you specify the
|
1998-09-30 22:56:06 +04:00
|
|
|
.I user
|
2003-01-31 22:58:17 +03:00
|
|
|
element, the Midnight Commander will try to login on the remote
|
|
|
|
machine as that user, otherwise it will use your login name.
|
1998-09-30 22:56:06 +04:00
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
1998-09-30 22:56:06 +04:00
|
|
|
.I options
|
2003-01-31 22:58:17 +03:00
|
|
|
are 'C' - use compression and 'rsh' use rsh instead of ssh. If the
|
1998-09-30 22:56:06 +04:00
|
|
|
.I remote-dir
|
2003-01-31 22:58:17 +03:00
|
|
|
element is present, your current directory on the remote machine will be
|
|
|
|
set to this one.
|
1998-09-30 22:56:06 +04:00
|
|
|
.PP
|
|
|
|
Examples:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
/#sh:onlyrsh.mx:r/linux/local
|
|
|
|
/#sh:joe@want.compression.edu:C/private
|
|
|
|
/#sh:joe@noncompressed.ssh.edu/private
|
|
|
|
.fi
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Network File System"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Network File System"
|
|
|
|
The Midnight Commander file system is a network base file system that
|
2003-01-31 22:58:17 +03:00
|
|
|
allows you to manipulate the files in a remote machine as if they were
|
|
|
|
local. To use this, the remote machine must be running the mcserv(8)
|
|
|
|
server program.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
To connect to a remote machine, you just need to chdir into a special
|
|
|
|
directory which name is in the following format:
|
|
|
|
.PP
|
1998-09-30 22:56:06 +04:00
|
|
|
.I /#mc:[user@]machine[:port][remote-dir]
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-02-20 14:07:59 +03:00
|
|
|
The
|
1998-02-27 07:54:42 +03:00
|
|
|
.I user, port
|
|
|
|
and
|
|
|
|
.I remote-dir
|
2002-08-21 01:17:30 +04:00
|
|
|
elements are optional. If you specify the
|
1998-02-27 07:54:42 +03:00
|
|
|
.I user
|
|
|
|
element then the Midnight Commander will try to logon on the remote
|
|
|
|
machine as that user, otherwise it will use your login name.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
1998-02-27 07:54:42 +03:00
|
|
|
.I port
|
2003-01-10 23:03:07 +03:00
|
|
|
element is used when the remote server is running on a special port
|
1998-02-27 07:54:42 +03:00
|
|
|
(see the mcserv(8) manual page for more information about ports);
|
|
|
|
finally, if the
|
|
|
|
.I remote-dir
|
|
|
|
element is present, your current directory on the remote machine will
|
|
|
|
be set to this one.
|
|
|
|
.PP
|
|
|
|
Examples:
|
|
|
|
.PP
|
|
|
|
.nf
|
1998-09-30 22:56:06 +04:00
|
|
|
/#mc:ftp.nuclecu.unam.mx/linux/local
|
|
|
|
/#mc:joe@foo.edu:11321/private
|
1998-02-27 07:54:42 +03:00
|
|
|
.fi
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " Undelete File System"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH " Undelete File System"
|
|
|
|
On Linux systems, if you asked configure to use the ext2fs undelete
|
|
|
|
facilities, you will have the undelete file system available.
|
|
|
|
Recovery of deleted files is only available on ext2 file systems. The
|
2003-08-03 02:45:09 +04:00
|
|
|
undelete file system is just an interface to the ext2fs library to
|
1998-02-27 07:54:42 +03:00
|
|
|
retrieve all of the deleted files names on an ext2fs and provides and
|
|
|
|
to extract the selected files into a regular partition.
|
|
|
|
.PP
|
|
|
|
To use this file system, you have to chdir into the special file name
|
1998-09-30 22:56:06 +04:00
|
|
|
formed by the "/#undel" prefix and the file name where the actual
|
1998-02-27 07:54:42 +03:00
|
|
|
file system resides.
|
|
|
|
.PP
|
|
|
|
For example, to recover deleted files on the second partition of the
|
2001-09-03 22:01:45 +04:00
|
|
|
first SCSI disk on Linux, you would use the following path name:
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
.nf
|
2000-03-13 16:50:01 +03:00
|
|
|
/#undel:sda2
|
1998-02-27 07:54:42 +03:00
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
It may take a while for the undelfs to load the required information
|
2002-08-21 01:17:30 +04:00
|
|
|
before you start browsing files there.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE " SMB File System"
|
2002-02-27 16:47:26 +03:00
|
|
|
.SH " SMB File System"
|
|
|
|
The smbfs allows you to manipulate files on remote machines with SMB
|
2002-08-21 01:17:30 +04:00
|
|
|
(or CIFS) protocol. These include Windows for Workgroups,
|
2002-10-09 17:46:22 +04:00
|
|
|
Windows 9x/ME/XP, Windows NT, Windows 2000 and Samba.
|
|
|
|
To actually use it, you may try to use the panel command "SMB link..."
|
2002-02-27 16:47:26 +03:00
|
|
|
(accessible from the menubar) or you may directly change your current
|
|
|
|
directory to it using the cd command to a path name that looks like this:
|
|
|
|
.PP
|
2002-10-09 17:46:22 +04:00
|
|
|
.I /#smb:[user@]machine[/service][/remote-dir]
|
2002-02-27 16:47:26 +03:00
|
|
|
.PP
|
|
|
|
The
|
2003-01-10 23:03:07 +03:00
|
|
|
.IR user ,
|
|
|
|
.I service
|
2002-02-27 16:47:26 +03:00
|
|
|
and
|
|
|
|
.I remote-dir
|
|
|
|
elements are optional.
|
|
|
|
The
|
2003-01-10 23:03:07 +03:00
|
|
|
.IR user ,
|
|
|
|
.I domain
|
2002-02-27 16:47:26 +03:00
|
|
|
and
|
2002-08-21 01:17:30 +04:00
|
|
|
.I password
|
2003-01-10 23:03:07 +03:00
|
|
|
can be specified in an input dialog.
|
2002-02-27 16:47:26 +03:00
|
|
|
.PP
|
|
|
|
Examples:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
/#smb:machine/Share
|
2002-03-21 10:57:55 +03:00
|
|
|
/#smb:other_machine
|
2002-10-09 17:46:22 +04:00
|
|
|
/#smb:guest@machine/Public/Irlex
|
2002-02-27 16:47:26 +03:00
|
|
|
.fi
|
2003-01-16 13:37:06 +03:00
|
|
|
.\"NODE " EXTernal File System"
|
|
|
|
.SH " EXTernal File System"
|
2003-01-20 17:07:59 +03:00
|
|
|
.B extfs
|
|
|
|
allows to integrate numerous features and file types into GNU Midnight
|
|
|
|
Commander in an easy way, by writing scripts.
|
2003-01-16 13:37:06 +03:00
|
|
|
.PP
|
|
|
|
Extfs filesystems can be divided into two categories:
|
|
|
|
.PP
|
|
|
|
1. Stand-alone filesystems, which are not associated with any existing
|
|
|
|
file. They represent certain system-wide data as a directory tree.
|
|
|
|
You can invoke them by typing
|
|
|
|
.RI ' "cd #fsname" '
|
|
|
|
where fsname is an extfs short name (see below). Examples of such
|
|
|
|
filesystems include audio (list audio tracks on the CD) or apt (list of
|
|
|
|
all Debian packages in the system).
|
|
|
|
.PP
|
|
|
|
For example, to list CD-Audio tracks on your CD-ROM drive, type
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
cd #audio
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
2. 'Archive' filesystems (like rpm, patchfs and more), which represent
|
|
|
|
contents of a file as a directory tree. It can consist of 'real' files
|
|
|
|
compressed in an archive (urar, rpm) or virtual files, like messages
|
|
|
|
in a mailbox (mailfs) or parts of a patch (patchfs). To access such
|
|
|
|
filesystems
|
|
|
|
.RI ' #fsname '
|
|
|
|
should be appended to the archive name. Note that the archive itself
|
|
|
|
can be on another vfs.
|
|
|
|
.PP
|
|
|
|
For example, to list contents of a zip archive documents.zip type
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
cd documents.zip#uzip
|
|
|
|
.fi
|
|
|
|
.PP
|
2003-01-31 22:58:17 +03:00
|
|
|
In many aspects, you could treat extfs like any other directory. For
|
|
|
|
instance, you can add it to the hotlist or change to it from directory
|
|
|
|
history. An important limitation is that you cannot invoke shell
|
|
|
|
commands inside extfs, just like any other non-local VFS.
|
2003-01-16 13:37:06 +03:00
|
|
|
.PP
|
|
|
|
Common extfs scripts included with Midnight Commander are:
|
|
|
|
.TP
|
|
|
|
.B a
|
|
|
|
access 'A:' DOS/Windows diskette
|
|
|
|
.RI ( "cd #a" ).
|
|
|
|
.TP
|
|
|
|
.B apt
|
|
|
|
front end to Debian's APT package management system
|
|
|
|
.RI ( "cd #apt" ).
|
|
|
|
.TP
|
|
|
|
.B audio
|
|
|
|
audio CD ripping and playing
|
|
|
|
.RI ( "cd #audio"
|
|
|
|
or
|
|
|
|
.IR "cd device#audio" ).
|
|
|
|
.TP
|
|
|
|
.B bpp
|
|
|
|
package of Bad Penguin GNU/Linux distribution
|
|
|
|
.RI ( "cd file.bpp#bpp" ).
|
|
|
|
.TP
|
|
|
|
.B deb
|
|
|
|
package of Debian GNU/Linux distribution
|
|
|
|
.RI ( "cd file.deb#deb" ).
|
|
|
|
.TP
|
|
|
|
.B dpkg
|
|
|
|
Debian GNU/Linux installed packages
|
|
|
|
.RI ( "cd #deb" ).
|
|
|
|
.TP
|
|
|
|
.B hp48
|
|
|
|
view and copy files to/from a HP48 calculator
|
|
|
|
.RI ( "cd #hp48" ).
|
|
|
|
.TP
|
|
|
|
.B lslR
|
|
|
|
browsing of lslR listings as found on many FTPs
|
|
|
|
.RI ( "cd filename#lslR" ).
|
|
|
|
.TP
|
|
|
|
.B mailfs
|
|
|
|
mbox-style mailbox files support
|
|
|
|
.RI ( "cd mailbox#mailfs" ).
|
|
|
|
.TP
|
|
|
|
.B patchfs
|
|
|
|
extfs to handle unified and context diffs
|
|
|
|
.RI ( "cd filename#patchfs" ).
|
|
|
|
.TP
|
|
|
|
.B rpm
|
|
|
|
RPM package
|
|
|
|
.RI ( "cd filename#rpm" ).
|
|
|
|
.TP
|
|
|
|
.B rpms
|
|
|
|
RPM database management
|
|
|
|
.RI ( "cd #rpms" ).
|
|
|
|
.TP
|
|
|
|
.B ulha, urar, uzip, uzoo, uar, uha
|
|
|
|
archivers
|
|
|
|
.RI ( "cd archive#xxxx"
|
|
|
|
where xxxx is one of:
|
|
|
|
.IR ulha ,
|
|
|
|
.IR urar ,
|
|
|
|
.IR uzip ,
|
|
|
|
.IR uzoo ,
|
|
|
|
.IR uar ,
|
|
|
|
.IR uha ).
|
|
|
|
.PP
|
|
|
|
You could bind file type/extension to specified extfs as described in the
|
|
|
|
.\"LINK2"
|
|
|
|
Extension File Edit
|
|
|
|
.\"Extension File Edit"
|
|
|
|
section. Here is an example entry for Debian packages:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
regex/\.deb$
|
|
|
|
Open=%cd %p#deb
|
|
|
|
.fi
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Colors"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "Colors"
|
1998-02-27 07:54:42 +03:00
|
|
|
The Midnight Commander will try to detect if your terminal supports
|
|
|
|
color using the terminal database and your terminal name. Sometimes
|
|
|
|
it gets confused, so you may force color mode or disable color mode
|
2002-08-21 01:17:30 +04:00
|
|
|
using the -c and -b flag respectively.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
If the program is compiled with the Slang screen manager instead of
|
2002-08-21 01:17:30 +04:00
|
|
|
ncurses, it will also check the variable
|
1998-02-27 07:54:42 +03:00
|
|
|
.B COLORTERM,
|
|
|
|
if it is set, it has the same effect as the -c flag.
|
|
|
|
.PP
|
|
|
|
You may specify terminals that always force color mode
|
2002-08-21 01:17:30 +04:00
|
|
|
by adding the
|
1998-02-27 07:54:42 +03:00
|
|
|
.I color_terminals
|
2002-10-18 03:54:58 +04:00
|
|
|
variable to the Colors section of the initialization file. This will
|
|
|
|
prevent the Midnight Commander from trying to detect if your terminal
|
|
|
|
supports color. Example:
|
|
|
|
.PP
|
1998-02-27 07:54:42 +03:00
|
|
|
.nf
|
|
|
|
[Colors]
|
|
|
|
color_terminals=linux,xterm
|
|
|
|
color_terminals=terminal-name1,terminal-name2...
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
The program can be compiled with both ncurses and slang, ncurses does
|
|
|
|
not provide a way to force color mode: ncurses uses just the
|
|
|
|
information in the terminal database.
|
|
|
|
.PP
|
|
|
|
The Midnight Commander provides a way to change the default colors.
|
|
|
|
Currently the colors are configured using the environment variable
|
2002-08-21 01:17:30 +04:00
|
|
|
.B MC_COLOR_TABLE
|
1998-02-27 07:54:42 +03:00
|
|
|
or the Colors section in the initialization file.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
In the Colors section, the default color map is loaded from the
|
|
|
|
.I base_color
|
1998-02-27 07:54:42 +03:00
|
|
|
variable. You can specify an alternate color map for a terminal by
|
|
|
|
using the terminal name as the key in this section. Example:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
[Colors]
|
|
|
|
base_color=
|
|
|
|
xterm=menu=magenta:marked=,magenta:markselect=,red
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
The format for the color definition is:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
<keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
|
|
|
|
.fi
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The colors are optional, and the keywords are: normal, selected, marked,
|
|
|
|
markselect, errors, input, reverse, gauge. Menu colors are: menu,
|
|
|
|
menusel, menuhot, menuhotsel. Dialog colors are: dnormal, dfocus,
|
|
|
|
dhotnormal, dhotfocus. Help colors are: helpnormal, helpitalic,
|
|
|
|
helpbold, helplink, helpslink. Viewer color is: viewunderline. Special
|
2002-10-18 00:26:40 +04:00
|
|
|
highlighting colors are: executable, directory, link, stalelink, device,
|
|
|
|
special, core. Editor colors are: editnormal, editbold, editmarked.
|
1998-12-29 19:52:49 +03:00
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
.I input
|
1998-12-29 19:52:49 +03:00
|
|
|
determines the color of input lines used in query dialogs.
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
.I gauge
|
2003-01-31 22:58:17 +03:00
|
|
|
determines the color of the filled part of the progress bar (gauge),
|
|
|
|
which is used to show the user the progress of file operations, such as
|
|
|
|
copying.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The dialog boxes use the following colors:
|
2002-08-21 01:17:30 +04:00
|
|
|
.I dnormal
|
1998-02-27 07:54:42 +03:00
|
|
|
is used for the normal text,
|
|
|
|
.I dfocus
|
|
|
|
is the color used for the currently selected component,
|
|
|
|
.I dhotnormal
|
|
|
|
is the color used to differentiate the hotkey color in normal
|
|
|
|
components, whereas the
|
|
|
|
.I dhotfocus
|
|
|
|
color is used for the highlighted color in the currently selected
|
|
|
|
component.
|
|
|
|
.PP
|
|
|
|
Menus use the same scheme but uses the menu, menusel, menuhot and
|
|
|
|
menuhotsel tags instead.
|
|
|
|
.PP
|
|
|
|
Help uses the following colors:
|
|
|
|
.I helpnormal
|
|
|
|
is used for normal text,
|
|
|
|
.I helpitalic
|
|
|
|
is used for text which is emphasized in italic in the manual page,
|
|
|
|
.I helpbold
|
|
|
|
is used for text which is emphasized in bold in the manual page,
|
|
|
|
.I helplink
|
|
|
|
is used for not selected hyperlinks and
|
|
|
|
.I helpslink
|
|
|
|
is used for selected hyperlink.
|
|
|
|
.PP
|
2003-01-31 22:58:17 +03:00
|
|
|
Special highlight colors determine how files are displayed when file
|
|
|
|
highlighting is enabled (see the section on
|
1998-12-29 19:52:49 +03:00
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
Layout\&).
|
2002-08-21 01:17:30 +04:00
|
|
|
.\"Layout"
|
1998-02-27 07:54:42 +03:00
|
|
|
.I directory
|
2002-08-21 01:17:30 +04:00
|
|
|
is used for directories or symbolic links to directories;
|
1998-03-04 17:39:17 +03:00
|
|
|
.I executable
|
|
|
|
for executable files;
|
1998-12-29 19:52:49 +03:00
|
|
|
.I link
|
2002-10-14 02:44:22 +04:00
|
|
|
is used for symbolic links which are neither stale nor linked
|
2002-08-21 01:17:30 +04:00
|
|
|
to a directory;
|
2002-10-14 02:44:22 +04:00
|
|
|
.I stalelink
|
|
|
|
is used for stale symbolic links;
|
1998-12-29 19:52:49 +03:00
|
|
|
.I device
|
2002-08-21 01:17:30 +04:00
|
|
|
- character and block devices;
|
1998-02-27 07:54:42 +03:00
|
|
|
.I special
|
2002-08-21 01:17:30 +04:00
|
|
|
is used for special files, such as pipes and sockets;
|
1998-03-04 17:39:17 +03:00
|
|
|
.I core
|
1998-12-29 19:52:49 +03:00
|
|
|
is for core files.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The possible colors are: black, gray, red, brightred, green,
|
|
|
|
brightgreen, brown, yellow, blue, brightblue, magenta, brightmagenta,
|
1998-10-30 04:32:15 +03:00
|
|
|
cyan, brightcyan, lightgray and white. And there is a special keyword
|
|
|
|
for transparent background. It is 'default'. The 'default' can only be
|
|
|
|
used for background color. Example:
|
2002-10-18 03:54:58 +04:00
|
|
|
.PP
|
1998-10-30 04:32:15 +03:00
|
|
|
.nf
|
|
|
|
[Colors]
|
|
|
|
base_color=normal=white,default:marked=magenta,default
|
|
|
|
.fi
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Special Settings"
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH "Special Settings"
|
|
|
|
Most of the settings of the Midnight Commander can be changed from the
|
|
|
|
menus. However, there are a small number of settings which can only be
|
|
|
|
changed by editing the setup file.
|
|
|
|
.PP
|
|
|
|
These variables may be set in your ~/.mc/ini file:
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I clear_before_exec
|
1998-02-27 07:54:42 +03:00
|
|
|
By default the Midnight Commander clears the screen before executing a
|
2003-01-31 22:58:17 +03:00
|
|
|
command. If you would prefer to see the output of the command at the
|
2002-02-20 14:07:59 +03:00
|
|
|
bottom of the screen, edit your ~/.mc/ini file and change the value of
|
1998-02-27 07:54:42 +03:00
|
|
|
the field clear_before_exec to 0.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I confirm_view_dir
|
2003-01-31 22:58:17 +03:00
|
|
|
If you press F3 on a directory, normally MC enters that directory. If
|
|
|
|
this flag is set to 1, then MC will ask for confirmation before changing
|
|
|
|
the directory if you have files tagged.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I ftpfs_retry_seconds
|
1998-02-27 07:54:42 +03:00
|
|
|
This value is the number of seconds the Midnight Commander will wait
|
2003-01-31 22:58:17 +03:00
|
|
|
before attempting to reconnect to an FTP server that has denied the
|
|
|
|
login. If the value is zero, the login will no be retried.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I max_dirt_limit
|
2001-09-03 22:01:45 +04:00
|
|
|
Specifies how many screen updates can be skipped at most in the internal
|
|
|
|
file viewer. Normally this value is not significant, because the code
|
2003-01-31 22:58:17 +03:00
|
|
|
automatically adjusts the number of updates to skip according to the
|
|
|
|
rate of incoming keystrokes. However, on very slow machines or
|
|
|
|
terminals with a fast keyboard auto repeat, a big value can make screen
|
|
|
|
updates too jumpy.
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
It seems that setting max_dirt_limit to 10 causes the best behavior,
|
|
|
|
and that is the default value.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I mouse_move_pages
|
1998-02-27 07:54:42 +03:00
|
|
|
Controls whenever scrolling with the mouse is done by pages or line by
|
|
|
|
line on the panels.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
2002-09-29 21:36:25 +04:00
|
|
|
.I mouse_move_pages_viewer
|
1998-02-27 07:54:42 +03:00
|
|
|
Controls if scrolling with the mouse is done by pages or line by line
|
|
|
|
on the internal file viewer.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I old_esc_mode
|
|
|
|
By default the Midnight Commander treats the ESC key as a key prefix
|
2003-01-31 22:58:17 +03:00
|
|
|
(old_esc_mode=0). If this option is set (old_esc_mode=1), the ESC key
|
|
|
|
will act as a prefix key for one second, and if no extra keys have
|
|
|
|
arrived, then the ESC key is interpreted as a cancel key (ESC ESC).
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I only_leading_plus_minus
|
2002-09-25 16:21:31 +04:00
|
|
|
Allow special treatment for '+', '-', '*' in the command line (select,
|
|
|
|
unselect, reverse selection) only if the command line is empty. You
|
|
|
|
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.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.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.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.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
|
|
|
|
one is set, you will get a fresh shell. Otherwise, pressing any key
|
|
|
|
will bring you back to the Midnight Commander.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I torben_fj_mode
|
|
|
|
If this flag is set, then the home and end keys will work slightly
|
|
|
|
different on the panels, instead of moving the selection to the first
|
|
|
|
and last files in the panels, they will act as follows:
|
|
|
|
.IP
|
2003-01-31 22:58:17 +03:00
|
|
|
The home key will: Go up to the middle line, if below it; else go to the
|
|
|
|
top line unless it is already on the top line, in this case it will go
|
|
|
|
to the first file in the panel.
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
2003-01-31 22:58:17 +03:00
|
|
|
The end key has a similar behavior: Go down to the middle line, if over
|
|
|
|
it; else go to the bottom line unless you already are at the bottom
|
|
|
|
line, in such case it will move the selection to the last file name in
|
|
|
|
the panel.
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I use_file_to_guess_type
|
|
|
|
If this variable is on (the default) it will spawn the file command to
|
|
|
|
match the file types listed on the
|
|
|
|
.\"LINK2"
|
2002-10-25 02:11:00 +04:00
|
|
|
mc.ext file\&.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Extension File Edit"
|
2002-10-30 06:06:02 +03:00
|
|
|
.TP
|
1998-02-27 07:54:42 +03:00
|
|
|
.I xterm_mode
|
2003-01-31 22:58:17 +03:00
|
|
|
If this variable is on (default is off) when you browse the file system
|
|
|
|
on a Tree panel, it will automatically reload the other panel with the
|
|
|
|
contents of the selected directory.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "Terminal databases"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "Terminal databases"
|
1998-02-27 07:54:42 +03:00
|
|
|
The Midnight Commander provides a way to fix your system terminal
|
|
|
|
database without requiring root privileges. The Midnight Commander
|
|
|
|
searches in the system initialization file (the mc.lib file located in
|
2003-01-31 22:58:17 +03:00
|
|
|
the Midnight Commander library directory) and in the ~/.mc/ini file for
|
|
|
|
the section "terminal:your-terminal-name" and then for the section
|
|
|
|
"terminal:general", each line of the section contains a key symbol that
|
|
|
|
you want to define, followed by an equal sign and the definition for the
|
|
|
|
key. You can use the special \\e form to represent the escape character
|
|
|
|
and the ^x to represent the control-x character.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
The possible key symbols are:
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
f0 to f20 Function keys f0-f20
|
2002-10-09 17:46:22 +04:00
|
|
|
bs backspace
|
1998-02-27 07:54:42 +03:00
|
|
|
home home key
|
|
|
|
end end key
|
|
|
|
up up arrow key
|
|
|
|
down down arrow key
|
|
|
|
left left arrow key
|
|
|
|
right right arrow key
|
|
|
|
pgdn page down key
|
|
|
|
pgup page up key
|
|
|
|
insert the insert character
|
|
|
|
delete the delete character
|
|
|
|
complete to do completion
|
|
|
|
.fi
|
|
|
|
.PP
|
|
|
|
For example, to define the key insert to be the Escape + [ + O + p, you
|
|
|
|
set this in the ini file:
|
|
|
|
.PP
|
|
|
|
.nf
|
2001-08-16 05:38:33 +04:00
|
|
|
insert=\\e[Op
|
1998-02-27 07:54:42 +03:00
|
|
|
.fi
|
|
|
|
.PP
|
2002-08-21 01:17:30 +04:00
|
|
|
The
|
1998-02-27 07:54:42 +03:00
|
|
|
.I complete
|
2003-01-31 22:58:17 +03:00
|
|
|
key symbol represents the escape sequences used to invoke the completion
|
2005-02-26 19:38:59 +03:00
|
|
|
process, this is invoked with Alt-tab, but you can define other keys to do
|
2003-01-31 22:58:17 +03:00
|
|
|
the same work (on those keyboard with tons of nice and unused keys
|
|
|
|
everywhere).
|
1998-02-27 07:54:42 +03:00
|
|
|
.SH ""
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "FILES"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "FILES"
|
2003-10-08 09:39:16 +04:00
|
|
|
Full paths below may vary between installations. They are also affected
|
|
|
|
by the MC_DATADIR environment variable. If it's set, its value is used
|
2003-10-08 09:45:47 +04:00
|
|
|
instead of @prefix@/share/mc in the paths below.
|
1998-09-26 00:00:42 +04:00
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I @prefix@/share/mc/mc.hlp
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
The help file for the program.
|
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I @prefix@/share/mc/mc.ext
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
The default system-wide extensions file.
|
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I ~/.mc/bindings
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
User's own extension, view configuration and edit configuration
|
|
|
|
file. They override the contents of the system wide files if present.
|
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I @prefix@/share/mc/mc.ini
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
The default system-wide setup for the Midnight Commander, used only if
|
2001-07-24 01:42:45 +04:00
|
|
|
the user doesn't have his own ~/.mc/ini file.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I @prefix@/share/mc/mc.lib
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
2001-07-24 01:42:45 +04:00
|
|
|
Global settings for the Midnight Commander. Settings in this file
|
2002-02-27 11:33:09 +03:00
|
|
|
affect all users, whether they have ~/.mc/ini or not. Currently, only
|
2001-07-24 01:42:45 +04:00
|
|
|
.\"LINK2"
|
|
|
|
terminal settings
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"Terminal databases"
|
2001-07-24 01:42:45 +04:00
|
|
|
are loaded from mc.lib.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I ~/.mc/ini
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
User's own setup. If this file is present then the setup is loaded
|
|
|
|
from here instead of the system-wide startup file.
|
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I @prefix@/share/mc/mc.hint
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
2003-10-08 09:39:16 +04:00
|
|
|
This file contains the hints displayed by the program.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I @prefix@/share/mc/mc.menu
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
This file contains the default system-wide applications menu.
|
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I ~/.mc/menu
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
2003-01-31 22:58:17 +03:00
|
|
|
User's own application menu. If this file is present it is used instead
|
|
|
|
of the system-wide applications menu.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I ~/.mc/Tree
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
|
|
|
The directory list for the directory tree and tree view features.
|
|
|
|
.PP
|
2002-10-18 00:36:58 +04:00
|
|
|
.I ./.mc.menu
|
1998-02-27 07:54:42 +03:00
|
|
|
.IP
|
2003-01-31 22:58:17 +03:00
|
|
|
Local user-defined menu. If this file is present, it is used instead of
|
|
|
|
the home or system-wide applications menu.
|
1998-02-27 07:54:42 +03:00
|
|
|
.\"SKIP_SECTION"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "LICENSE"
|
1998-02-27 07:54:42 +03:00
|
|
|
This program is distributed under the terms of the GNU General Public
|
|
|
|
License as published by the Free Software Foundation. See the built-in
|
|
|
|
help for details on the License and the lack of warranty.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "AVAILABILITY"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "AVAILABILITY"
|
2002-08-21 01:17:30 +04:00
|
|
|
The latest version of this program can be found at
|
2003-01-19 20:10:58 +03:00
|
|
|
ftp://ftp.ibiblio.org/pub/Linux/utils/file/managers/mc/.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "SEE ALSO"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "SEE ALSO"
|
1998-02-27 07:54:42 +03:00
|
|
|
ed(1), gpm(1), mcserv(8), terminfo(1), view(1), sh(1), bash(1),
|
|
|
|
tcsh(1), zsh(1).
|
|
|
|
.PP
|
|
|
|
.nf
|
|
|
|
The Midnight Commander page on the World Wide Web:
|
2002-10-23 09:25:20 +04:00
|
|
|
http://www.ibiblio.org/mc/
|
1998-02-27 07:54:42 +03:00
|
|
|
.fi
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "AUTHORS"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "AUTHORS"
|
2003-02-27 23:56:00 +03:00
|
|
|
Authors and contributors are listed in the AUTHORS file in the source
|
|
|
|
distribution.
|
2002-10-18 00:26:40 +04:00
|
|
|
.\"NODE "BUGS"
|
2001-07-24 19:18:29 +04:00
|
|
|
.SH "BUGS"
|
2003-01-31 22:58:17 +03:00
|
|
|
See the file TODO in the distribution for information on what remains to
|
|
|
|
be done.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
If you want to report a problem with the program, please send mail to
|
2001-05-18 20:28:22 +04:00
|
|
|
this address: mc-devel@gnome.org.
|
1998-02-27 07:54:42 +03:00
|
|
|
.PP
|
|
|
|
Provide a detailed description of the bug, the version of the program
|
2003-01-31 22:48:37 +03:00
|
|
|
you are running
|
|
|
|
.RI ( "mc -V"
|
|
|
|
displays this information), the operating system you are running the
|
|
|
|
program on. If the program crashes, we would appreciate a stack trace.
|