Manual pages: mcmcdiffmceditmcview

root/man/mc.html

/* [previous][next][first][last][top][bottom][index][help]  */
<!DOCTYPE html>
<html>
<!-- This is an automatically generated file.  Do not edit.
   -*- mode: troff; coding: UTF-8 -*-
  TOPICS "Topics:"
 -->
<head>
  <meta charset="utf-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <link rel="stylesheet" href="mandoc.css" type="text/css" media="all"/>
  <title>MC(1)</title>
</head>
<body>
<table class="head">
  <tr>
    <td class="head-ltitle">MC(1)</td>
    <td class="head-vol">GNU Midnight Commander</td>
    <td class="head-rtitle">MC(1)</td>
  </tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp">mc - Visual shell for Unix-like systems.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><b>mc</b> [-abcCdfhPstuUVx] [-l log] [dir1 [dir2]] [-e [file] ...]
    [-v file]</p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">GNU Midnight Commander is a directory browser/file manager for
    Unix-like operating systems.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="OPTIONS"><a class="permalink" href="#OPTIONS">OPTIONS</a></h1>
<dl class="Bl-tag">
  <dt id="a,"><a class="permalink" href="#a,"><i>-a, --stickchars</i></a></dt>
  <dd>Disable usage of graphic characters for line drawing.</dd>
  <dt id="b,"><a class="permalink" href="#b,"><i>-b, --nocolor</i></a></dt>
  <dd>Force black and white display.</dd>
  <dt id="c,"><a class="permalink" href="#c,"><i>-c, --color</i></a></dt>
  <dd>Force color mode, please check the section Colors for more
    information.</dd>
  <dt id="C"><a class="permalink" href="#C"><i>-C arg, --colors=arg</i></a></dt>
  <dd>Specify a different color set in the command line. The format of arg is
      documented in the Colors section.</dd>
  <dt id="configure"><a class="permalink" href="#configure"><i>--configure-options</i></a></dt>
  <dd>Display configure options.</dd>
  <dt id="d,"><a class="permalink" href="#d,"><i>-d, --nomouse</i></a></dt>
  <dd>Disable mouse support.</dd>
  <dt id="e"><a class="permalink" href="#e"><i>-e [file],
    --edit[=file]</i></a></dt>
  <dd>Start the internal editor. If the file is specified, open it on startup.
      See also <b>mcedit (1)</b>.</dd>
  <dt id="f,"><a class="permalink" href="#f,"><i>-f, --datadir</i></a></dt>
  <dd>Display the compiled-in search paths for Midnight Commander files.</dd>
  <dt id="F,"><a class="permalink" href="#F,"><i>-F, --datadir-info</i></a></dt>
  <dd>Display extended info about compiled-in paths for Midnight Commander.</dd>
  <dt id="g,"><a class="permalink" href="#g,"><i>-g, --oldmouse</i></a></dt>
  <dd>Force a &quot;normal tracking&quot; mouse mode. Used when running on
      xterm-capable terminals (tmux/screen).</dd>
  <dt id="k,"><a class="permalink" href="#k,"><i>-k, --resetsoft</i></a></dt>
  <dd>Reset softkeys to their default from the termcap/terminfo database. Only
      useful on HP terminals when the function keys don't work.</dd>
  <dt id="K"><a class="permalink" href="#K"><i>-K file,
    --keymap=file</i></a></dt>
  <dd>Specify a name of keymap file in the command line.</dd>
  <dt id="l"><a class="permalink" href="#l"><i>-l file,
    --ftplog=file</i></a></dt>
  <dd>Save the ftpfs dialog with the server in file.</dd>
  <dt id="nokeymap"><a class="permalink" href="#nokeymap"><i>--nokeymap</i></a></dt>
  <dd>Don't load key bindings from any file, use default hardcoded keys.</dd>
  <dt id="P"><a class="permalink" href="#P"><i>-P file,
    --printwd=file</i></a></dt>
  <dd>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 Midnight Commander was in. Source the file
      <b>@pkglibexecdir@/mc.sh</b> (bash and zsh users) or
      <b>/__w/mc/mc/install-prefix/libexec/mc.csh</b> (tcsh users) respectively
      to define <b>mc</b> as an alias to the appropriate shell script.</dd>
  <dt id="s,"><a class="permalink" href="#s,"><i>-s, --slow</i></a></dt>
  <dd>Turn on the slow terminal mode, in this mode the program will not draw
      expensive line drawing characters and will toggle verbose mode off.</dd>
  <dt id="S"><a class="permalink" href="#S"><i>-S arg, --skin=arg</i></a></dt>
  <dd>Specify a name of skin in the command line. Technology of skins is
      documented in the Skins section.</dd>
  <dt id="t,"><a class="permalink" href="#t,"><i>-t, --termcap</i></a></dt>
  <dd>Used only if the code was compiled with S-Lang and terminfo: it makes
      Midnight Commander use the value of the <b>TERMCAP</b> variable for the
      terminal information instead of the information on the system wide
      terminal database</dd>
  <dt id="u,"><a class="permalink" href="#u,"><i>-u, --nosubshell</i></a></dt>
  <dd>Disable use of the concurrent shell (only makes sense if Midnight
      Commander has been built with concurrent shell support).</dd>
  <dt id="U,"><a class="permalink" href="#U,"><i>-U, --subshell</i></a></dt>
  <dd>Enable use of the concurrent shell support (only makes sense if the
      Midnight Commander was built with the subshell support set as an optional
      feature).</dd>
  <dt id="v"><a class="permalink" href="#v"><i>-v file, --view=file</i></a></dt>
  <dd>Start the internal viewer to view the specified file. See also <b>mcview
      (1)</b>.</dd>
  <dt id="V,"><a class="permalink" href="#V,"><i>-V, --version</i></a></dt>
  <dd>Display the version of the program.</dd>
  <dt id="x,"><a class="permalink" href="#x,"><i>-x, --xterm</i></a></dt>
  <dd>Force xterm mode. Used when running on xterm-capable terminals (two screen
      modes, and able to send mouse escape sequences).</dd>
  <dt id="X,"><a class="permalink" href="#X,"><i>-X, --no-x11</i></a></dt>
  <dd>Do not use X11 to get the state of modifiers Alt, Ctrl, Shift</dd>
</dl>
<p class="Pp">If both paths are specified, the first path name is the directory
    to show in the active panel; the second path name is the directory to be
    shown in the other panel.</p>
<p class="Pp">If one path is specified, the path name is the directory to show
    in the active panel; value of &quot;other_dir&quot; from panels.ini is the
    directory to be shown in the passive panel.</p>
<p class="Pp">If no paths are specified, current directory is shown in the
    active panel; value of &quot;other_dir&quot; from panels.ini is the
    directory to be shown in the passive panel.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Overview"><a class="permalink" href="#Overview">Overview</a></h1>
<p class="Pp">The screen of 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 menu bar line. The menu bar line may not be visible, but appears if you
    click the topmost line with the mouse or press the F9 key.</p>
<p class="Pp">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 Directory
    Panels, the Left and Right Menus and the File Menu.</p>
<p class="Pp">You can execute system commands from Midnight Commander by simply
    typing them. Everything you type will appear on the shell command line, and
    when you press Enter, Midnight Commander will execute the command line you
    typed; read the Shell Command Line and Input Line Keys sections to learn
    more about the command line.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Mouse_Support"><a class="permalink" href="#Mouse_Support">Mouse
  Support</a></h1>
<p class="Pp">Midnight Commander comes with mouse support. It is activated
    whenever you are running on an <b>xterm(1)</b> terminal (it even works if
    you take a telnet, ssh or rlogin connection to another machine from the
    xterm) or if you are running on a Linux console and have the <b>gpm</b>
    mouse server running.</p>
<p class="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).</p>
<p class="Pp">Double-clicking on a file will try to execute the command if it is
    an executable program; and if the extension file has a program specified for
    the file's extension, the specified program is executed.</p>
<p class="Pp">Also, it is possible to execute the commands assigned to the
    function key labels by clicking on them.</p>
<p class="Pp">The default auto repeat rate for the mouse buttons is 400
    milliseconds. This may be changed to other values by editing the
    ~/.config/mc/ini file and changing the <i>mouse_repeat_rate</i>
  parameter.</p>
<p class="Pp">If you are running Midnight Commander with the mouse support, you
    can get the default mouse behavior (cutting and pasting text) by holding
    down the Shift key.</p>
</section>
<section class="Sh">
<h1 class="Sh">
</h1>
</section>
<section class="Sh">
<h1 class="Sh" id="Keys"><a class="permalink" href="#Keys">Keys</a></h1>
<p class="Pp">Some commands in Midnight Commander involve the use of the
    <i>Control</i> (sometimes labeled CTRL or CTL) and the <i>Meta</i>
    (sometimes labeled ALT or even Compose) keys. In this manual we will use the
    following abbreviations:</p>
<dl class="Bl-tag">
  <dt id="C~2"><a class="permalink" href="#C~2"><b>C-&lt;chr&gt;</b></a></dt>
  <dd>means hold the Control key while typing the character &lt;chr&gt;. Thus
      C-f would be: hold the Control key and type f.</dd>
  <dt id="Alt"><a class="permalink" href="#Alt"><b>Alt-&lt;chr&gt;</b></a></dt>
  <dd>means hold the Meta or Alt key down while typing &lt;chr&gt;. If there is
      no Meta or Alt key, type <i>Esc</i>, release it, then type the character
      &lt;chr&gt;.</dd>
  <dt id="S~2"><a class="permalink" href="#S~2"><b>S-&lt;chr&gt;</b></a></dt>
  <dd>means hold the Shift key down while typing &lt;chr&gt;.</dd>
</dl>
<p class="Pp">All input lines in Midnight Commander use an approximation to the
    GNU Emacs editor's key bindings (default).</p>
<p class="Pp">You may redefine key bindings. See <i>redefine hotkey
  bindings</i></p>
<p class="Pp">for more info. All other key bindings (described in this manual)
    are relative to default behavior.</p>
<p class="Pp"></p>
<p class="Pp">There are many sections which tell about the keys. The following
    are the most important.</p>
<p class="Pp">The 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.</p>
<p class="Pp">The 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).</p>
<p class="Pp">The 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.</p>
<p class="Pp">Input Line Keys are used for editing input lines. This means both
    the command line and the input lines in the query dialogs.</p>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Redefine_hotkey_bindings"><a class="permalink" href="#Redefine_hotkey_bindings">
  Redefine hotkey bindings</a></h1>
<p class="Pp">Hotkey bindings may be read from external file (keymap-file).
    Initially, Midnight Commander creates key bindings using keymap defined in
    the source code. Then, two files
    <b>/__w/mc/mc/install-prefix/share/mc/mc.keymap</b> and
    <b>/__w/mc/mc/install-prefix/etc/mc/mc.keymap</b> are loaded always,
    sequentially reassigned key bindings defined earlier. User-defined
    keymap-file is searched on the following algorithm (to the first one
  found):</p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>
    <br/>
    1) command line option <b>-K &lt;keymap&gt;</b> or
      <b>--keymap=&lt;keymap&gt;</b>
    <br/>
    2) Environment variable <b>MC_KEYMAP</b>
    <br/>
    3) Parameter <b>keymap</b> in section <b>[Midnight-Commander]</b> of config
      file.
    <br/>
    4) File <b>~/.config/mc/mc.keymap</b>
    <br/>
  </dd>
</dl>
<p class="Pp">Command line option, environment variable and parameter in config
    file may contain the absolute path to the keymap-file (with the extension
    .keymap or without it). Search of keymap-file will occur in (to the first
    one found):</p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>
    <br/>
    1) <b>~/.config/mc</b>
    <br/>
    2) <b>/__w/mc/mc/install-prefix/etc/mc/</b>
    <br/>
    3) <b>/__w/mc/mc/install-prefix/share/mc/</b>
    <p class="Pp"></p>
  </dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Miscellaneous_Keys"><a class="permalink" href="#Miscellaneous_Keys">
  Miscellaneous Keys</a></h1>
<p class="Pp">Here are some keys which don't fall into any of the other
    categories:</p>
<dl class="Bl-tag">
  <dt id="Enter"><a class="permalink" href="#Enter"><b>Enter</b></a></dt>
  <dd>if there is some text in the command line (the one at the bottom of 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 Midnight Commander
      does a <b>chdir(2)</b> 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 extensions file then the corresponding
      command is executed.</dd>
  <dt id="C~3"><a class="permalink" href="#C~3"><b>C-l</b></a></dt>
  <dd>repaint all the information in Midnight Commander.</dd>
  <dt id="C~4"><a class="permalink" href="#C~4"><b>C-x c</b></a></dt>
  <dd>run the Chmod command on a file or on the tagged files.</dd>
  <dt id="C~5"><a class="permalink" href="#C~5"><b>C-x o</b></a></dt>
  <dd>run the Chown command on the current file or on the tagged files.</dd>
  <dt id="C~6"><a class="permalink" href="#C~6"><b>C-x l</b></a></dt>
  <dd>run the hard link command.</dd>
  <dt id="C~7"><a class="permalink" href="#C~7"><b>C-x s</b></a></dt>
  <dd>run the absolute symbolic link command.</dd>
  <dt id="C~8"><a class="permalink" href="#C~8"><b>C-x v</b></a></dt>
  <dd>run the relative symbolic link command. See the File Menu section for more
      information about symbolic links.</dd>
  <dt id="C~9"><a class="permalink" href="#C~9"><b>C-x i</b></a></dt>
  <dd>set the other panel display mode to information.</dd>
  <dt id="C~10"><a class="permalink" href="#C~10"><b>C-x q</b></a></dt>
  <dd>set the other panel display mode to quick view.</dd>
  <dt id="C~11"><a class="permalink" href="#C~11"><b>C-x !</b></a></dt>
  <dd>execute the External panelize command.</dd>
  <dt id="C~12"><a class="permalink" href="#C~12"><b>C-x h</b></a></dt>
  <dd>run the add directory to hotlist command.</dd>
  <dt id="Alt~2"><a class="permalink" href="#Alt~2"><b>Alt-!</b></a></dt>
  <dd>executes the Filtered view command, described in the view command.</dd>
  <dt id="Alt~3"><a class="permalink" href="#Alt~3"><b>Alt-?</b></a></dt>
  <dd>executes the Find file command.</dd>
  <dt id="Alt~4"><a class="permalink" href="#Alt~4"><b>Alt-c</b></a></dt>
  <dd>pops up the quick cd dialog.</dd>
  <dt id="C~13"><a class="permalink" href="#C~13"><b>C-o</b></a></dt>
  <dd>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, Midnight Commander uses an external program
      (cons.saver) to handle saving and restoring of information on the
    screen.</dd>
</dl>
<p class="Pp">When the subshell support is compiled in, you can type C-o at any
    time and you will be taken back to Midnight Commander's 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 Midnight Commander until you terminate the suspended application.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Directory_Panels"><a class="permalink" href="#Directory_Panels">
  Directory Panels</a></h1>
<p class="Pp">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 Left and Right Menus.</p>
<dl class="Bl-tag">
  <dt id="Tab,"><a class="permalink" href="#Tab,"><b>Tab, C-i</b></a></dt>
  <dd>change the current panel. The old other panel becomes the new current
      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.</dd>
  <dt id="Insert,"><a class="permalink" href="#Insert,"><b>Insert,
    C-t</b></a></dt>
  <dd>to tag files you may use the Insert key (the kich1 terminfo sequence). To
      untag files, just retag a tagged file.</dd>
  <dt id="Alt~5"><a class="permalink" href="#Alt~5"><b>Alt-e</b></a></dt>
  <dd>to change charset of panel you may use Alt-e (M-e). Recoding is made from
      selected codepage into system codepage. To cancel the recoding, select
      &quot;No translation&quot; in the dialog of encodings.</dd>
  <dt id="Alt~6"><a class="permalink" href="#Alt~6"><b>Alt-g, Alt-r,
    Alt-j</b></a></dt>
  <dd>used to select the top file in a panel, the middle file and the bottom
      one, respectively.</dd>
  <dt id="Alt~7"><a class="permalink" href="#Alt~7"><b>Alt-t</b></a></dt>
  <dd>toggle the current display listing to show the next display listing
      format. With this it is possible to quickly switch to brief listing, long
      listing, user defined listing format, and back to the default.</dd>
  <dt id="C~14"><a class="permalink" href="#C~14"><b>C-\
    (control-backslash)</b></a></dt>
  <dd>show the directory hotlist and change to the selected directory.</dd>
  <dt><b>+ &#x00A0;(plus)</b></dt>
  <dd>this is used to select (tag) a group of files. Midnight Commander will
      prompt for a selection options. When <i>Files only</i> checkbox is on,
      only files will be selected. If <i>Files only</i> is off, as files as
      directories will be selected. When <i>Shell Patterns</i> checkbox is on,
      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</i> is off, then the tagging of files is done with
      normal regular expressions (see ed (1)). When <i>Case sensitive</i>
      checkbox is on, the selection will be case sensitive characters. If
      <i>Case sensitive</i> is off, the case will be ignored.</dd>
  <dt><b>\ (backslash)</b></dt>
  <dd>use the &quot;\&quot; key to unselect a group of files. This is the
      opposite of the Plus key.</dd>
  <dt id="up"><a class="permalink" href="#up"><b>up-key, C-p</b></a></dt>
  <dd>move the selection bar to the previous entry in the panel.</dd>
  <dt id="down"><a class="permalink" href="#down"><b>down-key, C-n</b></a></dt>
  <dd>move the selection bar to the next entry in the panel.</dd>
  <dt id="home,"><a class="permalink" href="#home,"><b>home, a1,
    Alt-&lt;</b></a></dt>
  <dd>move the selection bar to the first entry in the panel.</dd>
  <dt id="end,"><a class="permalink" href="#end,"><b>end, c1,
    Alt-&gt;</b></a></dt>
  <dd>move the selection bar to the last entry in the panel.</dd>
  <dt id="next"><a class="permalink" href="#next"><b>next-page, C-v</b></a></dt>
  <dd>move the selection bar one page down.</dd>
  <dt id="prev"><a class="permalink" href="#prev"><b>prev-page,
    Alt-v</b></a></dt>
  <dd>move the selection bar one page up.</dd>
  <dt id="Alt~8"><a class="permalink" href="#Alt~8"><b>Alt-o</b></a></dt>
  <dd>If the currently selected file is a directory, load that directory on the
      other panel and moves the selection to the next file. If the currently
      selected file is not a directory, load the parent directory on the other
      panel and moves the selection to the next file.</dd>
  <dt id="Alt~9"><a class="permalink" href="#Alt~9"><b>Alt-i</b></a></dt>
  <dd>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.</dd>
  <dt id="C~15"><a class="permalink" href="#C~15"><b>C-PageUp,
    C-PageDown</b></a></dt>
  <dd>only when supported by the terminal: change to &quot;..&quot; and to the
      currently selected directory respectively.</dd>
  <dt id="Alt~10"><a class="permalink" href="#Alt~10"><b>Alt-y</b></a></dt>
  <dd>moves to the previous directory in the history, equivalent to clicking the
      <i>&lt;</i> with the mouse.</dd>
  <dt id="Alt~11"><a class="permalink" href="#Alt~11"><b>Alt-u</b></a></dt>
  <dd>moves to the next directory in the history, equivalent to clicking the
      <i>&gt;</i> with the mouse.</dd>
  <dt id="Alt~12"><a class="permalink" href="#Alt~12"><b>Alt-S-h,
    Alt-H</b></a></dt>
  <dd>displays the directory history, equivalent to depressing the 'v' with the
      mouse.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Quick_search"><a class="permalink" href="#Quick_search">
  Quick search</a></h1>
<p class="Pp">The Quick search mode allows you to perform fast file search in
    file panel. Press <i>C-s</i> or <i>Alt-s</i> to start a filename search in
    the directory listing.</p>
<p class="Pp">When the search is active, the user input will be added to the
    search string instead of the command line. If the <i>Show mini-status</i>
    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 <i>Backspace</i> or <i>DEL</i> keys can be used to correct
    typing mistakes. If C-s is pressed again, the next match is searched
  for.</p>
<p class="Pp">If quick search is started with double pressing of C-s, the
    previous quick search pattern will be used for current search.</p>
<p class="Pp">Besides the filename characters, you can also use wildcard
    characters '*' and '?'.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Shell_Command_Line"><a class="permalink" href="#Shell_Command_Line">
  Shell Command Line</a></h1>
<p class="Pp">This section lists keys which are useful to avoid excessive typing
    when entering shell commands.</p>
<dl class="Bl-tag">
  <dt id="Alt~13"><a class="permalink" href="#Alt~13"><b>Alt-Enter</b></a></dt>
  <dd>copy the currently selected file name to the command line.</dd>
  <dt id="C~16"><a class="permalink" href="#C~16"><b>C-Enter</b></a></dt>
  <dd>same a Alt-Enter. May not work on remote systems and some terminals.</dd>
  <dt id="C~17"><a class="permalink" href="#C~17"><b>C-S-Enter</b></a></dt>
  <dd>copy the full path name of the currently selected file to the command
      line. May not work on remote systems and some terminals.</dd>
  <dt id="Alt~14"><a class="permalink" href="#Alt~14"><b>Alt-Tab</b></a></dt>
  <dd>does the filename, command, variable, username and hostname completion for
      you.</dd>
  <dt id="C~18"><a class="permalink" href="#C~18"><b>C-x t, C-x C-t</b></a></dt>
  <dd>copy the tagged files (or if there are no tagged files, the selected file)
      of the current panel (C-x t) or of the other panel (C-x C-t) to the
      command line.</dd>
  <dt id="C~19"><a class="permalink" href="#C~19"><b>C-x p, C-x C-p</b></a></dt>
  <dd>the first key sequence copies the current path name to the command line,
      and the second one copies the unselected panel's path name to the command
      line.</dd>
  <dt id="C~20"><a class="permalink" href="#C~20"><b>C-q</b></a></dt>
  <dd>the quote command can be used to insert characters that are otherwise
      interpreted by Midnight Commander (like the '+' symbol)</dd>
  <dt id="Alt~15"><a class="permalink" href="#Alt~15"><b>Alt-p,
    Alt-n</b></a></dt>
  <dd>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.</dd>
  <dt id="Alt~16"><a class="permalink" href="#Alt~16"><b>Alt-h</b></a></dt>
  <dd>displays the history for the current input line.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="General_Movement_Keys"><a class="permalink" href="#General_Movement_Keys">
  General Movement Keys</a></h1>
<p class="Pp">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.</p>
<p class="Pp">Other parts of Midnight Commander use some of the same movement
    keys, so this section may be of use for those parts too.</p>
<dl class="Bl-tag">
  <dt id="Up,"><a class="permalink" href="#Up,"><b>Up, C-p</b></a></dt>
  <dd>moves one line backward.</dd>
  <dt id="Down,"><a class="permalink" href="#Down,"><b>Down, C-n</b></a></dt>
  <dd>moves one line forward.</dd>
  <dt id="Prev"><a class="permalink" href="#Prev"><b>Prev Page, Page Up,
    Alt-v</b></a></dt>
  <dd>moves one page up.</dd>
  <dt id="Next"><a class="permalink" href="#Next"><b>Next Page, Page Down,
    C-v</b></a></dt>
  <dd>moves one page down.</dd>
  <dt id="Home,"><a class="permalink" href="#Home,"><b>Home, A1</b></a></dt>
  <dd>moves to the beginning.</dd>
  <dt id="End,"><a class="permalink" href="#End,"><b>End, C1</b></a></dt>
  <dd>move to the end.</dd>
</dl>
<p class="Pp">The help viewer and the file viewer accept the following keys in
    addition the to ones mentioned above:</p>
<dl class="Bl-tag">
  <dt id="b,~2"><a class="permalink" href="#b,~2"><b>b, C-b, C-h, Backspace,
    Delete</b></a></dt>
  <dd>moves one page up.</dd>
  <dt id="Space"><a class="permalink" href="#Space"><b>Space bar</b></a></dt>
  <dd>moves one page down.</dd>
  <dt id="u,~2"><a class="permalink" href="#u,~2"><b>u, d</b></a></dt>
  <dd>moves one half of a page up or down.</dd>
  <dt id="g,~2"><a class="permalink" href="#g,~2"><b>g, G</b></a></dt>
  <dd>moves to the beginning or to the end.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Input_Line_Keys"><a class="permalink" href="#Input_Line_Keys">
  Input Line Keys</a></h1>
<p class="Pp">The input lines (they are used for the command line and for the
    query dialogs in the program) accept these keys:</p>
<dl class="Bl-tag">
  <dt id="C~21"><a class="permalink" href="#C~21"><b>C-a</b></a></dt>
  <dd>puts the cursor at the beginning of line.</dd>
  <dt id="C~22"><a class="permalink" href="#C~22"><b>C-e</b></a></dt>
  <dd>puts the cursor at the end of the line.</dd>
  <dt id="C~23"><a class="permalink" href="#C~23"><b>C-b, move-left</b></a></dt>
  <dd>move the cursor one position left.</dd>
  <dt id="C~24"><a class="permalink" href="#C~24"><b>C-f,
    move-right</b></a></dt>
  <dd>move the cursor one position right.</dd>
  <dt id="Alt~17"><a class="permalink" href="#Alt~17"><b>Alt-f</b></a></dt>
  <dd>moves one word forward.</dd>
  <dt id="Alt~18"><a class="permalink" href="#Alt~18"><b>Alt-b</b></a></dt>
  <dd>moves one word backward.</dd>
  <dt id="C~25"><a class="permalink" href="#C~25"><b>C-h, Backspace</b></a></dt>
  <dd>delete the previous character.</dd>
  <dt id="C~26"><a class="permalink" href="#C~26"><b>C-d, Delete</b></a></dt>
  <dd>delete the character in the point (over the cursor).</dd>
  <dt id="C~27"><a class="permalink" href="#C~27"><b>C-@</b></a></dt>
  <dd>sets the mark for cutting.</dd>
  <dt id="C~28"><a class="permalink" href="#C~28"><b>C-w</b></a></dt>
  <dd>copies the text between the cursor and the mark to a kill buffer and
      removes the text from the input line.</dd>
  <dt id="Alt~19"><a class="permalink" href="#Alt~19"><b>Alt-w</b></a></dt>
  <dd>copies the text between the cursor and the mark to a kill buffer.</dd>
  <dt id="C~29"><a class="permalink" href="#C~29"><b>C-y</b></a></dt>
  <dd>yanks back the contents of the kill buffer.</dd>
  <dt id="C~30"><a class="permalink" href="#C~30"><b>C-k</b></a></dt>
  <dd>kills the text from the cursor to the end of the line.</dd>
  <dt id="Alt~20"><a class="permalink" href="#Alt~20"><b>Alt-p,
    Alt-n</b></a></dt>
  <dd>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.</dd>
  <dt id="Alt~21"><a class="permalink" href="#Alt~21"><b>Alt-C-h,
    Alt-Backspace</b></a></dt>
  <dd>delete one word backward.</dd>
  <dt id="Alt~22"><a class="permalink" href="#Alt~22"><b>Alt-Tab</b></a></dt>
  <dd>does the filename, command, variable, username and hostname completion for
      you.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh">
</h1>
</section>
<section class="Sh">
<h1 class="Sh" id="Menu_Bar"><a class="permalink" href="#Menu_Bar">Menu
  Bar</a></h1>
<p class="Pp">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: &quot;Left&quot;,
    &quot;File&quot;, &quot;Command&quot;, &quot;Options&quot; and
    &quot;Right&quot;.</p>
<p class="Pp">The Left and Right Menus allow you to modify the appearance of the
    left and right directory panels.</p>
<p class="Pp">The File Menu lists the actions you can perform on the currently
    selected file or the tagged files.</p>
<p class="Pp">The Command Menu lists the actions which are more general and bear
    no relation to the currently selected file or the tagged files.</p>
<p class="Pp">The Options Menu lists the actions which allow you to customize
    Midnight Commander.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Left_and_Right_(Above_and_Below)_Menus"><a class="permalink" href="#Left_and_Right_(Above_and_Below)_Menus">
  Left and Right (Above and Below) Menus</a></h1>
<p class="Pp">The outlook of the directory panels can be changed from the
    <b>Left</b> and <b>Right</b> menus (they are named <b>Above</b> and
    <b>Below</b> when the horizontal panel split is chosen from the Layout
    options dialog).</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Listing_Format..."><a class="permalink" href="#Listing_Format...">
  Listing Format...</a></h1>
<p class="Pp">The listing mode view is used to display a listing of files, there
    are four different listing formats available: <b>Full</b>, <b>Brief</b>,
    <b>Long</b> and <b>User</b>. The full directory view shows the file name,
    the size of the file and the modification time.</p>
<p class="Pp">The brief view shows only the file name and it has from 1 up to 9
    columns (therefore showing more files unlike other views). The long view is
    similar to the output of <b>ls -l</b> command. The long view takes the whole
    screen width.</p>
<p class="Pp">If you choose the &quot;User&quot; display format, then you have
    to specify the display format.</p>
<p class="Pp">The user display format must start with a panel size specifier.
    This may be &quot;half&quot; or &quot;full&quot;, and they specify a half
    screen panel and a full screen panel respectively.</p>
<p class="Pp">After the panel size, you may specify how many listings to fit in
    the panel, side-by-side (in other words: how many times to repeat the fields
    horizontally). This defaults to 1. You may change this by adding a number
    from 1 to 9 to the format string.</p>
<p class="Pp">After this you add the name of the fields with an optional size
    specifier. This are the available fields you may display:</p>
<dl class="Bl-tag">
  <dt id="name"><a class="permalink" href="#name"><b>name</b></a></dt>
  <dd>displays the file name.</dd>
  <dt id="size"><a class="permalink" href="#size"><b>size</b></a></dt>
  <dd>displays the file size.</dd>
  <dt id="bsize"><a class="permalink" href="#bsize"><b>bsize</b></a></dt>
  <dd>is an alternative form of the <b>size</b> format. It displays the size of
      the files and for directories it just shows SUB-DIR or UP--DIR.</dd>
  <dt id="type"><a class="permalink" href="#type"><b>type</b></a></dt>
  <dd>displays a one character wide type field. This character is similar to
      what is displayed by ls with the -F flag - <b>*</b> for executable files,
      <b>/</b> for directories, <b>@</b> for links, <b>=</b> for sockets,
      <b>-</b> for character devices, <b>+</b> for block devices, <b>|</b> for
      pipes, <b>~</b> for symbolic links to directories and <b>!</b> for stale
      symlinks (links that point nowhere).</dd>
  <dt id="mark"><a class="permalink" href="#mark"><b>mark</b></a></dt>
  <dd>an asterisk if the file is tagged, a space if it's not.</dd>
  <dt id="mtime"><a class="permalink" href="#mtime"><b>mtime</b></a></dt>
  <dd>file's last modification time.</dd>
  <dt id="atime"><a class="permalink" href="#atime"><b>atime</b></a></dt>
  <dd>file's last access time.</dd>
  <dt id="ctime"><a class="permalink" href="#ctime"><b>ctime</b></a></dt>
  <dd>file's status change time.</dd>
  <dt id="perm"><a class="permalink" href="#perm"><b>perm</b></a></dt>
  <dd>a string representing the current permission bits of the file.</dd>
  <dt id="mode"><a class="permalink" href="#mode"><b>mode</b></a></dt>
  <dd>an octal value with the current permission bits of the file.</dd>
  <dt id="nlink"><a class="permalink" href="#nlink"><b>nlink</b></a></dt>
  <dd>the number of links to the file.</dd>
  <dt id="ngid"><a class="permalink" href="#ngid"><b>ngid</b></a></dt>
  <dd>the GID (numeric).</dd>
  <dt id="nuid"><a class="permalink" href="#nuid"><b>nuid</b></a></dt>
  <dd>the UID (numeric).</dd>
  <dt id="owner"><a class="permalink" href="#owner"><b>owner</b></a></dt>
  <dd>the owner of the file.</dd>
  <dt id="group"><a class="permalink" href="#group"><b>group</b></a></dt>
  <dd>the group of the file.</dd>
  <dt id="inode"><a class="permalink" href="#inode"><b>inode</b></a></dt>
  <dd>the inode of the file.</dd>
</dl>
<p class="Pp">Also you can use following keywords to define the panel
  layout:</p>
<dl class="Bl-tag">
  <dt id="space"><a class="permalink" href="#space"><b>space</b></a></dt>
  <dd>a space in the display format.</dd>
  <dt><b>|</b></dt>
  <dd>add a vertical line to the display format.</dd>
</dl>
<p class="Pp">To force one field to a fixed size (a size specifier), you just
    add <b>:</b> followed by the number of characters you want the field to
    have. If the number is followed by the symbol <b>+</b>, 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.</p>
<p class="Pp">For example, the <b>Full</b> display corresponds to this
  format:</p>
<p class="Pp">half type name | size | mtime</p>
<p class="Pp">And the <b>Long</b> display corresponds to this format:</p>
<p class="Pp">full perm space nlink space owner space group space size space
    mtime space name</p>
<p class="Pp">This is a nice user display format:</p>
<p class="Pp">half name | size:7 | type mode:3</p>
<p class="Pp">Panels may also be set to the following modes:</p>
<dl class="Bl-tag">
  <dt id="Info"><a class="permalink" href="#Info"><b>Info</b></a></dt>
  <dd>The info view display information related to the currently selected file
      and if possible information about the current file system.</dd>
  <dt id="Tree"><a class="permalink" href="#Tree"><b>Tree</b></a></dt>
  <dd>The tree view is quite similar to the directory tree feature. See the
      section about it for more information.</dd>
  <dt id="Quick"><a class="permalink" href="#Quick"><b>Quick View</b></a></dt>
  <dd>In this mode, the panel will switch to a reduced 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.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Sort_Order..."><a class="permalink" href="#Sort_Order...">
  Sort Order...</a></h1>
<p class="Pp">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.</p>
<p class="Pp">By default directories are sorted before files but this can be
    changed from the Panel options menu (option <b>Mix all files</b>).</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Filter..."><a class="permalink" href="#Filter...">
  Filter...</a></h1>
<p class="Pp">The filter command allows you to specify a shell pattern (for
    example <b>*.tar.gz</b>) which the files and directories must match to be
    shown. The input line allow enter the pattern of file/directory names that
    will be shown in the panel.</p>
<p class="Pp">When <i>Files only</i> checkbox is on, only files will be matched
    to the filter, and all directories will be shown. Otherwise, as files as
    directories will be filtered. When <i>Shell Patterns</i> checkbox is on, the
    regular expression is much like the filename globbing in the shell (*
    standing for zero or more characters and ? standing for one character).
    Otherwise, the matching of files/directories is done with normal regular
    expressions (see ed(1)). When <i>Case sensitive</i> checkbox is on, the
    filtering will be case sensitive characters. Otherwise, the case will be
    ignored.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Reread"><a class="permalink" href="#Reread"> Reread</a></h1>
<p class="Pp">The reread command reload the list of files in the directory. It
    is useful if other processes have created or removed files.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="File_Menu"><a class="permalink" href="#File_Menu"> File
  Menu</a></h1>
<p class="Pp">Midnight Commander uses the F1 - F10 keys as keyboard shortcuts
    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
    pressing the Esc key and then a number in the range 1 through 9 and 0
    (corresponding to F1 to F9 and F10 respectively).</p>
<p class="Pp">The File menu has the following commands (keyboard shortcuts in
    parentheses):</p>
<p class="Pp"><b>Help (F1)</b></p>
<p class="Pp">Invokes the built-in hypertext help viewer. Inside the help
    viewer, 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.</p>
<p class="Pp"><b>Menu (F2)</b></p>
<p class="Pp">Invoke the user menu. The user menu provides an easy way to
    provide users with a menu and add extra features to Midnight Commander.</p>
<p class="Pp"><b>View (F3, F13)</b></p>
<p class="Pp">View the currently selected file. By default this invokes the
    Internal File Viewer but if the option &quot;Use internal view&quot; is off,
    it invokes an external file viewer specified by the <b>VIEWER</b>
    environment variable. If <b>VIEWER</b> is undefined, the <b>PAGER</b>
    environment variable is tried. If <b>PAGER</b> is also undefined, the
    &quot;view&quot; command is invoked. If you use F13 instead, the viewer will
    be invoked without doing any formatting or preprocessing to the file.</p>
<p class="Pp">See parameters for external viewer for explain how you may specify
    an extended command line options for external viewers.</p>
<p class="Pp"><b>Filtered View (Alt-!)</b></p>
<p class="Pp">This command prompts for a command and its arguments (the argument
    defaults to the currently selected file name), the output from such command
    is shown in the internal file viewer.</p>
<p class="Pp"><b>Edit (F4, F14)</b></p>
<p class="Pp">Press F4 to edit the highlighted file. Press F14 (usually F14) to
    start the editor with a new, empty file. Currently they invoke the <b>vi</b>
    editor, or the editor specified in the <b>EDITOR</b> environment variable,
    or the Internal File Editor if the use_internal_edit option is on.</p>
<p class="Pp">See parameters for external editor for explain how you may specify
    an extended command line options for external editors.</p>
<p class="Pp"><b>Copy (F5, F15)</b></p>
<p class="Pp">Press F5 to pop up an input dialog to copy the currently selected
    file (or the tagged files, if there is at least one file tagged) to the
    directory/filename you specify in the input dialog. The destination defaults
    to the directory in the non-selected panel. Space for destination file may
    be preallocated relative to preallocate_space configure option. 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 see Mask
    copy/rename.</p>
<p class="Pp">F15 (usually F15) is similar, but defaults to the directory in the
    selected panel. It always operates on the selected file, regardless of any
    tagged files.</p>
<p class="Pp">On some systems, it is possible to do the copy in the background
    by clicking on the background button (or pressing Alt-b in the dialog box).
    The Background Jobs is used to control the background process.</p>
<p class="Pp"><b>Link (C-x l)</b></p>
<p class="Pp">Create a hard link to the current file.</p>
<p class="Pp"><b>Absolute symlink (C-x s)</b></p>
<p class="Pp">Create a absolute symbolic link to the current file.</p>
<p class="Pp"><b>Relative symLink (C-x v)</b></p>
<p class="Pp">Create a relative symbolic link to the current file.</p>
<p class="Pp">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.</p>
<p class="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.</p>
<p class="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. Midnight Commander
    shows an &quot;@&quot;-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</i> option is enabled. Use symbolic links when you want
    to avoid the confusion that can be caused by hard links.</p>
<p class="Pp">When you press &quot;C-x s&quot; Midnight Commander will
    automatically fill in the complete path+filename of the original file and
    suggest a name for the link. You can change either one.</p>
<p class="Pp">Sometimes you may want to change the absolute path of the original
    into a relative path. An absolute path starts from the root directory:</p>
<p class="Pp"><i>/home/frodo/mc/mc -&gt; /home/frodo/new/mc</i></p>
<p class="Pp">A relative link describes the original file's location starting
    from the location of the link itself:</p>
<p class="Pp"><i>/home/frodo/mc/mc -&gt; ../new/mc</i></p>
<p class="Pp">You can force Midnight Commander to suggest a relative path by
    pressing &quot;C-x v&quot; instead of &quot;C-x s&quot;.</p>
<p class="Pp"><b>Rename/Move (F6, F16)</b></p>
<p class="Pp">Press F6 to pop up an input dialog to copy the currently selected
    file (or the tagged files, if there is at least one file tagged) to the
    directory/filename you specify in the input dialog. The destination defaults
    to the directory in the non-selected panel. For more details look at Copy
    (F5) operation above, most of the things are quite similar.</p>
<p class="Pp">F16 (usually F16) is similar, but defaults to the directory in the
    selected panel. It always operates on the selected file, regardless of any
    tagged files.</p>
<p class="Pp">On some systems, it is possible to do the copy in the background
    by clicking on the background button (or pressing Alt-b in the dialog box).
    The Background Jobs is used to control the background process.</p>
<p class="Pp"><b>Mkdir (F7)</b></p>
<p class="Pp">Pop up an input dialog and creates the directory specified.</p>
<p class="Pp"><b>Delete (F8)</b></p>
<p class="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.</p>
<p class="Pp"><b>Quick cd (Alt-c)</b> Use the quick cd command if you have full
    command line and want to cd somewhere.</p>
<p class="Pp"><b>Select group (+)</b></p>
<p class="Pp">This is used to select (tag) a group of files. Midnight Commander
    will prompt for a selection options. When <i>Files only</i> checkbox is on,
    only files will be selected. If <i>Files only</i> is off, as files as
    directories will be selected. When <i>Shell Patterns</i> checkbox is on, 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</i> is off, then the tagging of files is done with normal
    regular expressions (see ed (1)). When <i>Case sensitive</i> checkbox is on,
    the selection will be case sensitive characters. If <i>Case sensitive</i> is
    off, the case will be ignored.</p>
<p class="Pp"><b>Unselect group (\)</b></p>
<p class="Pp">Used to unselect a group of files. This is the opposite of the
    <i>Select group</i> command.</p>
<p class="Pp"><b>Quit (F10, S-F10)</b></p>
<p class="Pp">Terminate Midnight Commander. S-F10 is used when you want to quit
    and you are using the shell wrapper. S-F10 will not take you to the last
    directory you visited with Midnight Commander, instead it will stay at the
    directory where you started Midnight Commander.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Quick_cd"><a class="permalink" href="#Quick_cd"> Quick
  cd</a></h1>
<p class="Pp">This command is useful if you have a full command line and want to
    cd 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
    <b>cd</b> on the command line and then you press enter. This features all
    the things that are already in the internal cd command.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Command_Menu"><a class="permalink" href="#Command_Menu">
  Command Menu</a></h1>
<p class="Pp">The Directory tree command shows a tree figure of the
  directories.</p>
<p class="Pp">The &quot;Find file&quot; command allows you to search for a
    specific file.</p>
<p class="Pp">The &quot;Swap panels&quot; command swaps the contents of the two
    directory panels.</p>
<p class="Pp">The &quot;Switch panels on/off&quot; command shows the output of
    the last shell command. This works only on xterm and on Linux and FreeBSD
    console.</p>
<p class="Pp">The &quot;Compare directories&quot; 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 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.</p>
<p class="Pp">The &quot;External panelize&quot; allows you to execute an
    external program, and make the output of that program the contents of the
    current panel.</p>
<p class="Pp">The &quot;Command history&quot; command shows a list of typed
    commands. The selected command is copied to the command line. The command
    history can also be accessed by typing Alt-p or Alt-n.</p>
<p class="Pp">The &quot;Directory hotlist&quot; command makes changing of the
    current directory to often used directories faster.</p>
<p class="Pp">The &quot;Screen list&quot; command shows a dialog window with the
    list of currently running internal editors, viewers and other MC modules
    that support this mode.</p>
<p class="Pp">The &quot;Edit extension file&quot; 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).</p>
<p class="Pp">The &quot;Edit Menu File&quot; command may be used for editing the
    user menu (which appears by pressing F2).</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Directory_Tree"><a class="permalink" href="#Directory_Tree">
  Directory Tree</a></h1>
<p class="Pp">The Directory Tree command shows a tree figure of the directories.
    You can select a directory from the figure and Midnight Commander will
    change to that directory.</p>
<p class="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.</p>
<p class="Pp">To get rid of long delays, 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).</p>
<p class="Pp">You can use the following keys:</p>
<dl class="Bl-tag">
  <dt id="General"><a class="permalink" href="#General">General movement
    keys</a></dt>
  <dd>are accepted.</dd>
  <dt id="Enter."><a class="permalink" href="#Enter."><b>Enter.</b></a></dt>
  <dd>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.</dd>
  <dt id="C~31"><a class="permalink" href="#C~31"><b>C-r, F2
    (Rescan).</b></a></dt>
  <dd>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.</dd>
  <dt id="F3"><a class="permalink" href="#F3"><b>F3 (Forget).</b></a></dt>
  <dd>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 press
      F2 in its parent directory.</dd>
  <dt><b>F4 (Static/Dynamic).</b></dt>
  <dd>Toggle between the dynamic navigation mode (default) and the static
      navigation mode.</dd>
</dl>
<p class="Pp">In the static navigation mode you can use the Up and Down keys to
    select a directory. All known directories are shown.</p>
<p class="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.</p>
<dl class="Bl-tag">
  <dt><b>F5 (Copy).</b></dt>
  <dd>Copy the directory.</dd>
  <dt id="F6"><a class="permalink" href="#F6"><b>F6 (RenMov).</b></a></dt>
  <dd>Move the directory.</dd>
  <dt><b>F7 (Mkdir).</b></dt>
  <dd>Make a new directory below this directory.</dd>
  <dt><b>F8 (Delete).</b></dt>
  <dd>Delete this directory from the file system.</dd>
  <dt id="C~32"><a class="permalink" href="#C~32"><b>C-s, Alt-s.</b></a></dt>
  <dd>Search the next directory matching the search string. If there is no such
      directory these keys will move one line down.</dd>
  <dt id="C~33"><a class="permalink" href="#C~33"><b>C-h,
    Backspace.</b></a></dt>
  <dd>Delete the last character of the search string.</dd>
  <dt id="Any"><a class="permalink" href="#Any"><b>Any other
    character.</b></a></dt>
  <dd>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.</dd>
</dl>
<p class="Pp">The following actions are available only in the directory tree.
    They aren't supported in the tree view.</p>
<dl class="Bl-tag">
  <dt><b>F1 (Help).</b></dt>
  <dd>Invoke the help viewer and show this section.</dd>
  <dt id="Esc,"><a class="permalink" href="#Esc,"><b>Esc, F10.</b></a></dt>
  <dd>Exit the directory tree. Do not change the directory.</dd>
</dl>
<p class="Pp">The mouse is supported. A double-click behaves like Enter. See
    also the section on mouse support.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Find_File"><a class="permalink" href="#Find_File"> Find
  File</a></h1>
<p class="Pp">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 directory tree figure.</p>
<p class="Pp">The &quot;File name&quot; input field contains a filename pattern
    to be searched for. It is interpreted as a shell pattern or as a regular
    expression depending on the state of the &quot;Using shell patterns&quot;
    checkbox. An empty value is valid and matches any file name.</p>
<p class="Pp">The &quot;Content&quot; input field contains a string to search
    for within the files. Leave this field empty to disable searching file
    contents.</p>
<p class="Pp">Option &quot;Whole words&quot; allows select only those files
    containing matches that form whole words. Like grep -w.</p>
<p class="Pp">You can start the search by pressing the OK button. During the
    search you can stop from the Stop button and continue from the Start
  button.</p>
<p class="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). To return to the
    normal file listing, change directory to &quot;..&quot;.</p>
<p class="Pp">The 'Enable ignore directories' checkbox and input field below it
    allow one to set up the list of directories that should be skip during the
    search files (for example, you may want to avoid searches on a CD-ROM or on
    a NFS directory that is mounted across a slow link). List components must be
    separated with a colon, here is an example:</p>
<p class="Pp"></p>
<pre>/cdrom:/nfs/wuarchive:/afs</pre>
<p class="Pp">Relative paths are supported also. The following example shows how
    to skip special directories of version control systems:</p>
<pre>/cdrom:/nfs/wuarchive:/afs:.svn:.git:CVS</pre>
<p class="Pp">Attention: input field can contain a dot (.), this means the
    current absolute path.</p>
<p class="Pp">You may consider using the External panelize command for some
    operations. Find file command is for simple queries only, while using
    External panelize you can do as mysterious searches as you would like.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="External_panelize"><a class="permalink" href="#External_panelize">
  External panelize</a></h1>
<p class="Pp">The External panelize allows you to execute an external program,
    and make the output of that program the contents of the current panel.</p>
<p class="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:</p>
<p class="Pp"></p>
<pre>find . -type l -print</pre>
<p class="Pp">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.</p>
<p class="Pp">If you want to panelize all of the files that have been downloaded
    from your FTP server, you can use this awk command to extract the file name
    from the transfer log files:</p>
<p class="Pp"></p>
<pre>awk '$9 ~! /incoming/ { print $9 }' &lt; /var/log/xferlog</pre>
<p class="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.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Hotlist"><a class="permalink" href="#Hotlist">
  Hotlist</a></h1>
<p class="Pp">The Directory hotlist command shows the labels of the directories
    in the directory hotlist. 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.</p>
<p class="Pp">This makes cd to often used directories faster. You may consider
    using the CDPATH variable as described in internal cd command
  description.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Edit_Extension_File"><a class="permalink" href="#Edit_Extension_File">
  Edit Extension File</a></h1>
<p class="Pp">This will invoke your editor on the file
    <i>~/.config/mc/mc.ext.ini</i>. If this file does not exist and you are not
    root, it will be copied from
    <i>/__w/mc/mc/install-prefix/etc/mc/mc.ext.ini</i>. If you are root, you can
    choose the file to edit: user's <i>~/.config/mc/mc.ext.ini</i> or
    system-wide <i>/__w/mc/mc/install-prefix/etc/mc/mc.ext.ini</i>. The format
    of this file is described in detail in it.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Background_Jobs"><a class="permalink" href="#Background_Jobs">
  Background Jobs</a></h1>
<p class="Pp">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 here.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Edit_Menu_File"><a class="permalink" href="#Edit_Menu_File">
  Edit Menu File</a></h1>
<p class="Pp">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. If no such file found, ~/.config/mc/menu is
    tried in the same way, and otherwise mc uses the default system-wide menu
    /__w/mc/mc/install-prefix/share/mc/mc.menu.</p>
<p class="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.</p>
<p class="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 macro substitution.</p>
<p class="Pp">Here is a sample mc.menu file:</p>
<p class="Pp"></p>
<pre>A  Dump the currently selected file
        od -c %f
B       Edit a bug report and send it to root
        I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
        vi $I
        mail -s &quot;Midnight Commander bug&quot; root &lt; $I
        rm -f $I
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 &amp;&amp; tar xvpf -)
K       Make a release of the current subdirectory
        echo -n &quot;Name of distribution file: &quot;
        read tar
        ln -s %d `dirname %d`/$tar
        cd ..
        tar cvhf ${tar}.tar $tar
= f *.tar.gz | f *.tgz &amp; t n
X       Extract the contents of a compressed tar file
        tar xzvf %f</pre>
<p class="Pp"><b>Default Conditions</b></p>
<p class="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.</p>
<p class="Pp"></p>
<pre>Condition syntax:  = &lt;sub-cond&gt;
<br/>
  or:                   = &lt;sub-cond&gt; | &lt;sub-cond&gt; ...
<br/>
  or:                   = &lt;sub-cond&gt; &amp; &lt;sub-cond&gt; ...
Sub-condition is one of following:
<br/>
  y &lt;pattern&gt;             syntax of current file matching pattern?
                        (for edit menu only)
<br/>
  f &lt;pattern&gt;             current file matching pattern?
<br/>
  F &lt;pattern&gt;             other file matching pattern?
<br/>
  d &lt;pattern&gt;             current directory matching pattern?
<br/>
  D &lt;pattern&gt;             other directory matching pattern?
<br/>
  t &lt;type&gt;                current file of type?
<br/>
  T &lt;type&gt;                other file of type?
<br/>
  x &lt;filename&gt;            is it executable filename?
<br/>
  ! &lt;sub-cond&gt;            negate the result of sub-condition</pre>
<p class="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 &quot;shell_patterns=x&quot; on the
    first line of the menu file (where &quot;x&quot; is either 0 or 1).</p>
<p class="Pp">Type is one or more of the following characters:</p>
<p class="Pp"></p>
<pre>
<br/>
  n     not a directory
<br/>
  r     regular file
<br/>
  d     directory
<br/>
  l     link
<br/>
  c     character device
<br/>
  b     block device
<br/>
  f     FIFO (pipe)
<br/>
  s     socket
<br/>
  x     executable file
<br/>
  t     tagged</pre>
<p class="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.</p>
<p class="Pp">If the condition starts with '=?' instead of '=' a debug trace
    will be shown whenever the value of the condition is calculated.</p>
<p class="Pp">The conditions are calculated from left to right. This means</p>
<pre>   = f *.tar.gz | f *.tgz &amp; t n</pre>
is calculated as
<pre>   ( (f *.tar.gz) | (f *.tgz) ) &amp; (t n)</pre>
<p class="Pp">Here is a sample of the use of conditions:</p>
<p class="Pp"></p>
<pre>= f *.tar.gz | f *.tgz &amp; t n
L       List the contents of a compressed tar-archive
        gzip -cd %f | tar xvf -</pre>
<p class="Pp"><b>Addition Conditions</b></p>
<p class="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.</p>
<p class="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 '='.</p>
<p class="Pp">Comments are started with '#'. The additional comment lines must
    start with '#', space or tab.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Options_Menu"><a class="permalink" href="#Options_Menu">
  Options Menu</a></h1>
<p class="Pp">Midnight Commander has some options that may be toggled on and off
    in several dialogs which are accessible from this menu. Options are enabled
    if they have an asterisk or &quot;x&quot; in front of them.</p>
<p class="Pp">The Configuration command pops up a dialog from which you can
    change most of settings of Midnight Commander.</p>
<p class="Pp">The Layout command pops up a dialog from which you specify a bunch
    of options how mc looks like on the screen.</p>
<p class="Pp">The Panel options command pops up a dialog from which you specify
    options of file manager panels.</p>
<p class="Pp">The Confirmation command pops up a dialog from which you specify
    which actions you want to confirm.</p>
<p class="Pp">The Appearance command pops up a dialog from which you specify the
    skin.</p>
<p class="Pp">The Display bits command pops up a dialog from which you may
    select which characters is your terminal able to display.</p>
<p class="Pp">The 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.</p>
<p class="Pp">The Virtual FS command pops up a dialog from which you specify
    some VFS related options.</p>
<p class="Pp">The Save setup command saves the current settings of the Left,
    Right and Options menus. A small number of other settings is saved, too.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Configuration"><a class="permalink" href="#Configuration">
  Configuration</a></h1>
<p class="Pp">The options in this dialog are divided into several groups:
    &quot;File operation options&quot;, &quot;Esc key mode&quot;, &quot;Pause
    after run&quot; and &quot;Other options&quot;.</p>
<p class="Pp"><b>File operation options</b></p>
<p class="Pp"><i>Verbose operation.</i> 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.</p>
<p class="Pp"><i>Compute totals.</i> If this option is enabled, 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 of some speed. This option has no
    effect, if <i>Verbose operation</i> is disabled.</p>
<p class="Pp"><i>Classic progressbar.</i> If this option is enabled, the
    progressbar of Copy/Move/Delete operations is always grown form left to
    right. If disabled, the growing direction of progressbar follows to
    direction of Copy/Move/Delete operation: from left panel to right one and
    vice versa. Enabled by default.</p>
<p class="Pp"><i>Mkdir autoname.</i> When you press F7 to create a new
    directory, the input line in popup dialog will be filled by name of current
    file or directory in active panel. Disabled by default.</p>
<p class="Pp"><i>Preallocate space.</i> Preallocate space for whole target file,
    if possible, before copy operation. Disabled by default.</p>
<p class="Pp"><b>Esc key mode.</b></p>
<p class="Pp">By default, Midnight Commander treats the Esc key as a key prefix.
    Therefore, you should press Esc code twice to exit a dialog. But there is a
    possibility to use a single press of Esc key for that action.</p>
<p class="Pp"><i>Single press.</i> By default this option is disabled. If you'll
    enable it, the Esc key will act as a prefix key for set up time interval
    (see <i>Timeout</i> option below), and if no extra keys have arrived, then
    the Esc key is interpreted as a cancel key (Esc Esc).</p>
<p class="Pp"><i>Timeout.</i> This options is used to setup the time interval
    (in microseconds) for single press of Esc key. By default, this interval is
    one second (1000000 microseconds). Also the timeout can be set via
    KEYBOARD_KEY_TIMEOUT_US environment variable (also in microseconds), which
    has higher priority than Timeout option value.</p>
<p class="Pp"><b>Pause after run</b></p>
<p class="Pp">After executing your commands, Midnight Commander can pause, so
    that you can examine the output of the command. There are three possible
    settings for this variable:</p>
<p class="Pp"><i>Never.</i> Means that you do not want to see the output of your
    command. If you 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.</p>
<p class="Pp"><i>On dumb terminals.</i> 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).</p>
<p class="Pp"><i>Always.</i> The program will pause after executing all of your
    commands.</p>
<p class="Pp"><b>Other options</b></p>
<p class="Pp"><i>Use internal editor.</i> 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</b> environment variable is used. If no
    editor is specified, <b>vi</b> is used. See the section on the internal file
    editor.</p>
<p class="Pp"><i>Use internal viewer.</i> 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</b> environment variable is used. If no
    pager is specified, the <b>view</b> command is used. See the section on the
    internal file viewer.</p>
<p class="Pp"><i>Ask new file name.</i> If this option is enabled, file name is
    asked before open new file in editor.</p>
<p class="Pp"><i>Auto menus.</i> If this option is enabled, the user menu will
    be invoked at startup. Useful for building menus for non-unixers.</p>
<p class="Pp"><i>Drop down menus.</i> When this option is enabled, the pull down
    menus will be activated as soon as you press the F9 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. It is recommended if you are using
    hotkeys.</p>
<p class="Pp"><i>Shell Patterns.</i> 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).</p>
<p class="Pp"><i>Complete: show all.</i> By default, Midnight Commander pops up
    all possible completions if the completion is ambiguous only when you press
    <b>Alt-Tab</b> 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 <b>Alt-Tab</b>
    the first time.</p>
<p class="Pp"><i>Rotating dash.</i> If this option is enabled, the Midnight
    Commander shows a rotating dash in the upper right corner as a work in
    progress indicator.</p>
<p class="Pp"><i>Cd follows links.</i> This option, if set, causes 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, 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.</p>
<p class="Pp"><i>Safe delete.</i> If this option is enabled, deleting files and
    directory hotlist entries unintentionally becomes more difficult. The
    default selection in the confirmation dialogs for deletion changes from
    <b>Yes</b> to <b>No</b>. This option is disabled by default.</p>
<p class="Pp"><i>Safe overwrite.</i> If this option is enabled, overwriting
    files unintentionally becomes more difficult. The default selection in the
    overwrite confirmation dialog changes from <b>Yes</b> to <b>No</b>. This
    option is disabled by default.</p>
<p class="Pp"><i>Auto save setup.</i> If this option is enabled, when you exit
    Midnight Commander, the configurable options of Midnight Commander are saved
    in the ~/.config/mc/ini file.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Layout"><a class="permalink" href="#Layout"> Layout</a></h1>
<p class="Pp">The layout dialog gives you a possibility to change the general
    layout of screen. The options in this dialog are divided into several
    groups: &quot;Panel split&quot;, &quot;Console output&quot; and &quot;Other
    options&quot;.</p>
<p class="Pp"><b>Panel split</b></p>
<p class="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 <i>Vertical</i>
    or <i>Horizontal</i> direction. Panel layout can be changed using Alt-,
    (Alt-comma) shortcut.</p>
<p class="Pp"><i>Equal split.</i> By default, panels have equal sizes. Using
    this option you can specify an unequal split.</p>
<p class="Pp"><b>Console output</b></p>
<p class="Pp">On the Linux or FreeBSD console you can specify how many lines are
    shown in the output window. This option is available if Midnight Commander
    runs on native console only.</p>
<p class="Pp"><b>Other options</b></p>
<p class="Pp"><i>Menu bar visible.</i> If enabled, main menu of Midnight
    Commander is always visible on the top row of screen above panels. Enabled
    by default.</p>
<p class="Pp"><i>Command prompt.</i> If enabled, command line is available.
    Enabled by default.</p>
<p class="Pp"><i>Keybar visible.</i> If enabled, 10 labels associated with
    F1-F10 keys are located at the bottom row of screen. Enabled by default.</p>
<p class="Pp"><i>Hintbar visible.</i> If enabled, the one-line hints are visible
    below panels. Enabled by default.</p>
<p class="Pp"><i>XTerm window title.</i> 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 this option. Enabled by default.</p>
<p class="Pp"><i>Show free space.</i> If enabled, free space and total space of
    current file system is shown at the bottom frame of panel. Enabled by
    default.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Panel_options"><a class="permalink" href="#Panel_options">
  Panel options</a></h1>
<p class="Pp"><b>Main panel options</b></p>
<p class="Pp"><i>Show mini-status.</i> If enabled, one line of status
    information about the currently selected item is shown at the bottom of the
    panels. Enabled by default.</p>
<p class="Pp"><i>Use SI size units.</i> If this option is enabled, Midnight
    Commander will use SI prefixes (base 10) when displaying any byte sizes. If
    disabled (default), Midnight Commander will use IEC prefixes (base 2).</p>
<p class="Pp"><i>Mix all files.</i> If this option is enabled, all files and
    directories are shown mixed together. If the option is disabled (default),
    directories (and links to directories) are shown at the beginning of the
    listing, and other files below.</p>
<p class="Pp"><i>Show backup files.</i> If enabled, Midnight Commander will show
    files ending with a tilde. Otherwise, they won't be shown (like GNU's ls
    option -B). Enabled by default.</p>
<p class="Pp"><i>Show hidden files.</i> If enabled, Midnight Commander will show
    all files that start with a dot (like ls -a). Disabled by default.</p>
<p class="Pp"><i>Fast directory reload.</i> If this option is enabled, 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). Disabled by default.</p>
<p class="Pp"><i>Mark moves down.</i> If enabled, the selection bar will move
    down when you mark a file (with Insert key). Enabled by default.</p>
<p class="Pp"><i>Reverse files only.</i> Allow revert selection of files only.
    Enabled by default. If enabled, the reverse selection is applied to files
    only, not to directories. The selection of directories is untouched. If off,
    the reverse selection is applied to files as well to directories: all
    unselected items become selected, and vice versa.</p>
<p class="Pp"><i>Simple swap.</i> If both panels contain file listing, simple
    swap means that panels exchange its screen positions: left panel become
    right one, and vice versa. If this option is unchecked, file listing panels
    exchange its content keeping listing format and sort options. Unchecked by
    default.</p>
<p class="Pp"><i>Auto save panels setup.</i> If this option is enabled, when you
    exit Midnight Commander, the current settings of panels are saved in the
    ~/.config/mc/panels.ini file. Disabled by default.</p>
<p class="Pp"><b>Navigation</b></p>
<p class="Pp"><i>Lynx-like motion.</i> If this option is enabled, you may use
    the arrows keys to automatically chdir if the current selection is a
    subdirectory and the shell command line is empty. By default, this setting
    is off.</p>
<p class="Pp"><i>Page scrolling.</i> 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.</p>
<p class="Pp"><i>Center scrolling.</i> If set, panel will scroll when the cursor
    reaches the middle of the panel column, only hitting the top or bottom of
    the panel when actually on the first or last file. This behavior applies
    when scrolling one file at a time, and does not apply to the page up/down
    keys.</p>
<p class="Pp"><i>Mouse page scrolling.</i> Controls whenever scrolling with the
    mouse wheel is done by pages or line by line on the panels.</p>
<p class="Pp"><b>File highlight</b></p>
<p class="Pp">You can specify whether <i>permissions</i> and <i>file types</i>
    should be highlighted with distinctive Colors. If the permission
    highlighting is enabled, the parts of the <i>perm</i> and <i>mode</i>
    display fields which apply to the user running Midnight Commander are
    highlighted with the color defined by the <i>selected</i> keyword. If the
    file type highlighting is enabled, file names are colored according to rules
    described in /__w/mc/mc/install-prefix/etc/mc/filehighlight.ini file. See
    Filenames Highlight for more info.</p>
<p class="Pp"><b>Quick search</b></p>
<p class="Pp">You can specify how the Quick search mode should work: case
    insensitively, case sensitively or be matched to the panel sort order: case
    sensitive or not.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Confirmation"><a class="permalink" href="#Confirmation">
  Confirmation</a></h1>
<p class="Pp">In this dialog you configure the confirmation options for file
    deletion, overwriting files, execution by pressing enter, quitting the
    program, directory hotlist entries deletion and history cleanup.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Appearance"><a class="permalink" href="#Appearance">
  Appearance</a></h1>
<p class="Pp">In this dialog you can select the skin to be used and enable
    shadow for dialogs and drop down menus.</p>
<p class="Pp">See the Skins section for technical details about the skin
    definition files.</p>
<p class="Pp"><i>Shadows.</i> If this option is enabled, all dialogs and drop
    down menus will have a shadow.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Display_bits"><a class="permalink" href="#Display_bits">
  Display bits</a></h1>
<p class="Pp">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.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Learn_keys"><a class="permalink" href="#Learn_keys"> Learn
  keys</a></h1>
<p class="Pp">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.</p>
<p class="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.</p>
<p class="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.</p>
<p class="Pp">If some keys do not work properly then you won't see OK appear
    after pressing one of these. Then you may want to redefine it. Do it by
    pressing 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.</p>
<p class="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 ~/.config/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.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Virtual_FS"><a class="permalink" href="#Virtual_FS"> Virtual
  FS</a></h1>
<p class="Pp">This option gives you control over the settings of the Virtual
    File System.</p>
<p class="Pp">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).</p>
<p class="Pp">Also, in order to access the contents of compressed files (for
    example, compressed tar files), Midnight Commander needs to create temporary
    uncompressed files on your disk.</p>
<p class="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.</p>
<p class="Pp">Because of the format of the tar archives, the <i>Tar
    filesystem</i> 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.</p>
<p class="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 then re-enter it later.
    Since decompression is slow, Midnight Commander will cache the 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.</p>
<p class="Pp">The FTP File System (ftpfs) allows you to browse directories on
    remote FTP servers. It has several options.</p>
<p class="Pp"><i>ftp anonymous password</i> is the password used when you login
    as &quot;anonymous&quot;. 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.</p>
<p class="Pp">ftpfs keeps the directory listing it fetches from a FTP server in
    a cache. The cache expire time is configurable with the <i>ftpfs directory
    cache timeout</i> 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.</p>
<p class="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.</p>
<p class="Pp">If <i>Always use ftp proxy</i> is not set, you can use the
    exclamation sign to enable proxy for certain hosts. See FTP File System for
    examples.</p>
<p class="Pp">If this option is set, the program will do two things: consult the
    /__w/mc/mc/install-prefix/etc/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.</p>
<p class="Pp">You can enable using <i>~/.netrc</i> file, which keeps login names
    and passwords for ftp servers. See netrc (5) for the description of the
    .netrc format.</p>
<p class="Pp"><i>Use passive mode</i> enables using FTP passive mode, when the
    connection for data transfer is initiated by the client, not by the server.
    This option is recommended 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.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Save_Setup"><a class="permalink" href="#Save_Setup"> Save
  Setup</a></h1>
<p class="Pp">At startup, Midnight Commander tries to load initialization
    information from the ~/.config/mc/ini file. If this file doesn't exist, the
    system-wide file <b>/__w/mc/mc/install-prefix/etc/mc/mc.ini</b> is used. If
    this file doesn't exist, the system-wide file
    <b>/__w/mc/mc/install-prefix/share/mc/mc.ini</b> is used. If this file
    doesn't exist, MC uses the default settings.</p>
<p class="Pp">The <i>Save Setup</i> command creates the ~/.config/mc/ini file by
    saving the current settings of the Left, Right and Options menus.</p>
<p class="Pp">If you activate the <i>auto save setup</i> option, MC will always
    save the current settings when exiting.</p>
<p class="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 Special Settings for more information.</p>
</section>
<section class="Sh">
<h1 class="Sh">
</h1>
</section>
<section class="Sh">
<h1 class="Sh" id="Executing_operating_system_commands"><a class="permalink" href="#Executing_operating_system_commands">Executing
  operating system commands</a></h1>
<p class="Pp">You may execute commands by typing them directly in 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.</p>
<p class="Pp">If you press Enter over a file that is not executable, Midnight
    Commander checks the extension of the selected file against the extensions
    in the Extensions File. If a match is found then the code associated with
    that extension is executed. A very simple macro expansion takes place before
    executing the command.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="The_cd_internal_command"><a class="permalink" href="#The_cd_internal_command">
  The cd internal command</a></h1>
<p class="Pp">The <i>cd</i> command is interpreted by 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:</p>
<p class="Pp"><i>Tilde substitution.</i> The (~) will be substituted with your
    home directory, if you append a username after the tilde, then it will be
    substituted with the login directory of the specified user.</p>
<p class="Pp">For example, ~guest is the home directory for the user guest,
    while ~/guest is the directory guest in your home directory.</p>
<p class="Pp"><i>Previous directory.</i> You can jump to the directory you were
    previously by using the special directory name '-' like this: <b>cd
  -</b></p>
<p class="Pp"><i>CDPATH directories.</i> If the directory specified to the
    <b>cd</b> command is not in the current directory, then Midnight Commander
    uses the value in the environment variable <b>CDPATH</b> to search for the
    directory in any of the named directories.</p>
<p class="Pp">For example you could set your <b>CDPATH</b> variable to
    ~/src:/usr/src, allowing you to change your directory to any of the
    directories inside the ~/src and /usr/src directories, from any place in the
    file system by using its relative name (for example cd linux could take you
    to /usr/src/linux).</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Macro_Substitution"><a class="permalink" href="#Macro_Substitution">
  Macro Substitution</a></h1>
<p class="Pp">When accessing a user menu, or executing an extension dependent
    command, or running a command from the command line input, a simple macro
    substitution takes place.</p>
<p class="Pp">The macros are:</p>
<dl class="Bl-tag">
  <dt><i>%i</i></dt>
  <dd>The indent of blank space, equal the cursor column position. For edit menu
      only.</dd>
  <dt><i>%y</i></dt>
  <dd>The syntax type of current file. For edit menu only.</dd>
  <dt><i>%k</i></dt>
  <dd>The block file name.</dd>
  <dt><i>%e</i></dt>
  <dd>The error file name.</dd>
  <dt><i>%m</i></dt>
  <dd>The current menu name.</dd>
  <dt><i>%f</i> and <i>%p</i></dt>
  <dd>In file manager user menu: the current file name in selected panel. In
      mcedit user menu: the name of opened file.</dd>
  <dt><i>%x</i></dt>
  <dd>The extension of current file name.</dd>
  <dt><i>%b</i></dt>
  <dd>The current file name without extension.</dd>
  <dt><i>%d</i></dt>
  <dd>The current directory name.</dd>
  <dt><i>%F</i></dt>
  <dd>The current file in the unselected panel.</dd>
  <dt><i>%D</i></dt>
  <dd>The directory name of the unselected panel.</dd>
  <dt><i>%t</i></dt>
  <dd>The currently tagged files.</dd>
  <dt><i>%T</i></dt>
  <dd>The tagged files in the unselected panel.</dd>
  <dt><i>%u</i> and <i>%U</i></dt>
  <dd>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.</dd>
  <dt><i>%s</i> and <i>%S</i></dt>
  <dd>The selected files: The tagged files if there are any. Otherwise the
      current file.</dd>
  <dt><i>%cd</i></dt>
  <dd>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 Virtual File System.</dd>
  <dt><i>%view</i></dt>
  <dd>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.</dd>
</dl>
<dl class="Bl-tag">
  <dt></dt>
  <dd>The arguments are: <i>ascii</i> to force the viewer into ascii mode;
      <i>hex</i> to force the viewer into hex mode; <i>nroff</i> to tell the
      viewer that it should interpret the bold and underline sequences of nroff;
      <i>unformatted</i> to tell the viewer to not interpret nroff commands for
      making the text bold or underlined.</dd>
</dl>
<dl class="Bl-tag">
  <dt><i>%%</i></dt>
  <dd>The % character</dd>
  <dt><i>%{some text}</i></dt>
  <dd>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.</dd>
  <dt><i>%var{ENV:default}</i></dt>
  <dd>If environment variable <i>ENV</i> is unset, the <i>default</i> is
      substituted. Otherwise, the value of <i>ENV</i> is substituted.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="The_subshell_support"><a class="permalink" href="#The_subshell_support">
  The subshell support</a></h1>
<p class="Pp">The subshell support is a compile time option, that works with the
    shells: bash, ash (BusyBox and Debian), (o/m)ksh, tcsh, zsh and fish.</p>
<p class="Pp">When the subshell support is active, Midnight Commander will spawn
    a concurrent copy of your shell (the one defined in the <b>SHELL</b>
    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 Midnight
    Commander.</p>
<p class="Pp"><b>bash</b> users may specify startup commands in
    ~/.local/share/mc/bashrc (fallback ~/.bashrc) and special keyboard maps in
    ~/.local/share/mc/inputrc (fallback ~/.inputrc).</p>
<p class="Pp"><b>ash/dash</b> users (BusyBox or Debian) may specify startup
    commands in ~/.local/share/mc/ashrc (fallback ~/.profile).</p>
<p class="Pp"><b>ksh/oksh</b> users (PD ksh variants) may specify startup
    commands in ~/.local/share/mc/kshrc (fallback <i>ENV</i> or ~/.profile).</p>
<p class="Pp"><b>mksh</b> users (MirBSD ksh) may specify startup commands in
    ~/.local/share/mc/mkshrc (fallback <i>ENV</i> or ~/.mkshrc).</p>
<p class="Pp"><b>zsh</b> users may specify startup commands in
    ~/.local/share/mc/.zshrc (fallback ~/.zshrc).</p>
<p class="Pp"><b>tcsh, fish</b> users cannot specify mc-specific startup
    commands at present. They have to rely on shell-specific startup files.</p>
<p class="Pp">The following paragraphs are relevant only when the subshell
    support is active:</p>
<p class="Pp">You can suspend applications at any time with the sequence C-o and
    jump back to Midnight Commander, if you interrupt an application, you will
    not be able to run other external commands until you quit the application
    you interrupted.</p>
<p class="Pp">The basic prompt displayed by Midnight Commander is of the form
    &quot;user@host:current_path$ &quot;. When using a capable shell, like Bash,
    the prompt displayed by Midnight Commander will be the same prompt that you
    are currently using in your shell.</p>
<p class="Pp">(There's a known problem when using fish: the prompt is displayed
    only in full screen mode (Ctrl-o), not when the panels are visible.)</p>
<p class="Pp">The OPTIONS section has more information on how you can control
    subshell usage (-U/-u). Furthermore, to set a specific subshell different
    from your current SHELL variable or login shell defined in /etc/passwd, you
    may call MC like this: <b>SHELL=/bin/myshell mc</b></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Chmod"><a class="permalink" href="#Chmod">Chmod</a></h1>
<p class="Pp">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.</p>
<p class="Pp">The Chmod window has two parts - <i>Permissions</i> and
    <i>File</i>.</p>
<p class="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.</p>
<p class="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.</p>
<p class="Pp">To move between the widgets (buttons and check buttons) use the
    <i>arrow keys</i> or the <i>Tab</i> key. To change the state of the check
    buttons or to select a button use <i>Space.</i> You can also use the hotkeys
    on the buttons to quickly activate them. Hotkeys are shown as highlighted
    letters on the buttons.</p>
<p class="Pp">To set the attribute bits, use the Enter key.</p>
<p class="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).</p>
<p class="Pp">Finally, to set the attributes exactly to those specified, you can
    use the <b>[Set all]</b> button, which will act on all the tagged files.</p>
<p class="Pp"><b>[Marked all]</b> set only marked attributes to all selected
    files</p>
<p class="Pp"><b>[Set marked]</b> set marked bits in attributes of all selected
    files</p>
<p class="Pp"><b>[Clean marked]</b> clear marked bits in attributes of all
    selected files</p>
<p class="Pp"><b>[Set]</b> set the attributes of one file</p>
<p class="Pp"><b>[Cancel]</b> cancel the Chmod command</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Chown"><a class="permalink" href="#Chown">Chown</a></h1>
<p class="Pp">The Chown command is used to change the owner/group of a file. The
    hot key for this command is C-x o.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Advanced_Chown"><a class="permalink" href="#Advanced_Chown">Advanced
  Chown</a></h1>
<p class="Pp">The Advanced Chown command is the Chmod and Chown command combined
    into one window. You can change the permissions and owner/group of files at
    once.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Chattr"><a class="permalink" href="#Chattr">Chattr</a></h1>
<p class="Pp">The Chattr window is used to change the attributes of a group of
    files and directories on a Linux file system. It can be invoked with the C-x
    e key combination.</p>
<p class="Pp">Not all attributes are supported or utilized by all filesystems.
    List of available attribute flags is represented as a set of check buttons
    which correspond to the attribute flags (see <b>chattr(1)</b> for details).
    As you change the attribute flags, you can see the symbolic value change
    below file name.</p>
<p class="Pp">To move between the widgets (buttons and check buttons) use the
    <i>arrow keys</i> or the <i>Tab</i> key. To change the state of the check
    buttons or to select a button use <b>Space</b>.</p>
<p class="Pp">To set the attributes, use the Enter key.</p>
<p class="Pp">When working with a group of files or directories, you just click
    on the flags you want to set or clear. Once you have selected the flags you
    want to change, you select one of the action buttons (Set marked or Clear
    marked).</p>
<p class="Pp">Finally, to set the attributes exactly to those specified, you can
    use the <b>[Set all]</b> button, which will act on all the tagged files.</p>
<p class="Pp"><b>[Marked all]</b> set only marked attributes to all selected
    files.</p>
<p class="Pp"><b>[Set marked]</b> set marked flags in attributes of all selected
    files.</p>
<p class="Pp"><b>[Clean marked]</b> clear marked flags in attributes of all
    selected files.</p>
<p class="Pp"><b>[Set]</b> set the attributes of one file.</p>
<p class="Pp"><b>[Cancel]</b> cancel the Chattr command.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="File_Operations"><a class="permalink" href="#File_Operations">File
  Operations</a></h1>
<p class="Pp">When you copy, move or delete files, Midnight Commander shows the
    file operations dialog. It shows the files currently being processed and
    uses up to two progress bars. The file bytes bar indicates the percentage of
    the current file that has been processed so far. The total bytes bar
    indicates the percentage of the total size of the tagged files that has been
    handled. Counters that show how many of the tagged files have been handled
    are displayed. If the <i>Verbose</i> option is off, the file bytes bar and
    total bytes bar are not shown.</p>
<p class="Pp">There are three buttons at the bottom of the dialog:</p>
<dl class="Bl-tag">
  <dt><b>[Skip]</b></dt>
  <dd>button to skip the rest of the current file.</dd>
  <dt><b>[Suspend]</b></dt>
  <dd>button to suspend the file operation and button transforms to the
      <b>[Continue]</b> one which continue the suspended operation.</dd>
  <dt><b>[Abort]</b></dt>
  <dd>button to abort the whole operation, the rest of the files are
    skipped.</dd>
</dl>
<p class="Pp">There are three other dialogs which you can run into during the
    file operations.</p>
<p class="Pp">The error dialog informs about error conditions and has four
    choices:</p>
<dl class="Bl-tag">
  <dt><b>[Ignore]</b></dt>
  <dd>button to ignore this error.</dd>
  <dt><b>[Ignore all]</b></dt>
  <dd>button to ignore this and all future errors.</dd>
  <dt><b>[Abort]</b></dt>
  <dd>button to abort the operation altogether.</dd>
  <dt><b>[Retry]</b></dt>
  <dd>button to continue if you fixed the problem from another terminal.</dd>
</dl>
<p class="Pp">The replace dialog is shown when you attempt to copy or move a
    file on the top of an existing file. The dialog shows the dates and sizes of
    the both files. There are the following buttons in this dialog:</p>
<dl class="Bl-tag">
  <dt><b>[Yes]</b></dt>
  <dd>button to overwrite the file.</dd>
  <dt><b>[No]</b></dt>
  <dd>button to skip the file.</dd>
  <dt><b>[Append]</b></dt>
  <dd>button to append the source file to the target one.</dd>
  <dt><b>[Reget]</b></dt>
  <dd>button to append the rest of the source file to the target one. This
      button is displayed only if the size of the target file is non-zero and
      less than the size of the source file.</dd>
  <dt><b>[All]</b></dt>
  <dd>button to overwrite all the files.</dd>
  <dt><b>[Older]</b></dt>
  <dd>button to overwrite if the source file is newer than the target file.</dd>
  <dt><b>[None]</b></dt>
  <dd>button to never overwrite files</dd>
  <dt><b>[Smaller]</b></dt>
  <dd>button to overwrite if the source file size is less than the target
    one.</dd>
  <dt><b>[Size differs]</b></dt>
  <dd>button to overwrite files with different sizes.</dd>
  <dt><b>[Abort]</b></dt>
  <dd>button to abort the whole operation.</dd>
</dl>
<p class="Pp">If the <b>Don't overwrite with zero length file</b> checkbox is
    on, the zero-sized source files don't overwrite the non-zero-sized target
    files.</p>
<p class="Pp">The recursive delete dialog is shown when you try to delete a
    directory which is not empty. There are the following buttons in this
    dialog:</p>
<dl class="Bl-tag">
  <dt><b>[Yes]</b></dt>
  <dd>button to delete the directory recursively.</dd>
  <dt><b>[No]</b></dt>
  <dd>button to skip the directory.</dd>
  <dt><b>[All]</b></dt>
  <dd>button to delete all the directories.</dd>
  <dt><b>[None]</b></dt>
  <dd>button to skip all the non-empty directories.</dd>
  <dt><b>[Abort]</b></dt>
  <dd>button to abort the whole operation.</dd>
</dl>
<p class="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.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Mask_Copy/Rename"><a class="permalink" href="#Mask_Copy/Rename">Mask
  Copy/Rename</a></h1>
<p class="Pp">The copy/move operations let you translate the names of files in
    an 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. All
    the files matching the source mask are copied/renamed according to the
    target mask. If there are tagged files, only the tagged files matching the
    source mask are renamed.</p>
<p class="Pp">There are other options which you can set:</p>
<p class="Pp"><b>Follow links</b></p>
<p class="Pp">determines whether make the symlinks and hardlinks in the source
    directory (recursively in subdirectories) new links in the target directory
    or whether would you like to copy their content.</p>
<p class="Pp"><b>Dive into subdirs</b></p>
<p class="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.</p>
<p class="Pp">For example, you want to copy directory <i>/foo</i> containing
    file <i>bar</i> to <i>/bla/foo</i>, which is an already existing directory.
    Normally (when <b>Dive into subdirs</b> is not set), mc would copy file
    <i>/foo/bar</i> into the file <i>/bla/foo/bar</i>. By enabling this option
    the <i>/bla/foo/foo</i> directory will be created, and <i>/foo/bar</i> will
    be copied into <i>/bla/foo/foo/bar</i>.</p>
<p class="Pp"><b>Preserve attributes</b></p>
<p class="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.</p>
<p class="Pp"><b>Use shell patterns</b></p>
<p class="Pp">When this option is on you can use the '*' and '?' wildcards in
    the source mask. They work like they do in the shell. In the target mask
    only the '*' and '\&lt;digit&gt;' 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.</p>
<p class="Pp">Two examples:</p>
<p class="Pp">If the source mask is &quot;*.tar.gz&quot;, the destination is
    &quot;/bla/*.tgz&quot; and the file to be copied is &quot;foo.tar.gz&quot;,
    the copy will be &quot;foo.tgz&quot; in &quot;/bla&quot;.</p>
<p class="Pp">Suppose you want to swap basename and extension so that
    &quot;file.c&quot; would become &quot;c.file&quot; and so on. The source
    mask for this is &quot;*.*&quot; and the destination is
  &quot;\2.\1&quot;.</p>
<p class="Pp"><b>Use shell patterns off</b></p>
<p class="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.</p>
<p class="Pp">Two examples:</p>
<p class="Pp">If the source mask is &quot;^\(.*\)\.tar\.gz$&quot;, the
    destination is &quot;/bla/*.tgz&quot; and the file to be copied is
    &quot;foo.tar.gz&quot;, the copy will be &quot;/bla/foo.tgz&quot;.</p>
<p class="Pp">Let's suppose you want to swap basename and extension so that
    &quot;file.c&quot; will become &quot;c.file&quot; and so on. The source mask
    for this is &quot;^\(.*\)\.\(.*\)$&quot; and the destination is
    &quot;\2.\1&quot;.</p>
<p class="Pp"><b>Case Conversions</b></p>
<p class="Pp">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 uppercase
    or lowercase correspondingly.</p>
<p class="Pp">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.</p>
<p class="Pp">The '\u' and '\l' are stronger than '\U' and '\L'.</p>
<p class="Pp">For example, if the source mask is '*' ( <i>Use shell patterns</i>
    on) or '^\(.*\)$' ( <i>Use shell patterns</i> off) and the target mask is
    '\L\u*' the file names will be converted to have initial upper case and
    otherwise lower case.</p>
<p class="Pp">You can also use '\' as a quote character. For example, '\\' is a
    backslash and '\*' is an asterisk.</p>
<p class="Pp"><b>Stable symlinks</b></p>
<p class="Pp">commands Midnight Commander, that it should change symlinks in the
    target, so that they'll point to the same location as it did before. With
    absolute symbolic links this does nothing, but if you have a relative one,
    it will recompute its value, adding necessary ../ and other directory parts
    and making the value as short as possible (most modern filesystems keep
    short symlinks inside inodes and thus don't waste much disk space).</p>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Select/Unselect_Files"><a class="permalink" href="#Select/Unselect_Files">Select/Unselect
  Files</a></h1>
<p class="Pp">The dialog of group of files and directories selection or
    uselection. The input line allow enter the regular expression of filenames
    that will be selected/unselected.</p>
<p class="Pp">When <i>Files only</i> checkbox is on, only files will be
    selected. If <i>Files only</i> is off, as files as directories will be
    selected. When <i>Shell Patterns</i> checkbox is on, 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</i> is
    off, then the tagging of files is done with normal regular expressions (see
    ed (1)). When <i>Case sensitive</i> checkbox is on, the selection will be
    case sensitive characters. If <i>Case sensitive</i> is off, the case will be
    ignored.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Internal_Diff_Viewer"><a class="permalink" href="#Internal_Diff_Viewer">Internal
  Diff Viewer</a></h1>
<p class="Pp">The mcdiff is a visual diff tool. You can compare two files and
    edit them in-place (diffs are updated dynamically). You can browse and view
    a working copy from popular version control systems (GIT, Subversion,
  etc).</p>
<p class="Pp">Following shortcuts are available in internal diff viewer of
    Midnight Commander.</p>
<dl class="Bl-tag">
  <dt id="F1"><a class="permalink" href="#F1"><b>F1</b></a></dt>
  <dd>Invoke the built-in hypertext help viewer.</dd>
  <dt id="F2"><a class="permalink" href="#F2"><b>F2</b></a></dt>
  <dd>Save modified files.</dd>
  <dt id="F4"><a class="permalink" href="#F4"><b>F4</b></a></dt>
  <dd>Edit file of the left panel in the internal editor.</dd>
  <dt id="F14"><a class="permalink" href="#F14"><b>F14</b></a></dt>
  <dd>Edit file of the right panel in the internal editor.</dd>
  <dt id="F5"><a class="permalink" href="#F5"><b>F5</b></a></dt>
  <dd>Merge the current hunk. Only the current hunk will be merged.</dd>
  <dt id="F7"><a class="permalink" href="#F7"><b>F7</b></a></dt>
  <dd>Start search.</dd>
  <dt id="F17"><a class="permalink" href="#F17"><b>F17</b></a></dt>
  <dd>Continue search.</dd>
  <dt id="F10,"><a class="permalink" href="#F10,"><b>F10, Esc, q</b></a></dt>
  <dd>Exit from diff viewer.</dd>
  <dt id="Alt~23"><a class="permalink" href="#Alt~23"><b>Alt-s, s</b></a></dt>
  <dd>Toggle show of hunk status.</dd>
  <dt id="Alt~24"><a class="permalink" href="#Alt~24"><b>Alt-n, l</b></a></dt>
  <dd>Toggle show of line numbers.</dd>
  <dt id="f"><a class="permalink" href="#f"><b>f</b></a></dt>
  <dd>Maximize left panel.</dd>
  <dt><b>=</b></dt>
  <dd>Make panels equal in width.</dd>
  <dt><b>&gt;</b></dt>
  <dd>Reduce the size of the right panel.</dd>
  <dt><b>&lt;</b></dt>
  <dd>Reduce the size of the left panel.</dd>
  <dt id="c"><a class="permalink" href="#c"><b>c</b></a></dt>
  <dd>Toggle show of trailing carriage return (CR) symbol as ^M.</dd>
  <dt><b>2, 3, 4, 8</b></dt>
  <dd>Set tabulation size</dd>
  <dt id="C~34"><a class="permalink" href="#C~34"><b>C-u</b></a></dt>
  <dd>Swap contents of diff panels.</dd>
  <dt id="C~35"><a class="permalink" href="#C~35"><b>C-r</b></a></dt>
  <dd>Refresh the screen.</dd>
  <dt id="C~36"><a class="permalink" href="#C~36"><b>C-o</b></a></dt>
  <dd>Switch to the subshell and show the command screen.</dd>
  <dt id="Enter,"><a class="permalink" href="#Enter,"><b>Enter, Space,
    n</b></a></dt>
  <dd>Find next diff hunk.</dd>
  <dt id="Backspace,"><a class="permalink" href="#Backspace,"><b>Backspace,
    p</b></a></dt>
  <dd>Find previous diff hunk.</dd>
  <dt id="g"><a class="permalink" href="#g"><b>g</b></a></dt>
  <dd>Go to line.</dd>
  <dt id="Down"><a class="permalink" href="#Down"><b>Down</b></a></dt>
  <dd>Scroll one line forward.</dd>
  <dt id="Up"><a class="permalink" href="#Up"><b>Up</b></a></dt>
  <dd>Scroll one line backward.</dd>
  <dt id="PageUp"><a class="permalink" href="#PageUp"><b>PageUp</b></a></dt>
  <dd>Move one page up.</dd>
  <dt id="PageDown"><a class="permalink" href="#PageDown"><b>PageDown</b></a></dt>
  <dd>Moves one page down.</dd>
  <dt id="Home,~2"><a class="permalink" href="#Home,~2"><b>Home, A1</b></a></dt>
  <dd>Moves to the line beginning.</dd>
  <dt id="End"><a class="permalink" href="#End"><b>End</b></a></dt>
  <dd>Moves to the line end.</dd>
  <dt id="C~37"><a class="permalink" href="#C~37"><b>C-Home</b></a></dt>
  <dd>Move to the file beginning.</dd>
  <dt id="C~38"><a class="permalink" href="#C~38"><b>C-End, C1</b></a></dt>
  <dd>Move to the file end.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Internal_File_Viewer"><a class="permalink" href="#Internal_File_Viewer">Internal
  File Viewer</a></h1>
<p class="Pp">The internal file viewer provides two display modes: ASCII and
    hex. To toggle between modes, use the F4 key.</p>
<p class="Pp">The viewer will try to use the best method provided by your system
    or 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.</p>
<p class="Pp">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:</p>
<p class="Pp"></p>
<pre>&quot;String&quot; 34 0xBB 012 &quot;more text&quot;</pre>
<p class="Pp">Numbers are always interpreted in hex. In the example above,
    &quot;34&quot; is interpreted as 0x34. The prefix &quot;0x&quot; isn't
    really needed: we could type &quot;BB&quot; instead of &quot;0xBB&quot;. And
    &quot;012&quot; is interpreted as 0x12, not as an octal number.</p>
<p class="Pp">Here is a listing of the actions associated with each key that the
    Midnight Commander handles in the internal file viewer.</p>
<dl class="Bl-tag">
  <dt id="F1~2"><a class="permalink" href="#F1~2"><b>F1</b></a></dt>
  <dd>Invoke the built-in hypertext help viewer.</dd>
  <dt id="F2~2"><a class="permalink" href="#F2~2"><b>F2</b></a></dt>
  <dd>Toggle the wrap mode.</dd>
  <dt id="F4~2"><a class="permalink" href="#F4~2"><b>F4</b></a></dt>
  <dd>Toggle the hex mode.</dd>
  <dt id="F5~2"><a class="permalink" href="#F5~2"><b>F5</b></a></dt>
  <dd>Goto. You can specify a line number, offset or percentage of file size of
      position that you want to view.</dd>
  <dt id="F7,"><a class="permalink" href="#F7,"><b>F7, /, ?</b></a></dt>
  <dd>Start search. These keys call the dialog window that allows you to set up
      the search options. If key is ? the &quot;Backwards&quot; option is
    on.</dd>
  <dt id="C~39"><a class="permalink" href="#C~39"><b>C-s</b></a></dt>
  <dd>Continue forward search.</dd>
  <dt id="C~40"><a class="permalink" href="#C~40"><b>C-r</b></a></dt>
  <dd>Continue reverse search.</dd>
  <dt id="F17,"><a class="permalink" href="#F17,"><b>F17, n</b></a></dt>
  <dd>Continue search in the chosen direction.</dd>
  <dt id="N"><a class="permalink" href="#N"><b>N</b></a></dt>
  <dd>Temporary change the search direction: backwards if forward search is
      chosen, and vice versa.</dd>
  <dt id="F8"><a class="permalink" href="#F8"><b>F8</b></a></dt>
  <dd>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.ini 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.</dd>
  <dt id="F9"><a class="permalink" href="#F9"><b>F9</b></a></dt>
  <dd>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.</dd>
  <dt id="F10,~2"><a class="permalink" href="#F10,~2"><b>F10, Esc.</b></a></dt>
  <dd>Exit the internal file viewer.</dd>
  <dt id="PageDown,"><a class="permalink" href="#PageDown,"><b>PageDown, space,
    C-v.</b></a></dt>
  <dd>Scroll one page forward.</dd>
  <dt id="PageUp,"><a class="permalink" href="#PageUp,"><b>PageUp, Alt-v, C-b,
    Backspace.</b></a></dt>
  <dd>Scroll one page backward.</dd>
  <dt id="Down~2"><a class="permalink" href="#Down~2"><b>Down</b></a></dt>
  <dd>Scroll one line forward.</dd>
  <dt id="Up~2"><a class="permalink" href="#Up~2"><b>Up</b></a></dt>
  <dd>Scroll one line backward.</dd>
  <dt id="C~41"><a class="permalink" href="#C~41"><b>C-l</b></a></dt>
  <dd>Refresh the screen.</dd>
  <dt id="C~42"><a class="permalink" href="#C~42"><b>C-o</b></a></dt>
  <dd>Switch to the subshell and show the command screen.</dd>
  <dt><b>[n] m</b></dt>
  <dd>Set the mark n.</dd>
  <dt><b>[n] r</b></dt>
  <dd>Jump to the mark n.</dd>
  <dt id="C~43"><a class="permalink" href="#C~43"><b>C-f</b></a></dt>
  <dd>Jump to the next file.</dd>
  <dt id="C~44"><a class="permalink" href="#C~44"><b>C-b</b></a></dt>
  <dd>Jump to the previous file.</dd>
  <dt id="Alt~25"><a class="permalink" href="#Alt~25"><b>Alt-r</b></a></dt>
  <dd>Toggle the ruler.</dd>
  <dt id="Alt~26"><a class="permalink" href="#Alt~26"><b>Alt-e</b></a></dt>
  <dd>to change charset of displayed text may use Alt-e (M-e). Recoding is made
      from selected codepage into system codepage. To cancel the recoding you
      may select &quot;&lt;No translation&gt;&quot; in charset selection
    dialog.</dd>
</dl>
<p class="Pp">It's possible to instruct the file viewer how to display a file,
    look at the Edit Extension File section</p>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Internal_File_Editor"><a class="permalink" href="#Internal_File_Editor">Internal
  File Editor</a></h1>
<p class="Pp">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 <b>F4</b> if the
    <i>use_internal_edit</i> option is set in the initialization file.</p>
<p class="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; S-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.</p>
<p class="Pp">Sections:</p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>Options of editor in ini-file</dd>
</dl>
<p class="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. <b>C-Ins</b> copies to the
    file <b>mcedit.clip</b> and <b>S-Ins</b> pastes from mcedit.clip.
    <b>S-Del</b> cuts to <b>mcedit.clip</b>, and <b>C-Del</b> deletes
    highlighted text. Mouse highlighting also works, and you can override the
    mouse as usual by holding down the shift key while dragging the mouse to let
    normal terminal mouse highlighting work.</p>
<p class="Pp">To define a macro, press <b>C-R</b> and then type out the key
    strokes you want to be executed. Press <b>C-R</b> again when finished. You
    can then assign the macro to any key you like by pressing that key. The
    macro is executed when you press <b>C-A</b> and then the assigned key. The
    macro is also executed if 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 commands go into the file
    <b>~/.local/share/mc/mcedit/mcedit.macros</b> You can delete a macro by
    deleting the appropriate line in this file.</p>
<p class="Pp">To change charset of displayed text may use Alt-e (M-e). Recoding
    is made from selected codepage into system codepage. To cancel the recoding
    you may select &quot;&lt;No translation&gt;&quot; in charset selection
    dialog.</p>
<p class="Pp"><b>F19</b> will format the currently highlighted block (plain text
    or C or C++ code or another). This is controlled by the file
    <b>/__w/mc/mc/install-prefix/share/mc/edit.indent.rc</b> which is copied to
    <b>~/.local/share/mc/mcedit/edit.indent.rc</b> in your home directory the
    first time you use it.</p>
<p class="Pp">The editor also displays non-us characters (160+). When editing
    binary files, you should set <b>display bits</b> to 7 bits in the options
    menu to keep the spacing clean.</p>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Options_of_editor_in_ini"><a class="permalink" href="#Options_of_editor_in_ini">Options
  of editor in ini-file</a></h1>
<p class="Pp">Some editor options of ini-file are described in this section.
    Options are placed in [Midnight-Commander] section</p>
<dl class="Bl-tag">
  <dt id="editor_wordcompletion_collect_entire_file"><a class="permalink" href="#editor_wordcompletion_collect_entire_file"><i>editor_wordcompletion_collect_entire_file</i></a></dt>
  <dd>Search autocomplete candidates in entire of file or just from begin of
      file to cursor position (0)
    <p class="Pp"></p>
  </dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Screen_selector"><a class="permalink" href="#Screen_selector">Screen
  selector</a></h1>
<p class="Pp">Midnight Commander supports running many internal modules (such as
    editor, viewer and diff viewer) simultaneously and switching between them
    without closing open files. Using several file managers at a time, however,
    is not currently supported.</p>
<p class="Pp">Let's call each of these modules a screen. There are three ways to
    switch between screens, using one of these global shortcuts:</p>
<dl class="Bl-tag">
  <dt id="Alt~27"><a class="permalink" href="#Alt~27"><b>Alt-}</b></a></dt>
  <dd>switch to the next screen;</dd>
  <dt id="Alt~28"><a class="permalink" href="#Alt~28"><b>Alt-{</b></a></dt>
  <dd>switch to the previous screen;</dd>
  <dt id="Alt~29"><a class="permalink" href="#Alt~29"><b>Alt-`</b></a></dt>
  <dd>open a dialog window with the list of currently open screens (or use the
      &quot;Screen list&quot; menu item).</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Completion"><a class="permalink" href="#Completion">Completion</a></h1>
<p class="Pp">Let Midnight Commander type for you.</p>
<p class="Pp">Attempt to perform completion on the text before current position.
    MC attempts completion treating the text as variable (if the text begins
    with <b>$</b>), username (if the text begins with <b>~</b>), hostname (if
    the text begins with <b>@</b>) 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.</p>
<p class="Pp">Filename, username, variable and hostname completion works on all
    input 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 Complete: show all option in
    the Configuration 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
    <b>Enter</b> 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 <b>Alt-Tab</b> again, only the
    subset will be shown in the listbox, otherwise the first 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 canceling keys
    <b>Esc</b>, <b>F10</b> and left and right arrow keys. If Complete: show all
    is disabled, the dialog pops up only if you press <b>Alt-Tab</b> for the
    second time, for the first time MC just beeps.</p>
<p class="Pp">Apply escaping of <b>?</b>, <b>*</b>, and <b>&amp;</b> symbols (as
    <b>\?</b>, <b>\*</b>, and <b>\&amp;</b>) in filenames to disallow use them
    as metasymbols in regular expressions when substitution is performed in the
    input line.</p>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Virtual_File_System"><a class="permalink" href="#Virtual_File_System">Virtual
  File System</a></h1>
<p class="Pp">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 Midnight Commander to manipulate files not
    located on the Unix file system.</p>
<p class="Pp">Currently, Midnight Commander is packaged with some Virtual File
    Systems (VFS): the <i>local</i> file system, used for accessing the regular
    Unix file system; the <i>ftpfs</i>, used to manipulate files on remote
    systems with the FTP protocol; the <i>tarfs</i>, used to manipulate tar and
    compressed tar files; the <i>undelfs</i>, used to recover deleted files on
    ext2 file systems (the default file system for Linux systems), <i>shell</i>
    (for manipulating files over shell connections such as rsh and ssh). If the
    code was compiled with <i>sftpfs</i> (for manipulating files over SFTP
    connections).</p>
<p class="Pp">A generic <i>extfs</i> (EXTernal virtual File System) is provided
    in order to easily expand VFS capabilities using scripts and external
    software.</p>
<p class="Pp">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.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FTP_File_System"><a class="permalink" href="#FTP_File_System">
  FTP File System</a></h1>
<p class="Pp">The FTP File System (ftpfs) allows you to manipulate files on
    remote machines. To actually use it, you can use the <i>FTP link</i> item in
    the menu or directly change your current directory using the <i>cd</i>
    command to a path name that looks like this:</p>
<p class="Pp"><i>ftp://[!][user[:pass]@]machine[:port]/[remote-dir]</i></p>
<p class="Pp">The <i>user</i>, <i>port</i> and <i>remote-dir</i> elements are
    optional. If you specify the <i>user</i> element, Midnight Commander will
    login to the remote machine as that user, otherwise it will use anonymous
    login or the login name from the <i>~/.netrc</i> file. The optional
    <i>pass</i> element is the password used for the connection. Using the
    password in 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.</p>
<p class="Pp">To enable using FTP proxy, prepend <b>!</b> (an exclamation sign)
    to the hostname.</p>
<p class="Pp">Examples:</p>
<p class="Pp"></p>
<pre>
<br/>
    ftp://ftp.nuclecu.unam.mx/linux/local
<br/>
    ftp://tsx-11.mit.edu/pub/linux/packages
<br/>
    ftp://!behind.firewall.edu/pub
<br/>
    ftp://guest@remote-host.com:40/pub
<br/>
    ftp://miguel:xxx@server/pub</pre>
<p class="Pp">Please check the Virtual File System dialog box for ftpfs
  options.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Tar_File_System"><a class="permalink" href="#Tar_File_System">
  Tar File System</a></h1>
<p class="Pp">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:</p>
<p class="Pp"><i>/filename.tar/utar://[dir-inside-tar]</i></p>
<p class="Pp">The mc.ext.ini file already provides a shortcut for tar files,
    this means that usually you just point to a tar file and press return to
    enter into the tar file, see the Edit Extension File section for details on
    how this is done.</p>
<p class="Pp">Examples:</p>
<p class="Pp"></p>
<pre>
<br/>
    mc-3.0.tar.gz/utar://mc-3.0/vfs
<br/>
    /ftp/GCC/gcc-2.7.0.tar/utar://</pre>
<p class="Pp">The latter specifies the full path of the tar archive.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FIle_transfer_over_SHell_filesystem"><a class="permalink" href="#FIle_transfer_over_SHell_filesystem">
  FIle transfer over SHell filesystem</a></h1>
<p class="Pp">The shell 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 have bash-compatible shell.</p>
<p class="Pp">To connect to a remote machine, you just need to chdir into a
    special directory which name is in the following format:</p>
<p class="Pp"><i>sh://[user@]machine[:options]/[remote-dir]</i></p>
<p class="Pp">The <i>user,</i> <i>options</i> and <i>remote-dir</i> elements are
    optional. If you specify the <i>user</i> element, Midnight Commander will
    try to login on the remote machine as that user, otherwise it will use your
    login name.</p>
<p class="Pp">The available <i>options</i> are:</p>
<pre>
<br/>
  'C' - use compression;
<br/>
  'r' - use rsh instead of ssh;
<br/>
  port - specify the port used by remote server.</pre>
If the <i>remote-dir</i> element is present, your current directory on the
  remote machine will be set to this one.
<p class="Pp">Examples:</p>
<p class="Pp"></p>
<pre>
<br/>
    sh://onlyrsh.mx:r/linux/local
<br/>
    sh://joe@want.compression.edu:C/private
<br/>
    sh://joe@noncompressed.ssh.edu/private
<br/>
    sh://joe@somehost.ssh.edu:2222/private</pre>
</section>
<section class="Sh">
<h1 class="Sh" id="SFTP_(SSH_File_Transfer_Protocol)_filesystem"><a class="permalink" href="#SFTP_(SSH_File_Transfer_Protocol)_filesystem">
  SFTP (SSH File Transfer Protocol) filesystem</a></h1>
<p class="Pp">The SFTP file system is a network based file system that allows
    you to manipulate the files in a remote machine as if they were local.</p>
<p class="Pp">To connect to a remote machine, you just need to chdir into a
    special directory which name is in the following format:</p>
<p class="Pp"><i>sftp://[user@]machine:[port]/[remote-dir]</i></p>
<p class="Pp">The <i>user,</i> <i>port</i> and <i>remote-dir</i> elements are
    optional. If you specify the <i>user</i> element, Midnight Commander will
    try to login on the remote machine as that user, otherwise it will use your
    login name. <i>port</i> - specify the port used by remote server (22 by
    default). If the <i>remote-dir</i> element is present, your current
    directory on the remote machine will be set to this one.</p>
<p class="Pp">Examples:</p>
<p class="Pp"></p>
<pre>
<br/>
    sftp://onlyrsh.mx/linux/local
<br/>
    sftp://joe:password@want.compression.edu/private
<br/>
    sftp://joe@noncompressed.ssh.edu/private
<br/>
    sftp://joe@somehost.ssh.edu:2222/private</pre>
<p class="Pp">When establishing the connection, server key fingerprint is
    verified using the ~/.ssh/known_hosts file. If the host/key pair is not
    found or the host is found, but the key doesn't match, an appropriate
    message is shown. There are three buttons in the message dialog:</p>
<p class="Pp"><b>[Yes]</b> add new host/key pair to the ~/.ssh/known_hosts file
    and continue.</p>
<p class="Pp"><b>[Ignore]</b> do not add new host/key pair to the
    ~/.ssh/known_hosts file, but continue nevertheless (at you own risk).</p>
<p class="Pp"><b>[No]</b> abort connection.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Undelete_File_System"><a class="permalink" href="#Undelete_File_System">
  Undelete File System</a></h1>
<p class="Pp">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
    undelete file system is just an interface to the ext2fs library to retrieve
    all of the deleted files names on an ext2fs and provides and to extract the
    selected files into a regular partition.</p>
<p class="Pp">To use this file system, you have to chdir into the special file
    name formed by the &quot;undel://&quot; prefix and the file name where the
    actual file system resides.</p>
<p class="Pp">For example, to recover deleted files on the second partition of
    the first SCSI disk on Linux, you would use the following path name:</p>
<p class="Pp"></p>
<pre>
<br/>
    undel://sda2</pre>
<p class="Pp">It may take a while for the undelfs to load the required
    information before you start browsing files there.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="EXTernal_File_System"><a class="permalink" href="#EXTernal_File_System">
  EXTernal File System</a></h1>
<p class="Pp"><b>extfs</b> allows you to integrate numerous features and file
    types into GNU Midnight Commander in an easy way, by writing scripts.</p>
<p class="Pp">Extfs filesystems can be divided into two categories:</p>
<p class="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 <i>cd fsname://</i> 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).</p>
<p class="Pp">For example, to list CD-Audio tracks on your CD-ROM drive,
  type</p>
<p class="Pp"></p>
<pre>
<br/>
  cd audio://</pre>
<p class="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 <i>fsname://</i> should be appended to the archive name. Note
    that the archive itself can be on another vfs.</p>
<p class="Pp">For example, to list contents of a zip archive documents.zip
  type</p>
<p class="Pp"></p>
<pre>
<br/>
  cd documents.zip/uzip://</pre>
<p class="Pp">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.</p>
<p class="Pp">Common extfs scripts included with Midnight Commander are:</p>
<dl class="Bl-tag">
  <dt id="a"><a class="permalink" href="#a"><b>a</b></a></dt>
  <dd>access 'A:' DOS/Windows diskette (<i>cd a://</i>).</dd>
  <dt id="apt"><a class="permalink" href="#apt"><b>apt</b></a></dt>
  <dd>front end to Debian's APT package management system (<i>cd
    apt://</i>).</dd>
  <dt id="audio"><a class="permalink" href="#audio"><b>audio</b></a></dt>
  <dd>audio CD ripping and playing (<i>cd audio://</i> or <i>cd
      device/audio://</i>).</dd>
  <dt id="bpp"><a class="permalink" href="#bpp"><b>bpp</b></a></dt>
  <dd>package of Bad Penguin GNU/Linux distribution (<i>cd
    file.bpp/bpp://</i>).</dd>
  <dt id="deb"><a class="permalink" href="#deb"><b>deb</b></a></dt>
  <dd>package of Debian GNU/Linux distribution (<i>cd file.deb/deb://</i>).</dd>
  <dt id="dpkg"><a class="permalink" href="#dpkg"><b>dpkg</b></a></dt>
  <dd>Debian GNU/Linux installed packages (<i>cd deb://</i>).</dd>
  <dt id="hp48"><a class="permalink" href="#hp48"><b>hp48</b></a></dt>
  <dd>view and copy files to/from a HP48 calculator (<i>cd hp48://</i>).</dd>
  <dt id="lslR"><a class="permalink" href="#lslR"><b>lslR</b></a></dt>
  <dd>browsing of lslR listings as found on many FTPs (<i>cd
      filename/lslR://</i>).</dd>
  <dt id="mailfs"><a class="permalink" href="#mailfs"><b>mailfs</b></a></dt>
  <dd>mbox-style mailbox files support (<i>cd mailbox/mailfs://</i>).</dd>
  <dt id="patchfs"><a class="permalink" href="#patchfs"><b>patchfs</b></a></dt>
  <dd>extfs to handle unified and context diffs (<i>cd
    filename/patchfs://</i>).</dd>
  <dt id="rpm"><a class="permalink" href="#rpm"><b>rpm</b></a></dt>
  <dd>RPM package (<i>cd filename/rpm://</i>).</dd>
  <dt id="rpms"><a class="permalink" href="#rpms"><b>rpms</b></a></dt>
  <dd>RPM database management (<i>cd rpms://</i>).</dd>
  <dt id="ulha,"><a class="permalink" href="#ulha,"><b>ulha, urar, uzip, uzoo,
    uar, uha</b></a></dt>
  <dd>archivers (<i>cd archive/xxxx://</i> where xxxx is one of: <i>ulha</i>,
      <i>urar</i>, <i>uzip</i>, <i>uzoo</i>, <i>uar</i>, <i>uha</i>).</dd>
</dl>
<p class="Pp">You could bind file type/extension to specified extfs as described
    in the Edit Extension File section. Here is an example entry for Debian
    packages:</p>
<p class="Pp"></p>
<pre>
<br/>
  regex/\.deb$
<br/>
          Open=%cd %p/deb://</pre>
</section>
<section class="Sh">
<h1 class="Sh" id="Colors"><a class="permalink" href="#Colors">Colors</a></h1>
<p class="Pp">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 using the -c and
    -b flag respectively.</p>
<p class="Pp">If the program is compiled with the S-Lang screen manager instead
    of ncurses, it will also check the variable <b>COLORTERM,</b> if it is set,
    it has the same effect as the -c flag.</p>
<p class="Pp">You may specify terminals that always force color mode by adding
    the <i>color_terminals</i> variable to the Colors section of the
    initialization file. This will prevent Midnight Commander from trying to
    detect if your terminal supports color. Example:</p>
<p class="Pp"></p>
<pre>[Colors]
color_terminals=linux,xterm
color_terminals=terminal-name1,terminal-name2...</pre>
<p class="Pp">The program can be compiled with both ncurses and S-Lang, ncurses
    does not provide a way to force color mode: ncurses uses just the
    information in the terminal database.</p>
<p class="Pp">Midnight Commander provides a way to change the default colors.
    Currently the colors are configured using the environment variable
    <b>MC_COLOR_TABLE</b> or the Colors section in the initialization file.</p>
<p class="Pp">In the Colors section, the default color map is loaded from the
    <i>base_color</i> variable. You can specify an alternate color map for a
    terminal by using the terminal name as the key in this section. Example:</p>
<p class="Pp"></p>
<pre>[Colors]
base_color=
xterm=menu=magenta:marked=,magenta:markselect=,red</pre>
<p class="Pp">The format for the color definition is:</p>
<p class="Pp"></p>
<pre>
<br/>
  &lt;keyword&gt;=&lt;fgcolor&gt;,&lt;bgcolor&gt;,&lt;attributes&gt;:&lt;keyword&gt;=...</pre>
<p class="Pp">The colors are optional, and the keywords are: normal, selected,
    disabled, marked, markselect, errors, input, inputmark, inputunchanged,
    commandlinemark, reverse, gauge, header, inputhistory, commandhistory.
    Button bar colors are: bbarhotkey, bbarbutton. Status bar color: statusbar.
    Menu colors are: menunormal, menusel, menuhot, menuhotsel, menuinactive.
    Dialog colors are: dnormal, dfocus, dhotnormal, dhotfocus, dtitle. Error
    dialog colors are: errdfocus, errdhotnormal, errdhotfocus, errdtitle. Help
    colors are: helpnormal, helpitalic, helpbold, helplink, helpslink,
    helptitle. Viewer colors are: viewnormal, viewbold, viewunderline,
    viewselected. Editor colors are: editnormal, editbold, editmarked,
    editwhitespace, editnonprintable, editlinestate. Popup menu colors are:
    pmenunormal, pmenusel, pmenutitle.</p>
<p class="Pp"><i>header</i> determines the color of panel header, the line that
    contains column titles and sort mode indicator.</p>
<p class="Pp"><i>input</i> determines the color of input lines used in query
    dialogs.</p>
<p class="Pp"><i>gauge</i> 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.</p>
<p class="Pp"><i>disabled</i> determines the color of the widget that cannot be
    selected.</p>
<p class="Pp">The dialog boxes use the following colors: <i>dnormal</i> is used
    for the normal text, <i>dfocus</i> is the color used for the currently
    selected component, <i>dhotnormal</i> is the color used to differentiate the
    hotkey color in normal components, whereas the <i>dhotfocus</i> color is
    used for the highlighted color in the currently selected component.</p>
<p class="Pp">Menus use the same scheme but uses the menunormal, menusel,
    menuhot, menuhotsel and menuinactive tags instead.</p>
<p class="Pp">Help uses the following colors: <i>helpnormal</i> is used for
    normal text, <i>helpitalic</i> is used for text which is emphasized in
    italic in the manual page, <i>helpbold</i> is used for text which is
    emphasized in bold in the manual page, <i>helplink</i> is used for not
    selected hyperlinks and <i>helpslink</i> is used for selected hyperlink.</p>
<p class="Pp">Popup menu uses following colors: <i>pmenunormal</i> is used for
    non-selected menu items and as a main color of popup menu window,
    <i>pmenusel</i> is used for selected menu item, <i>pmenutitle</i> is used
    for popup menu title.</p>
<p class="Pp">The possible colors are: black, gray, red, brightred, green,
    brightgreen, brown, yellow, blue, brightblue, magenta, brightmagenta, 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. Another special keyword &quot;base&quot; means mc's main
    colors. When 256 colors are available, they can be specified either as
    color16 to color255, or as rgb000 to rgb555 and gray0 to gray23.
  Example:</p>
<p class="Pp"></p>
<pre>[Colors]
base_color=normal=white,default:marked=magenta,default</pre>
<p class="Pp">Attributes can be any of bold, italic, underline, reverse and
    blink, appended by a plus sign if more than one are desired. The special
    word &quot;none&quot; means no attributes, without attempting to fall back
    to base_color. Example:</p>
<p class="Pp"></p>
<pre>menuhotsel=yellow;black;bold+underline</pre>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Skins"><a class="permalink" href="#Skins">Skins</a></h1>
<p class="Pp">You can change the appearance of Midnight Commander. To do this,
    you must specify a file that contain descriptions of colors and lines to
    draw boxes. Redefining of the colors is entirely compatible with the
    assignment of colors, as described in Section Colors.</p>
<p class="Pp">If your skin contains any true-color definitions, you should
    define the 'truecolors' key set to TRUE value in [skin] section. If
    true-color is not used but 256-color is, you should define '256colors'
    instead.</p>
<p class="Pp">A skin-file is searched on the following algorithm (to the first
    one found):</p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>
    <br/>
    1) command line option <b>-S &lt;skin&gt;</b> or <b>--skin=&lt;skin&gt;</b>
    <br/>
    2) Environment variable <b>MC_SKIN</b>
    <br/>
    3) Parameter <b>skin</b> in section <b>[Midnight-Commander]</b> in config
      file.
    <br/>
    4) File <b>/__w/mc/mc/install-prefix/etc/mc/skins/default.ini</b>
    <br/>
    5) File <b>/__w/mc/mc/install-prefix/share/mc/skins/default.ini</b>
    <p class="Pp"></p>
  </dd>
</dl>
<p class="Pp">Command line option, environment variable and parameter in config
    file may contain the absolute path to the skin-file (with the extension .ini
    or without it). Search of skin-file will occur in (to the first one
  found):</p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>1) <b>~/.local/share/mc/skins/</b>
    <br/>
    2) <b>/__w/mc/mc/install-prefix/etc/mc/skins/</b>
    <br/>
    3) <b>/__w/mc/mc/install-prefix/share/mc/skins/</b>
    <p class="Pp"></p>
  </dd>
</dl>
<p class="Pp">For getting extended info, refer to:</p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>Description of section and parameters
    <br/>
    Color pair definitions
    <br/>
    Color and attribute aliases
    <br/>
    Draw lines
    <br/>
    Compatibility
    <p class="Pp"></p>
  </dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Description_of_section_and_parameters"><a class="permalink" href="#Description_of_section_and_parameters">
  Description of section and parameters</a></h1>
<p class="Pp">Section <b>[skin]</b> contain metainfo for skin-file. Parameter
    <i>description</i> contain short text about skin.</p>
<p class="Pp"></p>
<p class="Pp">Section <b>[filehighlight]</b> contain descriptions of color pairs
    for filenames highlighting. Name of parameters must be equal to names of
    sections into filehighlight.ini file. See Filenames Highlight for getting
    more info.</p>
<p class="Pp"></p>
<p class="Pp">Section <b>[core]</b> describes the elements that are used
    everywhere.</p>
<dl class="Bl-tag">
  <dt><i>_default_</i></dt>
  <dd>Default color pair. Used in all other sections if they not contain color
      definitions</dd>
  <dt id="selected"><a class="permalink" href="#selected"><i>selected</i></a></dt>
  <dd>cursor</dd>
  <dt id="marked"><a class="permalink" href="#marked"><i>marked</i></a></dt>
  <dd>selected data</dd>
  <dt id="markselect"><a class="permalink" href="#markselect"><i>markselect</i></a></dt>
  <dd>cursor on selected data</dd>
  <dt id="gauge"><a class="permalink" href="#gauge"><i>gauge</i></a></dt>
  <dd>color of the filled part of the progress bar</dd>
  <dt id="input"><a class="permalink" href="#input"><i>input</i></a></dt>
  <dd>color of input lines used in query dialogs</dd>
  <dt id="inputmark"><a class="permalink" href="#inputmark"><i>inputmark</i></a></dt>
  <dd>color of input selected text</dd>
  <dt id="inputunchanged"><a class="permalink" href="#inputunchanged"><i>inputunchanged</i></a></dt>
  <dd>color of input text before first modification or cursor movement</dd>
  <dt id="commandlinemark"><a class="permalink" href="#commandlinemark"><i>commandlinemark</i></a></dt>
  <dd>color of selected text in command line</dd>
  <dt id="reverse"><a class="permalink" href="#reverse"><i>reverse</i></a></dt>
  <dd>reverse color</dd>
</dl>
<p class="Pp">Section <b>[dialog]</b> describes the elements that are placed on
    dialog windows (except error dialogs).</p>
<dl class="Bl-tag">
  <dt><i>_default_</i></dt>
  <dd>Default color for this section. Used [core]._default_ if not
    specified</dd>
  <dt id="dfocus"><a class="permalink" href="#dfocus"><i>dfocus</i></a></dt>
  <dd>Color of active element (in focus)</dd>
  <dt id="dhotnormal"><a class="permalink" href="#dhotnormal"><i>dhotnormal</i></a></dt>
  <dd>Color of hotkeys</dd>
  <dt id="dhotfocus"><a class="permalink" href="#dhotfocus"><i>dhotfocus</i></a></dt>
  <dd>Color of hotkeys in focused element
    <p class="Pp"></p>
  </dd>
</dl>
<p class="Pp">Section <b>[error]</b> describes the elements that are placed on
    error dialog windows</p>
<dl class="Bl-tag">
  <dt><i>_default_</i></dt>
  <dd>Default color for this section. Used [core]._default_ if not
    specified</dd>
  <dt id="errdhotnormal"><a class="permalink" href="#errdhotnormal"><i>errdhotnormal</i></a></dt>
  <dd>Color of hotkeys</dd>
  <dt id="errdhotfocus"><a class="permalink" href="#errdhotfocus"><i>errdhotfocus</i></a></dt>
  <dd>Color of hotkeys in focused element
    <p class="Pp"></p>
  </dd>
</dl>
<p class="Pp">Section <b>[menu]</b> describes the elements that are placed in
    menu. This section describes system menu (called by F9) and user-defined
    menus (called by F2 in panels and by F11 in editor).</p>
<dl class="Bl-tag">
  <dt><i>_default_</i></dt>
  <dd>Default color for this section. Used [core]._default_ if not
    specified</dd>
  <dt id="entry"><a class="permalink" href="#entry"><i>entry</i></a></dt>
  <dd>Color of menu items</dd>
  <dt id="menuhot"><a class="permalink" href="#menuhot"><i>menuhot</i></a></dt>
  <dd>Color of menu hotkeys</dd>
  <dt id="menusel"><a class="permalink" href="#menusel"><i>menusel</i></a></dt>
  <dd>Color of active menu item (in focus)</dd>
  <dt id="menuhotsel"><a class="permalink" href="#menuhotsel"><i>menuhotsel</i></a></dt>
  <dd>Color of menu hotkeys in focused menu item</dd>
  <dt id="menuinactive"><a class="permalink" href="#menuinactive"><i>menuinactive</i></a></dt>
  <dd>Color of inactive menu
    <p class="Pp"></p>
  </dd>
</dl>
<p class="Pp">Section <b>[help]</b> describes the elements that are placed on
    help window.</p>
<dl class="Bl-tag">
  <dt><i>_default_</i></dt>
  <dd>Default color for this section. Used [core]._default_ if not
    specified</dd>
  <dt id="helpitalic"><a class="permalink" href="#helpitalic"><i>helpitalic</i></a></dt>
  <dd>Color pair for element with <b>italic</b> attribute</dd>
  <dt id="helpbold"><a class="permalink" href="#helpbold"><i>helpbold</i></a></dt>
  <dd>Color pair for element with <b>bold</b> attribute</dd>
  <dt id="helplink"><a class="permalink" href="#helplink"><i>helplink</i></a></dt>
  <dd>Color of links</dd>
  <dt id="helpslink"><a class="permalink" href="#helpslink"><i>helpslink</i></a></dt>
  <dd>Color of active link (on focus)
    <p class="Pp"></p>
  </dd>
</dl>
<p class="Pp">Section <b>[editor]</b> describes the colors of elements placed in
    editor.</p>
<dl class="Bl-tag">
  <dt><i>_default_</i></dt>
  <dd>Default color for this section. Used [core]._default_ if not
    specified</dd>
  <dt id="editbold"><a class="permalink" href="#editbold"><i>editbold</i></a></dt>
  <dd>Color pair for element with <b>bold</b> attribute</dd>
  <dt id="editmarked"><a class="permalink" href="#editmarked"><i>editmarked</i></a></dt>
  <dd>Color of selected text</dd>
  <dt id="editwhitespace"><a class="permalink" href="#editwhitespace"><i>editwhitespace</i></a></dt>
  <dd>Color of tabs and trailing spaces highlighting</dd>
  <dt id="editlinestate"><a class="permalink" href="#editlinestate"><i>editlinestate</i></a></dt>
  <dd>Color for line state area
    <p class="Pp"></p>
  </dd>
</dl>
<p class="Pp">Section <b>[viewer]</b> describes the colors of elements placed in
    viewer.</p>
<dl class="Bl-tag">
  <dt id="viewunderline"><a class="permalink" href="#viewunderline"><i>viewunderline</i></a></dt>
  <dd>Color pair for element with <b>underline</b> attribute
    <p class="Pp"></p>
  </dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Color_pair_definitions"><a class="permalink" href="#Color_pair_definitions">
  Color pair definitions</a></h1>
<p class="Pp">Any parameter in skin-file contain definition of color pair.</p>
<p class="Pp">Color pairs described as two colors and the optional attributes
    separated by ';'. First field sets the foreground color, second field sets
    background color, third field sets the attributes. Any of the fields may be
    omitted, in this case value will be taken from default color pair (global
    color pair or from default color pair of this section).</p>
<p class="Pp">Example:
  <br/>
</p>
<pre>[core]
<br/>
    # green on black
<br/>
    _default_=green;black
<br/>
    # green (default) on blue
<br/>
    selected=;blue
<br/>
    # yellow on black (default)
<br/>
    # underlined yellow on black (default)
<br/>
    marked=yellow;;underline</pre>
<p class="Pp"></p>
<p class="Pp">Possible colors (names) and attributes are described in Colors.
    section.</p>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Color_and_attribute_aliases"><a class="permalink" href="#Color_and_attribute_aliases">
  Color and attribute aliases</a></h1>
<p class="Pp">This optional section might define aliases for single colors (not
    color pairs) as well as combination of attributes; in other words, for
    semicolon-separated fragments of parameters. Aliases can refer to other
    aliases as long as they don't form a loop.</p>
<p class="Pp">Example:
  <br/>
</p>
<pre>[aliases]
<br/>
    myfavfg=green
<br/>
    myfavbg=black
<br/>
    myfavattr=bold+italic
[core]
<br/>
    _default_=myfavfg;myfavbg;myfavattr</pre>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Draw_lines"><a class="permalink" href="#Draw_lines"> Draw
  lines</a></h1>
<p class="Pp">Lines sets in section <b>[Lines]</b> into skin-file. By default
    single lines are used, but you may redefine to usage of any utf-8 symbols
    (like to lines, for example).</p>
<p class="Pp"><i>WARNING!!!</i> When you build Midnight Commander with the
    ncurses screen library usage of drawing lines is limited! Possible only
    drawing a single lines. For all questions and comments please contact the
    developers of ncurses.</p>
<p class="Pp"></p>
<p class="Pp">Descriptions of parameters <b>[Lines]</b>:</p>
<dl class="Bl-tag">
  <dt id="lefttop"><a class="permalink" href="#lefttop"><i>lefttop</i></a></dt>
  <dd>left-top line fragment.</dd>
  <dt id="righttop"><a class="permalink" href="#righttop"><i>righttop</i></a></dt>
  <dd>right-top line fragment.</dd>
  <dt id="centertop"><a class="permalink" href="#centertop"><i>centertop</i></a></dt>
  <dd>down branch of horizontal line</dd>
  <dt id="centerbottom"><a class="permalink" href="#centerbottom"><i>centerbottom</i></a></dt>
  <dd>up branch of horizontal line</dd>
  <dt id="leftbottom"><a class="permalink" href="#leftbottom"><i>leftbottom</i></a></dt>
  <dd>left-bottom line fragment</dd>
  <dt id="rightbottom"><a class="permalink" href="#rightbottom"><i>rightbottom</i></a></dt>
  <dd>right-bottom line fragment</dd>
  <dt id="leftmiddle"><a class="permalink" href="#leftmiddle"><i>leftmiddle</i></a></dt>
  <dd>right branch of vertical line</dd>
  <dt id="rightmiddle"><a class="permalink" href="#rightmiddle"><i>rightmiddle</i></a></dt>
  <dd>left branch of vertical line</dd>
  <dt id="centermiddle"><a class="permalink" href="#centermiddle"><i>centermiddle</i></a></dt>
  <dd>cross of lines</dd>
  <dt id="horiz"><a class="permalink" href="#horiz"><i>horiz</i></a></dt>
  <dd>horizontal line</dd>
  <dt id="vert"><a class="permalink" href="#vert"><i>vert</i></a></dt>
  <dd>vertical line</dd>
  <dt id="thinhoriz"><a class="permalink" href="#thinhoriz"><i>thinhoriz</i></a></dt>
  <dd>thin horizontal line</dd>
  <dt id="thinvert"><a class="permalink" href="#thinvert"><i>thinvert</i></a></dt>
  <dd>thin vertical line
    <p class="Pp"></p>
    <p class="Pp"></p>
  </dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="Compatibility"><a class="permalink" href="#Compatibility">
  Compatibility</a></h1>
<p class="Pp">Appointment of color by skin-files fully compatible with the
    appointment of the colors described in Colors. section.</p>
<p class="Pp">In this case, reassignment of colors has priority over the skin
    file and is complementary.</p>
<p class="Pp"></p>
</section>
<section class="Sh">
<h1 class="Sh" id="Filenames_Highlight"><a class="permalink" href="#Filenames_Highlight">Filenames
  Highlight</a></h1>
<p class="Pp">Section [filehighlight] in current skin-file contains key names as
    highlight groups and values as color pairs. Color pairs is documented in
    Skins section.</p>
<p class="Pp">Rules of filenames highlight are placed in
    /__w/mc/mc/install-prefix/share/mc/filehighlight.ini file
    (~/.config/mc/filehighlight.ini). Name of section in this file must be equal
    to parameters names in [filehighlight] section (in current skin-file).</p>
<p class="Pp">Keys in these groups are:</p>
<dl class="Bl-tag">
  <dt id="type~2"><a class="permalink" href="#type~2"><i>type</i></a></dt>
  <dd>file type. If present, all other options are ignored.</dd>
  <dt id="regexp"><a class="permalink" href="#regexp"><i>regexp</i></a></dt>
  <dd>regular expression. If present, 'extensions' option is ignored.</dd>
  <dt id="extensions"><a class="permalink" href="#extensions"><i>extensions</i></a></dt>
  <dd>list of extensions of files. Separated by ';' sign.</dd>
  <dt id="extensions_case"><a class="permalink" href="#extensions_case"><i>extensions_case</i></a></dt>
  <dd>(make sense only with 'extensions' parameter) make 'extensions' rule case
      sensitive (true) or not (false).</dd>
</dl>
<p class="Pp">`type' key may have values:</p>
<pre>- FILE (all files)
<br/>
  - FILE_EXE
- DIR (all directories)
<br/>
  - LINK_DIR
- LINK (all links except stale link)
<br/>
  - HARDLINK
<br/>
  - SYMLINK
- STALE_LINK
- DEVICE (all device files)
<br/>
  - DEVICE_BLOCK
<br/>
  - DEVICE_CHAR
- SPECIAL (all special files)
<br/>
  - SPECIAL_SOCKET
<br/>
  - SPECIAL_FIFO
<br/>
  - SPECIAL_DOOR</pre>
</section>
<section class="Sh">
<h1 class="Sh" id="Special_Settings"><a class="permalink" href="#Special_Settings">Special
  Settings</a></h1>
<p class="Pp">Most of Midnight Commander settings can be changed from the menus.
    However, there are a small number of settings which can only be changed by
    editing the setup file.</p>
<p class="Pp">These variables may be set in your ~/.config/mc/ini file:</p>
<dl class="Bl-tag">
  <dt id="clear_before_exec"><a class="permalink" href="#clear_before_exec"><i>clear_before_exec</i></a></dt>
  <dd>By default, Midnight Commander clears the screen before executing a
      command. If you would prefer to see the output of the command at the
      bottom of the screen, edit your ~/.config/mc/ini file and change the value
      of the field clear_before_exec to 0.</dd>
  <dt id="confirm_view_dir"><a class="permalink" href="#confirm_view_dir"><i>confirm_view_dir</i></a></dt>
  <dd>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.</dd>
  <dt id="ftpfs_retry_seconds"><a class="permalink" href="#ftpfs_retry_seconds"><i>ftpfs_retry_seconds</i></a></dt>
  <dd>This value is the number of seconds Midnight Commander will wait before
      attempting to reconnect to an FTP server that has denied the login. If the
      value is zero, the login will no be retried.</dd>
  <dt id="max_dirt_limit"><a class="permalink" href="#max_dirt_limit"><i>max_dirt_limit</i></a></dt>
  <dd>Specifies how many screen updates can be skipped at most in the internal
      file viewer. Normally this value is not significant, because the code
      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.</dd>
</dl>
<dl class="Bl-tag">
  <dt></dt>
  <dd>It seems that setting max_dirt_limit to 10 causes the best behavior, and
      that is the default value.</dd>
</dl>
<dl class="Bl-tag">
  <dt id="mouse_move_pages_viewer"><a class="permalink" href="#mouse_move_pages_viewer"><i>mouse_move_pages_viewer</i></a></dt>
  <dd>Controls if scrolling with the mouse is done by pages or line by line on
      the internal file viewer.</dd>
  <dt id="only_leading_plus_minus"><a class="permalink" href="#only_leading_plus_minus"><i>only_leading_plus_minus</i></a></dt>
  <dd>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.</dd>
  <dt id="alternate_plus_minus"><a class="permalink" href="#alternate_plus_minus"><i>alternate_plus_minus</i></a></dt>
  <dd>If true, use '+', '-', '\' and '*' keys normally. For select/unselect, use
      'Alt-+', 'Alt--' and 'Alt-*'.</dd>
  <dt id="show_output_starts_shell"><a class="permalink" href="#show_output_starts_shell"><i>show_output_starts_shell</i></a></dt>
  <dd>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 Midnight Commander.</dd>
  <dt id="timeformat_recent"><a class="permalink" href="#timeformat_recent"><i>timeformat_recent</i></a></dt>
  <dd>Change the time format used to display dates less than 6 months from now.
      See strftime or date man page for the format specification. If this option
      is absent, default timeformat is used.</dd>
  <dt id="timeformat_old"><a class="permalink" href="#timeformat_old"><i>timeformat_old</i></a></dt>
  <dd>Change the time format used to display dates older than 6 months from now
      or for dates in the future. See strftime or date man page for the format
      specification. If this option is absent, default timeformat is used.</dd>
  <dt id="torben_fj_mode"><a class="permalink" href="#torben_fj_mode"><i>torben_fj_mode</i></a></dt>
  <dd>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:</dd>
</dl>
<dl class="Bl-tag">
  <dt></dt>
  <dd>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.</dd>
  <dt></dt>
  <dd>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.</dd>
</dl>
<dl class="Bl-tag">
  <dt id="use_file_to_guess_type"><a class="permalink" href="#use_file_to_guess_type"><i>use_file_to_guess_type</i></a></dt>
  <dd>If this variable is on (the default) it will spawn the file command to
      match the file types listed on the mc.ext.ini file.</dd>
  <dt id="xtree_mode"><a class="permalink" href="#xtree_mode"><i>xtree_mode</i></a></dt>
  <dd>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.</dd>
  <dt id="shell_directory_timeout"><a class="permalink" href="#shell_directory_timeout"><i>shell_directory_timeout</i></a></dt>
  <dd>This variable holds the lifetime of a directory cache entry in seconds.
      The default value is 900 seconds.</dd>
  <dt id="clipboard_store"><a class="permalink" href="#clipboard_store"><i>clipboard_store</i></a></dt>
  <dd>This variable contains path (with options) to the external clipboard
      utility like 'xclip' to read text into X selection from file. For
    example:</dd>
</dl>
<p class="Pp"></p>
<pre>clipboard_store=xclip -i</pre>
<dl class="Bl-tag">
  <dt id="clipboard_paste"><a class="permalink" href="#clipboard_paste"><i>clipboard_paste</i></a></dt>
  <dd>This variable contains path (with options) to the external clipboard
      utility like 'xclip' to print the selection to standard out. For
    example:</dd>
</dl>
<p class="Pp"></p>
<pre>clipboard_paste=xclip -o</pre>
<dl class="Bl-tag">
  <dt id="autodetect_codeset"><a class="permalink" href="#autodetect_codeset"><i>autodetect_codeset</i></a></dt>
  <dd>This option allows use the `enca' command to autodetect codeset of text
      files in internal viewer and editor. List of valid values can be obtain by
      the `enca --list languages | cut -d : -f1' command. Option must be located
      in the [Misc] section.</dd>
</dl>
<p class="Pp">For example:</p>
<p class="Pp"></p>
<pre>autodetect_codeset=russian</pre>
</section>
<section class="Sh">
<h1 class="Sh" id="Parameters_for_external_editor_or_viewer"><a class="permalink" href="#Parameters_for_external_editor_or_viewer">Parameters
  for external editor or viewer</a></h1>
<p class="Pp">Midnight Commander provides a way for specify an options for
    external editors and viewers. Midnight Commander tries to search the
    &quot;[External editor or viewer parameters]&quot; section in the system
    initialization file (the mc.lib file located in Midnight Commander's library
    directory) and then in the ~/.config/mc/ini file. The option name should be
    equal to the name (full pathname) of external editor or viewer. The option
    value can contain following variables:</p>
<dl class="Bl-tag">
  <dt><i>%filename</i></dt>
  <dd>The filename to edit/view.</dd>
  <dt><i>%lineno</i></dt>
  <dd>The start line in the opening file.</dd>
</dl>
<p class="Pp">For example:</p>
<p class="Pp"></p>
<pre>[External editor or viewer parameters]
<br/>
    vi=%filename +%lineno
<br/>
    joe=%filename +%lineno
<br/>
    more=%filename +%lineno</pre>
<p class="Pp">Start line is passed to the external editor/viewer only if it is
    called from the Find file results window.</p>
<p class="Pp">If external editor/viewer is launched via F4/F3 keys, MC hopes
    that program (at least &quot;joe&quot;, but probably others too) has an own
    feature that by default opens the file where it was last open. MC doesn't
    prevent external editor/viewer to save and restore position in opened
  files.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="Terminal_databases"><a class="permalink" href="#Terminal_databases">Terminal
  databases</a></h1>
<p class="Pp">Midnight Commander provides a way to fix your system terminal
    database without requiring root privileges. Midnight Commander searches in
    the system initialization file (the mc.lib file located in Midnight
    Commander's library directory) and in the ~/.config/mc/ini file for the
    section &quot;terminal:your-terminal-name&quot; and then for the section
    &quot;terminal:general&quot;, 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.</p>
<p class="Pp">The possible key symbols are:</p>
<p class="Pp"></p>
<pre>f0 to f20     Function keys f0-f20
bs            backspace
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</pre>
<p class="Pp">For example, to define the key insert to be the Escape + [ + O +
    p, you set this in the ini file:</p>
<p class="Pp"></p>
<pre>insert=\e[Op</pre>
<p class="Pp"></p>
<p class="Pp">Also now you can use <i>extended learn keys.</i> For example:</p>
<p class="Pp"></p>
<pre>
<br/>
    ctrl-alt-right=\e[[1;6C
<br/>
    ctrl-alt-left=\e[[1;6D</pre>
<p class="Pp"></p>
<p class="Pp">This means that ctrl+alt+left sends a \e[[1;6D escape sequence and
    therefore Midnight Commander interprets &quot;\e[[1;6D&quot; as
  C-Alt-Left.</p>
<p class="Pp"></p>
<p class="Pp">The <i>complete</i> key symbol represents the escape sequences
    used to invoke the completion process, this is invoked with Alt-tab, but you
    can define other keys to do the same work (on those keyboard with tons of
    nice and unused keys everywhere).</p>
</section>
<section class="Sh">
<h1 class="Sh">
</h1>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<p class="Pp">Full paths below may vary between installations. They are also
    affected by the <b>MC_DATADIR</b> environment variable. If it's set, its
    value is used instead of /__w/mc/mc/install-prefix/share/mc in the paths
    below.</p>
<p class="Pp"><i>/__w/mc/mc/install-prefix/share/mc/help/mc.hlp</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>The help file for the program.</dd>
</dl>
<p class="Pp"><i>/__w/mc/mc/install-prefix/share/mc/mc.ext.ini</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>The default system-wide extensions file.</dd>
</dl>
<p class="Pp"><i>~/.config/mc/mc.ext.ini</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>User's own extension, view configuration and edit configuration file. They
      override the contents of the system wide files if present.</dd>
</dl>
<p class="Pp"><i>/__w/mc/mc/install-prefix/etc/mc/mc.ini</i>
  <br/>
  <i>/__w/mc/mc/install-prefix/share/mc/mc.ini</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>System-wide setup files for Midnight Commander, used only if the user
      doesn't have his own <b>~/.config/mc/ini</b> file. If
      /__w/mc/mc/install-prefix/etc/mc/mc.ini exists,
      /__w/mc/mc/install-prefix/share/mc/mc.ini isn't used.</dd>
</dl>
<p class="Pp"><i>/__w/mc/mc/install-prefix/share/mc/mc.lib</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>Global settings for Midnight Commander. Settings in this file affect all
      users, whether they have ~/.config/mc/ini or not. Currently, only terminal
      settings are loaded from mc.lib.</dd>
</dl>
<p class="Pp"><i>~/.config/mc/ini</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>User's own setup. If this file is present then the setup is loaded from
      here instead of the system-wide startup file.</dd>
</dl>
<p class="Pp"><i>/__w/mc/mc/install-prefix/share/mc/hints/mc.hint</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>This file contains the hints displayed by the program.</dd>
</dl>
<p class="Pp"><i>/__w/mc/mc/install-prefix/share/mc/mc.menu</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>This file contains the default system-wide applications menu.</dd>
</dl>
<p class="Pp"><i>~/.config/mc/menu</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>User's own application menu. If this file is present it is used instead of
      the system-wide applications menu.</dd>
</dl>
<p class="Pp"><i>~/.cache/mc/Tree</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>The directory list for the directory tree and tree view features.</dd>
</dl>
<p class="Pp"><i>~/.local/share/mc.menu</i></p>
<dl class="Bl-tag">
  <dt></dt>
  <dd>Local user-defined menu. If this file is present, it is used instead of
      the home or system-wide applications menu.</dd>
</dl>
<p class="Pp">To change default root directory of MC, you can use
    <b>MC_PROFILE_ROOT</b> environment variable. The value of MC_PROFILE_ROOT
    must be an absolute path. If MC_PROFILE_ROOT is unset or empty, HOME
    variable is used. If HOME is unset or empty, MC directories are get from
    GLib library.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="LICENSE"><a class="permalink" href="#LICENSE">LICENSE</a></h1>
<p class="Pp">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.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AVAILABILITY"><a class="permalink" href="#AVAILABILITY">AVAILABILITY</a></h1>
<p class="Pp">The latest version of this program can be found at
    https://ftp.osuosl.org/pub/midnightcommander/ .</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h1>
<p class="Pp">ed(1), gpm(1), terminfo(1), view(1), sh(1), bash(1), tcsh(1),
    zsh(1).</p>
<p class="Pp"></p>
<pre>Midnight Commander's page on the World Wide Web:
        https://midnight-commander.org</pre>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">Authors and contributors are listed in the AUTHORS file in the
    source distribution.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">See the file TODO in the distribution for information on what
    remains to be done.</p>
<p class="Pp">If you want to report a problem with the program, please create
    bugreport at https://github.com/MidnightCommander/mc/issues .</p>
<p class="Pp">Provide a detailed description of the bug, the version of the
    program you are running (<i>mc -V</i> displays this information), the
    operating system you are running the program on. If the program crashes, we
    would appreciate a stack trace.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">March 2025</td>
    <td class="foot-os">MC Version 52e18d0</td>
  </tr>
</table>
</body>
</html>

/* [previous][next][first][last][top][bottom][index][help]  */