MC(1) GNU Midnight Commander MC(1) mc - Unix- . mc [-abcCdfhPstuUVx] [-l ] [1 [2]] [-e [] ...] [-v ] Midnight Commander Midnight Commander - , UNIX- . Midnight Commander -a, --stickchars . -b, --nocolor - . -c, --color . . -C arg, --colors=arg , . arg . --configure-options , Midnight Commander. -d, --nomouse . -e [] . "" , . mcedit(1). -f, --datadir Midnight Commander. -F, --datadir-info , Midnight Commander. -g, --oldmouse "normal tracking". xterm- (, tmux/screen). -k, --resetsoft , , termcap/terminfo. HP, . -K , --keymap= . -l , --ftplog= FTP- file. --nokeymap , . -P , --printwd= Midnight Commander . . , , Midnight Commander. , /usr/lib/mc/mc.sh bash zsh, tcsh /usr/lib/mc/mc.csh -s, --slow , ( ) () . -S arg, --skin=arg , . . -t, --termcap , S-Lang terminfo: Midnight Commander TERMCAP . -u, --nosubshell shell ( , Midnight Commander ). -U, --subshell subshell ( , Midnight Commander subshell ). -v file Midnight Commander- . Midnight Commander shell. -V, --version . -x, --xterm xterm. , xterm ( ) (two screen modes, and able to send mouse escape sequences). -X, --no-x11 X11 Alt, Ctrl, Shift. , , - . , , , "other_dir" panels.ini. , , - , "other_dir" panels.ini. Midnight Commander . , "", - . , , , . , . , , . ( ) F1 - F10. . ; , F9. Midnight Commander . , . , . , , . - . , () . ( ) , , . Midnight Commander, () Enter. , . Midnight Commander . , xterm(1) ( xterm , telnet, ssh rlogin) Linux gpm. , ( ); , ( , ). ( ); , , , . , , . (auto repeat rate) 400 . mouse_repeat_rate ~/.config/mc/ini Commander , Commander , , ( ), Shift. Midnight Commander Control ( CTRL CTL) Meta ( ALT Compose). : C-<> , Control <>. C-f : Control , , ( ) f. Alt-<> , Alt Meta <>. Alt Meta, Esc, , <>. S-<> , Shift <>. Midnight Commander "" , GNU Emacs. "" , . . : , , "". , . . , ( ""). (Shell) , . / ( ) . , , . . Midnight Commander , . /etc/mc/mc.keymap /usr/share/mc/mc.keymap, . , , ( ): 1) -K <> --keymap=<> 2) MC_KEYMAP 3) keymap [Midnight-Commander] . 4) ~/.config/mc/mc.keymap ( .keymap ). ( ): 1) ~/.config/mc/ 2) /etc/mc/ 3) /usr/share/mc/ , , : Enter ( ) - , ( , ). , , Midnight Commander chdir(2) ; , . , , , , . C-l , Midnight Commander. C-x c Chmod . C-x o Chown . C-x l . C-x s . C-x v . C-x i "". C-x q . C-x ! " ". C-x h " ". Alt-! " ", " "". Alt-? " ". Alt-c " ". C-o Midnight Commander Linux FreeBSD, xterm, . Linux- Midnight Commander (cons.saver) . Midnight Commander (subshell), - Midnight Commander C-o Midnight Commander-. C-o. , , Midnight Commander , . , . , , . Tab, C-i () . , , , . Insert, C-t , , Insert (the kich1 terminfo sequence). . Alt-e , Alt-e (M-e). . " " . Alt-g, Alt-r, Alt-j , , , . Alt-t . (long listing) , . C- (control-backslash) " " . + (plus) , () , . , . , , , . shell, , shell ('*' , '?' ). shell , ( ed (1)). . , .  (backslash) "\" , , , "+". Up, C-p . Down, C-n . Home, a1, Alt-< . End, c1, Alt-> . PageDown, C-v . PageUp, Alt-v . Alt-o , . , . Alt-i . , . , . C-PageUp, C-PageDown mc Linux: , , (chdir) ("..") . Alt-y ; '<' . Alt-u ; '>'. Alt-S-h, Alt-H ; 'v' . , , . C-s Alt-s , . - , -. , . Backspace DEL . C-s , . C-s, . '*' '?'. , . Alt-Enter . C-Enter , Alt-Enter, Linux. Alt-Tab (completion) , , , ( , ). C-x t, C-x C-t ( , ) (C-x t) (C-x C-t). C-x p, C-x C-p , - , . C-q (the quote command) , , - Midnight Commander- (, '+'). Alt-p, Alt-n . Alt-p , Alt-n - . Alt-h ( - ). , . , . , . Midnight Commander- , . Up, C-p Down, C-n PageUp, Alt-v PageDown, C-v Home, A1 . End, C1 . : b, C-b, C-h, Backspace, Delete Space bar u, d . g, G . ( , ) : C-a . C-e . C-b, Left . C-f, Right . Alt-f . Alt-b . C-h, Backspace , . C-d, Delete . C-@ , ( ) . C-w , , , . Alt-w , , . C-y . C-k . Alt-p, Alt-n . Alt-p , Alt-n - . Alt-C-h, Alt-Backspace . Alt-Tab (completion) , , , . Midnight Commander F9 . : "", "", ", " "". . "" " " ("" "") , , ( ) , , . "" - . "" , . "" , Midnight Commander. , . ( ) , , ( ) ( ). ... . 4 : , , . , . (brief) , ( 1 9), . (long) , ls -l. . " " ("User"), . : "half" ( ) "full" ( ). , . 2 . . : name . size . bsize , , "-" ("SUB-DIR") "" ("UP--DIR"). type . , ls -F: * (asterisk) , / (slash) , @ (at-sign) (links), = ( ) (sockets), - (hyphen) - , + - , | (pipe) FIFO, ~ () , ! ( ) (stale) (, ). mark (asterisk) , - . mtime . atime . ctime . perm , . mode . nlink . ngid (GID, ). nuid (UID, ). owner . group , . inode inode . : space . | . , ':', , . '+', , , , . , : half type name | size | mtime - : full perm space nlink space owner space group space size space mtime space name , : half name | size:7 | type mode:3 , , : (, inode). , , "" ("Commands"). . , . , , Tab , . ... : - ; - ; - ; - ; - ; - ; - (inode); - . , , , ( "". , , . ... "" , , (, *.tar.gz). () . , , , . , . shell, , shell ('*' , '?' ). / ( ed(1)). , . . "" , . , . Midnight Commander F1 - F10 "" , "". Escape-, F1 - F10, terminfo kf1 - kf10. , Esc, 1 9 0 ( F1 - F9 F10). "" : , . , , "" "", , PAGER. PAGER , . F3 F13, . , . , ( ). . vi, , EDITOR, ( " / "). , . , , ( , ) , . , , . , preallocate_space. , ( "*" "^\(.*\)$", shell, (wildcards) , /. Esc , . , [] , [ ] ( Alt-b ). "/ ", . . . . . , : , . , , , , . "" (link) "" (alias) "" (shortcut). . , , . ( ), ( -). . , . - . , . , Midnight Commander , "@" ( , '~'). - ( - ), . , , . C-x s, Midnight Commander : , . . , , . : /home/frodo/mc/mc -> /home/frodo/new/mc , : /home/frodo/mc/mc -> ../new/mc , C-x v C-x s. / chown. () . , , ( , ) , . , , , . , ( ). . , ( , ) . , C-c Esc . , ( ). . Midnight Commander , . , . , , . shell, , shell ('*' , '?' ). shell , ( ed (1)). . , . . . Midnight Commander. S-F10 , shell wrapper. S-F10 , Midnight Commander, , , Midnight Commander. , , , cd. , , cd. Enter. '' . Midnight Commander . , . . "" - Alt-?. . "" - C-u. . xterm Linux FreeBSD. "" - C-o. ("" C-x d) , . , . . . (). , mmap(2). , . , ( - find). . ( - Up/Down, - Enter). Alt-p Alt-n, . Alt-p , Alt-n - . , , . , . . [] . [ ] . , / [ ]. , MC, . ( ) , (, ) . Enter. ( F2). " " , . : " " "" "" . , Midnight Commander . , , , C-r ( F2). : . Enter . Enter , . C-r, F2 . , : . F3 . . , F2. F4 ( ) . ( ) Up/Down. . Up/Down . Left, Right , . ( ), . . F5 ( , , ). F6 . F7 () . F8 . C-s, Alt-s , . , . C-h, Backspace () . , . C-s. -. : F1 (Help) . Esc, F10 . . . Enter. . " " , , . [], . " " , . " shell" , , . . "" , . , . , (, "foo", "foobar"). , []. [] []. , Up Down. [] , . [] . [] . [] , , - (, , , ). "..". , (, , CD-ROM , NFS ). . /cdrom:/nfs/wuarchive:/afs . , : /cdrom:/nfs/wuarchive:/afs:.svn:.git:CVS : (.), . (. ) , " " . " " ( " ") . , - , " " : find . -type l -print , , . , FTP-, : awk '$9 ~! /incoming/ { print $9 }' < /var/log/xferlog , , . []. , . , . " " ( ), . . " ", /. C-x h, . . . CDPATH ( cd. "" ~/.config/mc/mc.ext.ini. root, /etc/mc/mc.ext.ini. root, , : ~/.config/mc/mc.ext.ini /etc/mc/mc.ext.ini. . , Midnight Commander ( ). "" C-x j, , . . . : , . F2 , Midnight Commander .mc.menu ( root ). , ~/.config/mc/menu, mc /usr/share/mc/mc.menu. . '#'. '#', . , , , , , "" . , , , . . - , ( /usr/tmp) . , . , ( ). mc.menu: 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 "Midnight Commander bug" root < $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 && tar xvpf -) K Make a release of the current subdirectory echo -n "Name of distribution file: " read tar ln -s %d `dirname %d`/$tar cd .. tar cvhf ${tar}.tar $tar = f *.tar.gz | f *.tgz & t n X Extract the contents of a compressed tar file tar xzvf %f (Default Conditions) . , , '=' . , , . : = : = | ... : = & ... : y . . f ? F ? d ? D ? t ? T ? x filename ? ! (pattern) - (shell pattern) , "shell patterns". "shell patterns" "shell_patterns=x" ( "x" 0 1). : n r (regular file) d l (link) c - (char special) b - (block special) f fifo s socket x t (tagged) , 'rlf' , , fifo. 't' , , , . '=t t' , , , . "=?" '=', (a debug trace will be shown whenever the value of the condition is calculated). . , = f *.tar.gz | f *.tgz & t n ( (f *.tar.gz) | (f *.tgz) ) & (t n) : = f *.tar.gz | f *.tgz & t n L List the contents of a compressed tar-archive gzip -cd %f | tar xvf - (Addition Conditions) '+' ( "+?") '=' ( "=?") - . , , - . , "+=" "=+" ( , "+=?" "=+?"). , , - , , - '+', - '='. '' Midnight Commander (), , , "". , "x" . , Midnight Commander. , mc . . , , . , . , , ( ) , (, ). , , , , , . , , . ini- . , , : " ", " Esc", " " " ". . , , , . , . , 9600 bps. . , Midnight Commander , - (, ). , . . , (, , ) . , : . . . F7 , . . . , . . Esc Midnight Commander Esc , - Esc-key. Esc , . Esc . . . , (. ), , Esc "" (Esc Esc). . ( ) Esc. 1 (1000000 ). , KEYBOARD_KEY_TIMEOUT_US ( ), . Midnight Commander , . : . , . Linux FreeBSD xterm , C-o. "" . , ( , xterm Linux). . . . , . , , EDITOR. , vi . . , . , , PAGER. , view. . . , . , (), . . , . . , F9 ( ). , ( ) Enter "" . shell. Select, Unselect Filter , , (shell- like regular expressions). , : '*' '.*' ( ); '?' '.' ( ) '.' . , , ed(1). : . Midnight Commander Alt-Tab, . Alt-Tab , ( ), . Alt-Tab . Alt-Tab, . . , Midnight Commander , - (). . , Midnight Commander , cd. bash. , Midnight Commander cd , , cd .. , , . . , . [] []. . . , . [] []. . . , Midnight Commander ~/.config/mc/ini. " " Midnight Commander. , , : " ", " " " ". . , : . Alt-, (Alt-). . . . . , Midnight Commander Linux FreeBSD. , . . , . . . , . . . , 10 , F1 - F10. . . , Midnight Commander. . xterm. X11 Midnight Commander xterm . , . . . , . . -. , . . . , Midnight Commander ( 10). . Midnight Commander ( 2). /. , . , ( ) , - . . (Backup) . , Midnight Commander , '~' ( -B ls GNU). . . , Midnight Commander , ( ls -a). . . . , Midnight Commander : , i-node , ; i-node ( , ..) . ( ) ( C-r). . ( Insert), . . ( ), , . . , , . . . , : . , , . . . ( ), Midnight Commander' ~/.config/mc/panels.ini. lynx. , Rigth Left ( , ). . . ( ), () , , ( , , ). , . . , (scrolling) , , . . , , . - . , , . , perm mode , , Midnight Commander, , selected. , /etc/mc/filehighlight.ini. . : , : . - . , , , , , MC, , . , . . . , . ... . 7- , "7 ". "ISO-8859-1" ISO-8859-1, " 8- " , 8- . ... (Learn keys) , ( F1 - F20, Home, End), . , . , Tab , vi ('h' , 'j' , 'k' , OK, . . , OK. . , F1 ( ), . . Tab . - , OK . , () , . ( Tab) Enter . , , . Esc , . , ( ). , [terminal:TERM] ~/.config/mc/ini ( TERM - ) . , , , . . Midnight Commander , (, FTP-). , (, tar-) Midnight Commander . , , . TAR : , tar-, . tar- ( tar- - ), ( tar- /), TAR tar-. tar-, , , . - , Midnight Commander . , , . 1 . TAR. FTP , FTP-, ( ). , , - FTP. FTP, FTP-. , - (proxy host), ftp Midnight Commander , -. FTP: - , "anonymous". , , , , , . ~/.netrc, FTP. .netrc .netrc (5). FTP . Midnight Commander ~/.config/mc/ini. , mc.ini. , , mc -f. ( MC). , MC . ~/.config/mc/ini, , , . ( "/"), MC . . - - . . MC , , ( ), Enter. Enter , , , Midnight Commander , . , , . . cd cd , Midnight Commander. , , : (~) , , . , ~guest - guest, ~/guest - guest . , '-', : cd - CDPATH , cd, , Midnight Commander CDPATH , . , CDPATH ~/src:/usr/src, ~/src /usr/src, (cd linux /usr/src/linux). , , , , . %i , . . %y . . %k . %e . %m . %f %p : . : . %x . %b . %d . %F . %D . %t . %T , . %u %U %t %T, . , , , . %s %S : , ; , . %cd , , . . %view . , . , . : ascii - ascii; hex - hex; nroff - , (bold) nroff; unformatted - , nroff ; %% % %{ } . , . , . Esc F10 , . . %var{ENV-VAR:default} ENV-VAR, , default. ${VAR-def} . subshell subshell - , bash, tcsh zsh. subshell , Midnight Commander (a concurrent copy) ( SHELL , , /etc/passwd) -, , . subshell. , shell (aliases), Midnight Commander. bash, , subshell, ~/.local/share/mc/bashrc ~/.local/share/mc/inputrc. zsh, , subshell, ~/.local/share/mc/.zshrc . tcsh ~/.local/share/mc/tcshrc. subshell C-o Midnight Commander ( ). , , . subshell , (prompt), Midnight Commander , . , () subshell. " " chmod - . "" C-x c. " " : " " "". "" , . " " -, . . -. . - Tab. , "". , Enter []. []. "" -. . , , [] Enter [ ]. , , , Ins t. , - . ( ): [ ] ( ) -, () . , . [ ] , , 1. [ ] , , 0. [] ( ), , [ ]. [] Chmod. / "/" , , - . "" - C-x o. Chown " Chown", , , /. , . Chattr " Chattr" chattr - Linux. "" C-x e. . ( chattr(1), - , . - . . -. . - Tab. , . , Enter []. []. . , , [] Enter [ ]. , , , Ins t. , - . ( ): [ ] ( ) -, () . , . [ ] . [ ] . [] ( ), , [ ]. [] Chattr. , , Midnight Commander , , () () . - (progress bars). (file bar) , (, ). (count bar) , . (bytes bar) ( ). (. /. ), . . [] , . [] , . . . [] , , , [] , . , [] , , (, ). , . - - ( , ). . (" ?") : [] ; [] , ; [ ] - -. (" ?") ( ). : [] ; [] () , -; [ ] ( -, ); [ ] , [] . - Tab. , . [] . [] . [] , , [ ] - . [] . [] [] , , . , , . . / ( ) . - , (-). (wildcards) , . , , ( ) -. , () , -. , / , , : , - ( ) , ( ), . , , , - , (), (). ( ) - -. , , . : /foo, bar, /bla/foo. , MC /foo/bar /bla/foo/bar. , /bla/foo/foo /foo/bar /bla/foo/foo/bar. , / : , , root, UID GID . , umask. shell , (wildcards) '*' '?' . , shell. '*' '\<>'. '*' , '*' . . , '\1' , '\2' - . . '\9'. '\0' -. : "*.tar.gz", - "/bla/*.tgz" - "foo.tar.gz", "foo.tgz" "/bla". , "file.c" "c.file". "*.*", - "\2.\1". 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). , 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" 34 0xBB 012 "more text" . "34" 0x34. 0x : "0xBB" "BB". "012" , 0x12. : , mmap(2) ; , mmap c , , , , ( ). , . F1 . F2 . F4 ASCII . F5 . , , . F7, /, ? . , . ?, "". C-s . C-r , C-s, . F17, n . N : , , . F8 Raw/Parsed: , , , mc.ext.ini. , F8, , . F9 : . , , . F3, F10, Esc, q . PageDown, , C-v . PageUp, Alt-v, Backspace . Down . Up . C-l . C-o subshell . [n] m n ( ). [n] r n. C-f . C-b . Alt-r (//). , . , . F4 , 1 use_internal_edit. 64 . . : , , , ; ; ; ; ; ; S-<-> MSW-MAC ( linux-); - ; (an option to pipe text blocks through shell commands like indent). : ini- . , , , F9 . : S-<-> . C-Ins mcedit.clip. S-Ins mcedit.clip . S-Del , mcedit.clip. Enter , . , Shift, . , C-R, , . C-R - , (). C-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 ", . . , , F9 . , man- man mcedit . ini- ini-, . [Midnight-Commander]. editor_wordcompletion_collect_entire_file (1) (0) Midnight Commander ( , , ) . , , , . . : Alt-}, Alt-{, Alt-` . . Midnight Commander ! - , . MC , ( $), ( ~), ( @) ( , ; , ). , . , , , - . ( ), MC , : /. , Enter. , . Alt-Tab, , , ( ). , . , Esc, F10 Left/Right. ": " , , Alt-Tab , MC . '?', '*' '&' ( \?, \*, \&) , . Midnight Commander , . ( - virtual file system switch) Midnight Commander- , -Unix- . Midnight Commander - (VFS): - , Unix; - ftpfs, FTP; - tarfs, tar- tar-; - undelfs, ext2 ( , Linux ); - shell ( rsh ssh); - , , nfs. . : FTP TAR SHELL (FIle transfer over SHell) SFTP (SSH File Transfer Protocol) UFS (Undelete File System) FTP FTP . "FTP-" ( ) cd, : ftp://[!][user[:pass]@]machine[:port][remote-dir] user, port remote-dir . user , Midnight Commander , anonymous ~/.netrc. pass ( ) . ( , ; ). 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- ... "". -. ( ) : /etc/mc/mc.no_proxy ( , ), , FTP- , mc.no_proxy , . FTP- , , . 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.ini tar-, tar- tar- Enter. , , . : mc-3.0.tar.gz/utar://mc-3.0/vfs /ftp/GCC/gcc-2.7.0.tar/utar:// tar-. SHELL (FIle transfer over SHell) shell - , , . , 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 SFTP (SSH File Transfer Protocol) SFTP - , , . , SFTP-. (chdir), : sftp://[user@]machine[:port]/[remote-dir] user, port remote-dir . user, Midnight Commander , - , . port . remote-dir, . : sftp://onlyrsh.mx/linux/local sftp://joe:password@want.compression.edu/private sftp://joe@noncompressed.ssh.edu/private sftp://joe@somehost.ssh.edu:2222/private ~/.ssh/known_hosts file. / , , , : [] / ~/.ssh/known_hosts . [] / ~/.ssh/known_hosts ( ). [] . UFS (Undelete File System) Linux ext2fs, , , ( ext2). UFS (Undelete File System) ext2fs, , . ( ), (chdir) , "undel://" , . , SCSI-, : undel://sda2 , . , , , ( , !). (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://" 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 S-Lang. 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 : =,,:= ... , : : 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. : viewnormal, viewbold, viewunderline, viewselected. : editnormal, editbold, editmarked, editwhitespace, editnonprintable, 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", "italic", "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 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 () . ( ) . . , . : [aliases] myfavfg=green myfavbg=black myfavattr=bold+italic [core] _default_=myfavfg;myfavbg;myfavattr [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). , FTP-. max_dirt_limit , . , . (keyboard auto repeat) , a . -, max_dirt_limit, 10, , . mouse_move_pages_viewer , (scrolling) , , . only_leading_plus_minus '+', '-', '*' . , , . , , . alternate_plus_minus , '+', '-', '\' and '*' . , , 'Alt-+', 'Alt--' 'Alt-*' . show_output_starts_shell , subshell. , C-o . torben_fj_mode Home End . , () , , : Home - , , ; , . End - , ; - ; , . use_file_to_guess_type ( ), mc file , mc.ext.ini. 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 . [External editor or viewer parameters], (mc.lib), (~/.config/mc/ini) . . : %filename . %lineno . : [External editor or viewer parameters] vi=%filename +%lineno joe=%filename +%lineno more=%filename +%lineno , . F4 F3, MC , , . , , "joe" . MC . 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 Up down Down left Left right Right pgdn Page Down pgup Page Up insert Insert delete Delete complete " " , , , Insert "Escape + [ + O + p", ini : insert=\e[Op " " Alt-Tab, complete ( , , !). , MC_DATADIR. , Midnight Commander. , mc -f. /usr/share/mc/help/mc.hlp . /usr/share/mc/mc.ext.ini . ~/.config/mc/mc.ext.ini . , . /etc/mc/mc.ini /usr/share/mc/mc.ini Midnight Commander; , ~/.config/mc/ini. /etc/mc/mc.ini , /usr/share/mc/mc.ini . /usr/share/mc/mc.lib Midnight Commander. , , ~/.config/mc/ini . mc.lib. ~/.config/mc/ini . , , . /usr/share/mc/hints/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 , . , . MC, , MC_PROFILE_ROOT. . MC_PROFILE_ROOT , HOME. HOME , MC GLib. , , - ; . GNU. Midnight Commander http://ftp.midnight-commander.org/. ed(1), gpm(1), terminfo(1), view(1), sh(1), bash(1), tcsh(1), zsh(1), mcedit(1). , Midnight Commander, World Wide Web: https://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 (seyko2@gmail.com), 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 - .. , 2002 . TODO, . - , , , https://www.midnight-commander.org/. (/ ), ( mc -V), . , . MC Version 4.8.31 March 2024 MC(1)