Provided by: mc-data_4.8.1-2ubuntu1_all bug

/

         "/"   ,    ,   -   .  ""       - C-x o.

  Chown
          "  Chown",   ,    , /.           ,  .

            ,  ,  Midnight Commander     ,  , () ()   .     - (progress bars).
       (file bar) ,      (, ).  (count bar) ,    .  (bytes  bar)    (       ).
       " " (. "/"),     .

               .   <>   ,  .    <>  ,     .

        .

                .       <>  ,   ,    ,  <>,      .  , <>,  , (,   ).

           ,   .   -  - ( ,    ).    .     ("  ?")  :

        ( <>);

       ,       ( <>);

         -   - ( <  >).

               (" ?")   (      ).  4  :

       <>           ;

       <>      ()  , -;

       < >       (    -,    );

       <  >        , <>     .       .

                ,     .   <>    , <>     , <>  ,    , < > -    , <>  .  <>  <>
       ,   , .

             ,        , .    .

    /
             ( ) .         -    ,    (-).  (wildcards)   , .  ,   , (     ) -.
       , ()   ,  -.

          , / , ,     :

       " " ,       -  (   )    ,   ( ),     .

       " ,  " ,  ,   -   ,     (),   ().   ( )  - -.   ,       ,  .     :

               foo     /bla/foo,     .    (   )   mc      foo   /bla/foo.    ,
       /bla/foo/foo.

       " " , /    : ,   ,   root, UID  GID  .    ,   umask.

           shell .

           shell ,     (wildcards) '*'  '?'   .    , shell.        '*'  '\<>'.
       '*'       ,    '*'      ..  ,   '\1'        , '\2' -    ..  '\9'.  '\0'
       -.

        :

           "*.tar.gz",    -  "/bla/*.tgz"     -   "foo.tar.gz",      "foo.tgz"
       "/bla".

               , "file.c"   "c.file".   "*.*",    - "\2.\1".

           shell .

           shell , MC    .      ,    , '\(...\)'.    , .

        :

                 "^\(.*\)\.tar\.gz$",        "/bla/*.tgz"        "foo.tar.gz",
       "/bla/foo.tgz".

       ,          ,      "file.c"    "c.file".    -  "^\(.*\)\.\(.*\)$",     -
       "\2.\1".

               .   '\u'  '\l'   ,     ( )   ()  .

            '\U'  '\L',       ,     '\E'  '\U',   '\L'    .

        '\u'  '\l'    , '\U'  '\L'.

       ,      '*'  (  "    shell"  )  '^\(.*\)$' ( "   shell" ),    '\L\u*', ,
       ,    - .

        '\'  . , '\\'   backslash  '\*'    (asterisk).

       "  " (Stable Symlinks) , Midnight Commander,    .         ,  ,     ../

               .       ()   .   ,     .   , ,     ,   .  shell,       ,  shell
       (*       ,  ?     ).     shell ,    ( ed(1)).              .   ,      .

       mcdiff --      ,    .       (  ).   ,   ,   GIT, Subversion  .

           ,  mcdiff.

       F1   .

       F2    .

       F4     .

       F14     .

       F5    .

       F7       .

       F17        .

       F10, Esc, q .

       Alt-s, s /   .

       Alt-n, l /   .

       f     .

       =     .

       >   .

       <   .

       c /     (CR)  ^M.

       2, 3, 4, 8   .

       C-u   .

       C-r  .

       C-o       .

       Enter, Space, n   .

       Backspace, p   .

       g     .

       Down     .

       Up     .

       PageUp     .

       PageDown     .

       Home, A1    .

       End    .

       C-Home    .

       C-End, C1    .

              : ASCII   (hex).   F4.      gzip  GNU,      .

            ,    .      , ,     .

             (  ),  .     ,     , :

       "String" -1 0xBB 012 "more text"

        ,  012   , -1   0xFF, .

             :  ,     mmap(2)     ; ,      mmap    c    , ,      ,     ,     (
       ).

              ,      .

       F1     .

       F2    .

       F4   ASCII   .

       F5     .    ,    .

       F6, /    .

       ?      .

       F7  .

       C-s, F17, n      , ,    (  )   .

       C-r  , C-s,      .

       n   .

       F8    Raw/Parsed: ,     ,    ,       mc.ext.      ,      F8,     ,   .

       F9  :     .     ,   ,     .

       F3, F10, Esc, q     .

       PageDown, , C-v    .

       PageUp, M-v, Backspace    .

            .

            .

       C-l    .

       C-o   subshell    .

       [n] m     n (  ).

       [n] r      n.

       C-f       .

       C-b        .

       M-r     (//).

        ,  .

        ,    .  F4  ,       1 use_internal_edit.        64 .          .

         : , , ,     ; (key for key undo);  ;   ;  ;   ;  shift-    MSW-MAC  (
       linux-);     -  ;         (an  option to pipe text blocks through shell
       commands like indent).

       :

                -

              .  , ,      ,    ,   F9    .       :  Shift-<  >    .   Ctrl-Ins
       mcedit.clip.     Shift-Ins         mcedit.clip    .    Shift-Del      ,
       mcedit.clip.    Enter    ,    .   ,     Shift,    .

        ,   , Ctrl-R,     ,     .   Ctrl-R      -     ,    ().   Ctrl-A      .
       Meta      (Alt),     Ctrl,      Esc        ,      ,            -      .
       ~/.local/share/mc/mcedit/mcedit.macros    .      .

          F19   (       IBM   PC,     ,       F9,     )        C,    C++     .
       /usr/share/mc/edit.indent.rc    ~/.local/share/mc/mcedit/edit.indent.rc
       .

         (160+).     ,    ""   "7 ", (to keep the spacing clean).

               .   , , F9   .  ,   man- man mcedit info mcedit

  -
             ini-,   .      [Midnight-Commander].

       editor_wordcompletion_collect_entire_file
                       (1)       (0)

       Midnight Commander   (  ,  , )         .       ,   ,  ,  .  .

            : Alt-}, Alt-{, Alt-`     .         .

        Midnight Commander     !

         -       ,    . MC   ,     ( $),   ( ~),   ( @)    (      ,  ;   ,  ).
       ,       .

          , ,   ,   -    .       ( ), MC       , : /.     , Enter.       ,   .
       M-Tab,      ,    ,    (     ).   ,      .           , Esc, F10     /  .
       : ,       , M-Tab  ,    MC    .

         Midnight  Commander   ,      .   (      - virtual file system switch)
       Midnight Commander-  ,   -Unix-  .

          Midnight Commander    -  (VFS):
       -   , Unix;
       -   ftpfs,     FTP;
       -   tarfs,    tar- tar-;
       -   undelfs,     ext2 ( ,   Linux  );
       -   fish (      rsh  ssh);
       - , ,    nfs.
       MC        smbfs,         SMB (CIFS).

          .          :

                ftpfs (FTP File System)
                tar
                FISH (FIle transfer over SHell)
                UFS (Undelete File System)
                smbfs

  ftpfs
         ftpfs .      "FTP-" (      )     cd, :

       ftp://[!][user[:pass]@]machine[:port][remote-dir]

        user, port remote-dir  .  user ,  Midnight Commander     ,   anonymous
       ~/.netrc.  pass ( )     .     (      hotlist,        ;      ).

           ftp://ftp.nuclecu.unam.mx/linux/local
           ftp://tsx-11.mit.edu/pub/linux/packages
           ftp://!behind.firewall.edu/pub
           ftp://guest@remote-host.com:40/pub
           ftp://miguel:xxx@server/pub

          ,      ,      firewall,     ftp://!  (     ),    Midnight  Commander
       ftp.   ...   "".

           -  ,   FTP  ...   "".   -.   (  )  : /usr/share/mc/mc.no_proxy    (
       , ), ,     FTP-     , mc.no_proxy  ,       .

           ftp-   (If  you  are  using  the ftpfs code with a filtering packet
       router), ,   (the  passive-open  mode).   ftpfs_use_passive_connections
       1.

       Midnight  Commander     ,    FTP,  .    ...    "".       , ,      -   ,
       , C-r.      (  ,   ,   ,     FTP  ,      ).

  tar
         tar      tar- tar-,   chdir.    ,    tar-,   ,   :

       cd ./filename.tar/utar://[dir-inside-tar]

        mc.ext tar-,        tar-        tar- Enter.  ,   ,  .

       :

           mc-3.0.tar.gz/utar://mc-3.0/vfs
           /ftp/GCC/gcc-2.7.0.tar/utar://

              tar-.

    FISH (FIle transfer over SHell)
         fish -    ,       ,    .  ,    ,      fish-, bash-  shell.

           (chdir),      :

       sh://[user@]machine[:options]/[remote-dir]

        user, options remote-dir  .  user,  Midnight  Commander   ,     -    ,
       .

        options  :
         'C' -  ;
         'r' -  rsh  ssh;
         port -
         .
        remote-dir, .

       :

           sh://onlyrsh.mx:r/linux/local
           sh://joe@want.compression.edu:C/private
           sh://joe@noncompressed.ssh.edu/private
           sh://joe@somehost.ssh.edu:2222/private

    UFS (Undelete File System)
          Linux      ext2fs,   ,  ,   (     ext2).  UFS (Undelete File System)
       ext2fs,      ,       .

        ,     ( ),     (chdir) ,       "undel://"   , .

       , SCSI-,    :

           undel://sda2

             ,  .   ,  ,         ,     ( , !).

    smbfs
         smbfs     SMB  (CIFS)  (Windows  for  Workgroups,  Windows  9x/ME/XP,
       Windows NT, Windows 2000  Samba).    "SMB ..." ( )        cd,      :

       smb://[username@]machine[/service][/remote-dir]

        username, service remote-dir .  username, domain password      .

       :

           smb://machine/Share
           smb://other_machine
           smb://guest@machine/Public/Irlex

     (EXTernal File System)
       extfs        .

         Extfs    :

       1.    ,   .   'cd  fsname://'  fsname -    extfs (. ).  audio (     CD)
       apt (    Debian).

       ,       CD :

         cd audio://

       2. ""   (  rpm, patchfs  ),     .      '' ,       (urar,  rpm)     ;  ,
       mailbox (mailfs)   diff- (patchfs).  'fsname://'      .       .

       ,      documents.zip :

         cd documents.zip/uzip://

         extfs-     . ,   .  :   shell-  extfs,       .

         extfs-,   Midnight Commander:

       a        DOS/Windows  'A:' (cd a://).

       apt    front end     APT (Debian) (cd apt://).

       audio        CD (cd audio:// or cd device/audio://).

       bpp      Bad Penguin GNU/Linux (cd file.bpp/bpp://).

       deb      Debian GNU/Linux (cd file.deb/deb://).

       dpkg     deb- (cd deb://).

       hp48       /  HP48 (cd hp48://).

       lslR    lslR-,    FTP- (cd filename/lslR://).

       mailfs    mailbox (cd mailbox/mailfs://).

       patchfs
               diff- (cd filename/patchfs://).

       rpm        RPM (cd filename/rpm://).

       rpms       RPM- (cd rpms://).

       ulha, urar, uzip, uzoo, uar, uha
               (cd archive/xxxx://  xxxx  : ulha, urar, uzip, uzoo, uar, uha).

        ,    Debian :

         regex/.deb$
                 Open=%cd %p/deb://

        Midnight Commander  ,  ,  .    .      , -c  -b, .

        ncurses slang.  ncurses      : ncurses      .  ,  ,     , mc -V.

        S-Lang, COLORTERM.        ,     -c.

         , , color_terminals   Colors  .    Midnight Commander    ,  . :

       [Colors]
       color_terminals=linux,xterm
       color_terminals=terminal-name1,terminal-name2...

       Midnight Commander     ,   .  MC_COLOR_TABLE    Colors  .

         Colors  () base_color.         ,       . :

       [Colors]
       base_color=
       xterm=menu=magenta:marked=,magenta:markselect=,red

         :

         <keyword>=<fgcolor>,<bgcolor>,<attributes>:<keyword>= ...

           ,       (keywords)   :       :  normal, selected, disabled, marked,
       markselect, errors, input, inputmark, inputunchanged,  commandlinemark,
       reverse,   gauge,  header,  inputhistory,  commandhistory.      F1-F10:
       bbarhotkey, bbarbutton.        : statusbar.    :  menunormal,  menusel,
       menuhot,  menuhotsel,  menuinactive.     : dnormal, dfocus, dhotnormal,
       dhotfocus.   -  : errdfocus, errdhotnormal, errdhotfocus, errdtitle.  :
       helpnormal,  helpitalic,  helpbold,  helplink, helpslink.   : viewbold,
       viewunderline,  viewselected.    :  editnormal,  editbold,  editmarked,
       editwhitespace, editlinestate.     : pmenunormal, pmenusel, pmenutitle.

          .    ,       .     .

       header    , ,   .

       input        ;

       inputmark         ;

       inputunchanged            ;

       commandlinemark      ;

       gauge      (progress bar),       ( .).  disabled    ,     -    .

            : dnormal    , dfocus - ,       , dhotnormal - ,    "" , dhotfocus
       ""  .

             ,   menunormal, menusel, menuhot, menuhotsel  menuinactive.

           : helpnormal -    , helpitalic -   ,   man- , helpbold -   ,   man-
       , helplink -    , helpslink -       .

            : pmenunormal -         , pmenusel -    , pmenutitle -    .

         :  black,  gray,  red,  brightred, green, brightgreen, brown, yellow,
       blue, brightblue, magenta, brightmagenta, cyan,  brightcyan,  lightgray
       white.    "default".   "default" .    MC : "base".    256 ,  :  color16
       color255   rgb000  rgb555   gray0  gray23.  :

       [Colors]
       base_color=normal=white,default:marked=magenta,default

           "bold",  "underline",  "reverse"   "blink".      ,       "+".   The
       special  word  "none"  menas  no attributes, without attempting to fall
       back to base_color. :

       menuhotsel=yellow;black;bold+underline

            Midnight Commander'.   ,         .     -.     , .

             256- ,  '256colors'   TRUE   [skin].

        -     (   ):

              1) -S <> --skin=<>
              2) MC_SKIN
              3) skin [Midnight-Commander]  .
              4) /etc/mc/skins/default.ini
              5) /usr/share/mc/skins/default.ini

                 -     (  .ini   ).    -      ( ):

              1) ~/.local/share/mc/skins/
              2) /etc/mc/skins/
              3) /usr/share/mc/skins/

          ,   :

        [skin]  ,    -.  description   .

        [filehighlight]         .             .     .

        [core]   ,  .

       _default_
                .      ( ),

       selected

       marked

       markselect

       gauge      (progress bar)

       input

       reverse

        [dialog]      (   ).

       _default_
                   .   ,   [core]._default_

       dfocus  ,

       dhotnormal

       dhotfocus
               ,

        [error]    -  .

       _default_
                   .   ,   [core]._default_

       errdhotnormal

       errdhotfocus
               ,

        [menu]   ,   .  (  F9),     (F2    F11  ).

       _default_
                   .   ,   [core]._default_

       entry

       menuhot

       menusel

       menuhotsel
               ,

       menuinactive

        [help]       .

       _default_
                   .   ,   [core]._default_

       helpitalic
               italic

       helpbold
               bold

       helplink

       helpslink
               ,

        [editor]

       _default_
                   .   ,   [core]._default_

       editbold
               bold

       editmarked

       editwhitespace
                  ""

       editlinestate
                  .

        [viewer]

       viewunderline
               underline

          -   .

               ,   ";".      ,  -  .        ,         ( ).

       :
       [core]
           #
           _default_=green;black
           #  (.)
           selected=;blue
           #    (.)
           marked=yellow;;underline

         () .

        [Lines]  -.     ,     utf-8 ,

       !!!    Midnight Commander   Ncurses  !     .        Ncurses.

        [Lines]:

       lefttop

       righttop

       centertop

       centerbottom

       leftbottom

       rightbottom

       leftmiddle

       rightmiddle

       centermiddle

       horiz

       vert

       thinhoriz

       thinvert

           -   , .

               -  .

        [filehighlight]   - (   )      .

               /etc/mc/filehighlight.ini     (~/.config/mc/filehighlight.ini).
       [filehighlight]   -.

              :

       type    .   ,

       regexp  .  ,  'extensions' .

       extensions
                .    ';'.

       extensions_case
              (     'extensions')   'extensions'     (true)    (false).

        'type' ( )   :
       - FILE ( )
         - FILE_EXE
       - DIR ( )
         - LINK_DIR
       - LINK (  (),  "" )
         - HARDLINK
         - SYMLINK
       - STALE_LINK
       - DEVICE (  )
         - DEVICE_BLOCK
         - DEVICE_CHAR
       - SPECIAL (  )
         - SPECIAL_SOCKET
         - SPECIAL_FIFO
         - SPECIAL_DOOR

         Midnight Commander  .    , ~/.config/mc/ini.

       clear_before_exec

                Midnight Commander     .    ,      ,   clear_before_exec  0.

       confirm_view_dir

               F3   , MC    .       1, MC     , ,       - .

       ftpfs_retry_seconds

                   ( ),  Midnight Commander   ftp-  , .    ,  .

       ftpfs_use_passive_connections

                  .   FTP   ,  ,   (behind a filtering packet router).       ,
              (you are not using an ftp proxy).

       max_dirt_limit

              ,         .        ,   .     (keyboard auto repeat)       ,    a
              .

              -,  max_dirt_limit,  10, ,       .

       mouse_move_pages_viewer

              ,     (scrolling)  ,    ,     .

       only_leading_plus_minus

                   '+', '-', '*'  .     ,  ,  .     ,      , .

       show_output_starts_shell

                    , subshell.   , C-o .

       torben_fj_mode

               Home  End   .  , ()       , ,       :

               Home -      ,  ,        ;       ,    .

               End    - ,    ;   -    ;     ,        .

       use_file_to_guess_type

                  (   ), mc file         , mc.ext.

       xtree_mode

                  (   ),       .

       clipboard_store
                    ( )    ,   'xclip',  .  :

       clipboard_store=xclip -i

       clipboard_paste
                    ( )    ,   'xclip',  .  :

       clipboard_paste=xclip -o

       autodetect_codeset

                    enca          .   "enca  --list languages | cut -d : -f1".
              [Misc].

       :

       autodetect_codeset=russian

       Midnight Commander   , .  Midnight  Commander   (  mc.lib      Midnight
       Commander)      ~/.config/mc/ini         "terminal:your-terminal-name",
       "terminal:general".  ,    ,   .  \e     , ^x control-x

           :

       f0 - f20        ,

                      f0-f20
       bs              ,
                         backspace
       home              Home
       end               end
       up                " "
       down              " "
       left              " "
       right             " "
       pgdn              page down
       pgup              page up
       insert            insert
       delete            delete
       complete
                     " "

       ,  ,  ,   insert   Escape + [ + O + p    ini  :

       insert=\e[Op

        " " M-tab, complete (    ,    ,  !).

              , MC_DATADIR.      ,    Midnight Commander.  ,    , mc -f.

       /usr/share/mc/mc.hlp

                 .

       /usr/share/mc/mc.ext

                   .

       ~/.config/mc/mc.ext

                .    ,    .

       /usr/share/mc/mc.ini

                     Midnight Commander;     , ~/.config/mc/ini

       /usr/share/mc/mc.lib

                 Midnight Commander.     ,   , ~/.config/mc/ini  .    mc.lib.

       ~/.config/mc/ini

                .    ,    ,  .

       /usr/share/mc/mc.hint

                  (hints  cookies),  .

       /usr/share/mc/mc.menu

                   .

       ~/.config/mc/menu

                .    ,    .

       ~/.cache/mc/Tree

                 , "/ " .     . ,    ("/")   .    ,  .      ,

               find / -type d -print | sort > ~/.cache/mc/Tree

                   ,   Midnight Commander    .

       ./.mc.menu

               ,  .    ,  .

           ,    , - ;      .       GNU.

          Midnight Commander ftp://ftp.gnu.org/gnu/mc/.

       ed(1), gpm(1), terminfo(1), view(1), sh(1), bash(1),  tcsh(1),  zsh(1),
       mcedit(1).

       ,  Midnight Commander,  World Wide Web:
            http://www.midnight-commander.org/

            ,   4.6.0 ( 2003 ).   ,      .      bash
       LANG= man mc

       Miguel     de     Icaza     (miguel@ximian.com),    Janne    Kukonlehto
       (jtklehto@paju.oulu.fi),  Radek  Doulik  (rodo@ucw.cz),  Fred  Leeflang
       (fredl@nebula.ow.org),   Dugan   Porter   (dugan@b011.eunet.es),  Jakub
       Jelinek (jj@sunsite.mff.cuni.cz), Ching Hui  (mr854307@cs.nthu.edu.tw),
       Andrej     Borsenkow     (borsenkow.msk@sni.de),     Norbert    Warmuth
       (nwarmuth@privat.circular.de),              Mauricio              Plaza
       (mok@roxanne.nuclecu.unam.mx),  Paul  Sheer  (psheer@icon.co.za), Pavel
       Machek  (pavel@ucw.cz)  and  Pavel  Roskin  (proski@gnu.org)  are   the
       developers  of this package. Alessandro Rubini (rubini@ipvvis.unipv.it)
       has been especially helpful debugging and enhancing the program's mouse
       support,  John Davis (davis@space.mit.edu) also made his S-Lang library
       available to us under the GPL and answered my questions about  it,  and
       the  following  people  have  contributed  code  and many bug fixes (in
       alphabetical order):

       Adam  Tla/lka  (atlka@sunrise.pg.gda.pl),   alex@bcs.zp.ua   (Alex   I.
       Tkachenko),  Antonio Palama, DOS port (palama@posso.dm.unipi.it), Erwin
       van Eijk (wabbit@corner.iaf.nl), Gerd  Knorr  (kraxel@cs.tu-berlin.de),
       Jean-Daniel      Luiset      (luiset@cih.hcuge.ch),     Jon     Stevens
       (root@dolphin.csudh.edu),   Juan   Francisco   Grigera,   Win32    port
       (j-grigera@usa.net),  Juan  Jose Ciarlante (jjciarla@raiz.uncu.edu.ar),
       Ilya    Rybkin    (rybkin@rouge.phys.lsu.edu),    Marcelo    Roccasalva
       (mfroccas@raiz.uncu.edu.ar),   Massimo  Fontanelli  (MC8737@mclink.it),
       Sergey    Ya.    Korshunoff    (root@seyko.msk.su),    Thomas     Pundt
       (pundtt@math.uni-muenster.de),               Timur              Bakeyev
       (timur@goff.comtat.kazan.su),              Tomasz               Cholewo
       (tjchol01@mecca.spd.louisville.edu),         Torben        Fjerdingstad
       (torben.fjerdingstad@uni-c.dk), Vadim  Sinolitis  (vvs@nsrd.npi.msu.su)
       and Wim Osterholt (wim@djo.wtm.tudelft.nl).

             -  .., 1999.  ,         mandoc -  .. <sav@bcs.zp.ua>, 2002 .

              TODO,       .

            -   , , ,    e-mail  : mc-devel@gnome.org.

              (/    ),     ( mc -V),       .    ,    ,  .