* doc/mc.1.in (Configuration): Clarify some entries.
[midnight-commander.git] / doc / mc.1.in
blobdc134f6aa7bea402ee69811593145a38394333e8
1 .TH mc 1 "30 October 1998"
2 .\"SKIP_SECTION"
3 .SH "NAME"
4 mc \- Visual shell for Unix-like systems.
5 .\"SKIP_SECTION"
6 .SH "USAGE"
7 .B mc
8 [\-abcCdfhPstuUVx?] [\-l log] [dir1 [dir2]] [-v file]
9 .SH "DESCRIPTION"
10 .LP
11 The Midnight Commander is a directory browser/file manager for
12 Unix-like operating systems.  
13 .\".\"DONT_SPLIT"
14 .SH "OPTIONS"
15 .TP
16 .I "\-a"
17 Disables the usage of graphic characters for line drawing.
18 .TP
19 .I "\-b"
20 Forces black and white display.
21 .TP
22 .I "\-c"
23 Force color mode, please check the section
24 .\"LINK2"
25 Colors
26 .\"Colors"
27 for more information.
28 .TP
29 .I "\-C arg"
30 Used to specify a different color set in the command line.  The format
31 of arg is documented in the
32 .\"LINK2"
33 Colors
34 .\"Colors"
35 section.
36 .TP
37 .I "\-d"
38 Disables mouse support.
39 .TP
40 .I "\-f"
41 Displays the compiled-in search paths for Midnight Commander files.
42 .TP
43 .I "\-k"
44 Reset softkeys to their default from the termcap/terminfo
45 database. Only useful on HP terminals when the function keys don't work.
46 .TP
47 .I "-l file" 
48 Save the ftpfs dialog with the server in file.
49 .TP
50 .I "\-P"
51 At program end, the Midnight Commander will print the last working
52 directory. This function should not be used directly, instead, it should
53 be used from a special shell function that will automatically change the
54 current directory of the shell to the last directory the Midnight
55 Commander was in (thanks to Torben Fjerdingstad and Sergey for
56 contributing this function and the code implementing this option).
57 Source the files
58 .B @prefix@/lib/mc/bin/mc.sh
59 (bash and zsh users) respectively
60 .B @prefix@/lib/mc/bin/mc.csh
61 (tcsh users) in order to have this function defined.
62 .TP
63 .I "\-s"
64 Turns on the slow terminal mode, in this mode the program will not
65 draw expensive line drawing characters and will toggle verbose mode
66 off.
67 .TP
68 .I "\-t"
69 Used only if the code was compiled with Slang and terminfo: it makes
70 the Midnight Commander use the value of the 
71 .B TERMCAP
72 variable for the terminal information instead of the information on
73 the system wide terminal database
74 .TP
75 .I "\-u"
76 Disables the use of a concurrent shell (only makes sense if the
77 Midnight Commander has been built with concurrent shell support).
78 .TP
79 .I "\-U"
80 Enables the use of the concurrent shell support (only makes sense if
81 the Midnight Commander was built with the subshell support set as an
82 optional feature).
83 .TP
84 .I "\-v file"
85 Enters the internal viewer to view the file specified.
86 .TP
87 .I "\-V"
88 Displays the version of the program.
89 .TP
90 .I "\-x"
91 Forces xterm mode.  Used when running on xterm-capable terminals (two
92 screen modes, and able to send mouse escape sequences).
93 .PP
94 If specified, the first path name is the directory to show in the
95 selected panel; the second path name is the directory to be shown in
96 the other panel.
97 .PP
98 .SH "Overview"
99 The screen of the Midnight Commander is divided into four parts.
100 Almost all of the screen space is taken up by two directory panels.
101 By default, the second line from the bottom of the screen is the
102 shell command line, and the bottom line shows the function key labels.
103 The topmost line is the
104 .\"LINK2"
105 menu bar line.
106 .\"Menu Bar"
107 The menu bar line may not be visible, but appears if you click the
108 topmost line with the mouse or press the F9 key.
110 The Midnight Commander provides a view of two directories at the same
111 time. One of the panels is the current panel (a selection bar is in
112 the current panel). Almost all operations take place on the current
113 panel. Some file operations like Rename and Copy by default use the
114 directory of the unselected panel as a destination (don't worry, they
115 always ask you for confirmation first). For more information, see the
116 sections on the
117 .\"LINK2"
118 Directory Panels,
119 .\"Directory Panels"
121 .\"LINK2"
122 Left and Right Menus
123 .\"Left and Right Menus"
124 and the
125 .\"LINK2"
126 File Menu.
127 .\"File Menu"
129 You can execute system commands from the Midnight Commander by simply
130 typing them. Everything you type will appear on the shell command line,
131 and when you press Enter the Midnight Commander will execute the
132 command line you typed; read the
133 .\"LINK2"
134 Shell Command Line
135 .\"Shell Command Line"
137 .\"LINK2"
138 Input Line Keys
139 .\"Input Line Keys"
140 sections to learn more about the command line.
142 .SH "Mouse Support"
143 The Midnight Commander comes with mouse support.  It is activated
144 whenever you are running on an
145 .B xterm(1)
146 terminal (it even works if you take a telnet or rlogin connection to
147 another machine from the xterm) or if you are running on a Linux
148 console and have the
149 .B gpm
150 mouse server running.
152 When you left click on a file in the directory panels, that file is
153 selected; if you click with the right button, the file is marked (or
154 unmarked, depending on the previous state).
156 Double-clicking on a file will try to execute the command if it is
157 an executable program; and if the
158 .\"LINK2"
159 extension file
160 .\"Extension File Edit"
161 has a program specified for the file's extension, the specified
162 program is executed.
164 Also, it is possible to execute the commands assigned to the function
165 key labels by clicking on them.
167 If a mouse button is clicked on the top frame line of the directory panel,
168 it is scrolled one page up.  Likewise, a click on the bottom frame line
169 will cause scrolling one page down.  This frame line method works also
170 in the
171 .\"LINK2"
172 Help Viewer
173 .\"Contents"
174 and the
175 .\"LINK2"
176 Directory Tree.
177 .\"Directory Tree"
179 The default auto repeat rate for the mouse buttons is 400
180 milliseconds. This may be changed to other values by editing the
181 .\"LINK2"
182 \&~/.mc/ini
183 .\"Save Setup"
184 file and changing the 
185 .I mouse_repeat_rate
186 parameter.
188 If you are running the Commander with the mouse support, you can bypass
189 the Commander and get the default mouse behavior (cutting and pasting
190 text) by holding down the Shift key.
191 .SH ""
192 .SH "Keys"
193 Some commands in the Midnight Commander involve the use of the
194 .I Control
195 (sometimes labeled CTRL or CTL) and the 
196 .I Meta
197 (sometimes labeled ALT or even Compose) keys. In this manual we will
198 use the following abbreviations:
200 C-<chr> means hold the Control key while typing the character
201 <chr>. Thus C-f would be: hold the Control key and type f.
203 M-<chr> means hold the Meta or Alt key down while typing <chr>. If
204 there is no Meta or Alt key, type ESC, release it, then type the
205 character <chr>. 
207 All input lines in the Midnight Commander use an approximation to
208 the GNU Emacs editor's key bindings.
210 There are many sections which tell about the keys. The following are
211 the most important.
214 .\"LINK2"
215 File Menu
216 .\"File Menu"
217 section documents the keyboard shortcuts for the commands appearing in
218 the File menu. This section includes the function keys. Most of these
219 commands perform some action, usually on the selected file or the
220 tagged files.
223 .\"LINK2"
224 Directory Panels
225 .\"Directory Panels"
226 section documents the keys which select a file or tag files as a
227 target for a later action (the action is usually one from the file
228 menu).
231 .\"LINK2"
232 Shell Command Line
233 .\"Shell Command Line"
234 section list the keys which are used for entering and editing command
235 lines. Most of these copy file names and such from the directory
236 panels to the command line (to avoid excessive typing) or access the
237 command line history.
239 .\"LINK2"
240 Input Line Keys
241 .\"Input Line Keys"
242 are used for editing input lines. This means both the command line and
243 the input lines in the query dialogs.
245 .SH "  Miscellaneous Keys"
246 Here are some keys which don't fall into any of the other categories:
248 .B Enter.
249 If there is some text in the command line (the one at the bottom of
250 the panels), then that command is executed. If there is no text in the
251 command line then if the selection bar is over a directory the
252 Midnight Commander does a 
253 .B chdir(2)
254 to the selected directory and reloads the information on the panel;
255 if the selection is an executable file then it is executed. Finally,
256 if the extension of the selected file name matches one of the
257 extensions in the
258 .\"LINK2"
259 extensions file
260 .\"Extension File Edit"
261 then the corresponding command is executed.
263 .B C-l.
264 Repaint all the information in the Midnight Commander.
266 .B C-x c.
267 Run the
268 .\"LINK2"
269 Chmod
270 .\"Chmod"
271 command on a file or on the tagged files.
273 .B C-x o.
274 Run the
275 .\"LINK2"
276 Chown
277 .\"Chown"
278 command on the current file or on the tagged files.
280 .B C-x l.
281 Run the link command.
283 .B C-x s.
284 Run the symbolic link command.
286 .B C-x i.
287 Set the other panel display mode to information.
289 .B C-x q.
290 Set the other panel display mode to quick view.
292 .B C-x !.
293 Execute the 
294 .\"LINK2"
295 External panelize
296 .\"External panelize"
297 command.
299 .B C-x h
300 Run the 
301 .\"LINK2"
302 add directory to hotlist
303 .\"Hotlist"
304 command.
306 .B M-!,
307 Executes the Filtered view command, described in the
308 .\"LINK2"
309 view command.
310 .\"Internal File Viewer"
312 .B M-?,
313 Executes the 
314 .\"LINK2"
315 Find file
316 .\"Find File"
317 command.
319 .B M-c,
320 Pops up the
321 .\"LINK2"
322 quick cd
323 .\"Quick cd"
324 dialog.
326 .B C-o,
327 When the program is being run in the Linux or SCO console or under an xterm,
328 it will show you the output of the previous command.  When ran on the
329 Linux console, the Midnight Commander uses an external program
330 (cons.saver) to handle saving and restoring of information on the
331 screen.
333 When the subshell support is compiled in, you can type C-o at any time
334 and you will be taken back to the Midnight Commander main screen, to
335 return to your application just type C-o.  If you have an application
336 suspended by using this trick, you won't be able to execute other
337 programs from the Midnight Commander until you terminate the suspended
338 application. 
340 .SH "  Directory Panels"
341 This section lists the keys which operate on the directory panels. If
342 you want to know how to change the appearance of the panels take a
343 look at the section on
344 .\"LINK2"
345 Left and Right Menus.
346 .\"Left and Right Menus"
348 .B Tab, C-i.
349 Change the current panel. The old other panel becomes the new current
350 panel and the old current panel becomes the new other panel. The
351 selection bar moves from the old current panel to the new current
352 panel.
354 .B Insert, C-t.
355 To tag files you may use the Insert key (the kich1 terminfo sequence)
356 or the C-t (Control-t) sequence. To untag files, just retag a tagged
357 file.
359 .B M-g, M-h (or M-r), M-j.
360 Used to select the top file in a panel, the middle file and the bottom one,
361 respectively. 
363 .B C-s, M-s.
364 Start a filename search in the directory listing. When the search is
365 active, the user input will be added to the search string instead of
366 the command line. If the
367 .I "Show mini-status"
368 option is enabled the search string is shown on the mini-status
369 line. When typing, the selection bar will move to the next file
370 starting with the typed letters. The
371 .I "backspace" or DEL 
372 keys can be used to correct typing mistakes. If C-s is pressed
373 again, the next match is searched for.
375 .B M-t
376 Toggle the current display listing to show the next display listing
377 mode.  With this it is possible to quickly switch from long listing
378 to regular listing and the user defined listing mode.
380 .B C-\\\\ (control-backslash).
381 Show the 
382 .\"LINK2"
383 directory hotlist
384 .\"Hotlist"
385 and change to the selected directory.
387 .B + \ (plus).
388 This is used to select (tag) a group of files. The Midnight Commander
389 will prompt for a regular expression describing the group. When
390 .I Shell Patterns 
391 are enabled, the regular expression is much like the regular
392 expressions in the shell (* standing for zero or more characters and ?
393 standing for one character). If
394 .I Shell Patterns
395 is off, then the tagging of files is done with normal regular
396 expressions (see ed (1)).
398 If the expression starts or ends with a slash (/), then it will select
399 directories instead of files.
401 .B \\\\ (backslash).
402 Use the "\\" key to unselect a group of files. This is the opposite of
403 the Plus key.
405 .B up-key, C-p.
406 Move the selection bar to the previous entry in the panel.
408 .B down-key, C-n.
409 Move the selection bar to the next entry in the panel.
411 .B home, a1, M-<.
412 Move the selection bar to the first entry in the panel.
414 .B end, c1, M->.
415 Move the selection bar to the last entry in the panel.
417 .B next-page, C-v.
418 Move the selection bar one page down.
420 .B prev-page, M-v.
421 Move the selection bar one page up.
423 .B M-o,
424 If the other panel is a listing panel and you are standing on a
425 directory in the current panel, then the other panel contents are set
426 to the contents of the currently selected directory (like Emacs' dired
427 C-o key) otherwise the other panel contents are set to the parent dir
428 of the current dir.
430 .B C-PageUp, C-PageDown
431 Only when ran on the Linux console: does a chdir to ".." and to the
432 currently selected directory respectively.
434 .B M-y
435 Moves to the previous directory in the history, equivalent 
436 to depressing the '<' with the mouse.
438 .B M-u
439 Moves to the next directory in the history, equivalent 
440 to depressing the '>' with the mouse.
442 .B M-S-h, M-H
443 Displays the directory history, equivalent to depressing the 'v' with
444 the mouse.
446 .SH "  Shell Command Line"
447 This section lists keys which are useful to avoid excessive typing when
448 entering shell commands.
450 .B M-Enter.
451 Copy the currently selected file name to the command line.
453 .B C-Enter.
454 Same a M-Enter, this one only works on the Linux console.
456 .B M-Tab.
457 Does the filename, command, variable, username and hostname
458 .\"LINK2"
459 completion
460 .\"Completion"
461 for you.
463 .B C-x t, C-x C-t.
464 Copy the tagged files (or if there are no tagged files, the selected
465 file) of the current panel (C-x t) or of the other panel (C-x C-t) to
466 the command line.
468 .B C-x p, C-x C-p. 
469 The first key sequence copies the current path name to the command
470 line, and the second one copies the unselected panel's path name to
471 the command line.
473 .B C-q.
474 The quote command can be used to insert characters that are otherwise
475 interpreted by the Midnight Commander (like the '+' symbol)
477 .B M-p, M-n.
478 Use these keys to browse through the command history. M-p takes you
479 to the last entry, M-n takes you to the next one.
481 .B M-h.
482 Displays the history for the current input line. 
484 .SH "  General Movement Keys"
485 The help viewer, the file viewer and the directory tree use common
486 code to handle moving. Therefore they accept exactly the same
487 keys. Each of them also accepts some keys of its own.
489 Other parts of the Midnight Commander use some of the same movement
490 keys, so this section may be of use for those parts too.
492 .B Up, C-p.
493 Moves one line backward.
495 .B Down, C-n.
496 Moves one line forward.
498 .B Prev Page, Page Up, M-v.
499 Moves one page up.
501 .B Next Page, Page Down, C-v.
502 Moves one page down.
504 .B Home, A1.
505 Moves to the beginning.
507 .B End, C1.
508 Move to the end.
510 The help viewer and the file viewer accept the following keys in
511 addition the to ones mentioned above:
513 .B b, C-b, C-h, Backspace, Delete.
514 Moves one page up.
516 .B Space bar.
517 Moves one page down.
519 .B u, d.
520 Moves one half of a page up or down.
522 .B g, G.
523 Moves to the beginning or to the end.
525 .SH "  Input Line Keys"
526 The input lines (they are used for the
527 .\"LINK2"
528 command line
529 .\"Shell Command Line"
530 and for the query dialogs in the program) accept these keys:
532 .B C-a
533 puts the cursor at the beginning of line.
535 .B C-e
536 puts the cursor at the end of the line.
538 .B C-b, move-left
539 move the cursor one position left.
541 .B C-f, move-right
542 move the cursor one position right.
544 .B M-f
545 moves one word forward.
547 .B M-b
548 moves one word backward.
550 .B C-h, backspace
551 delete the previous character.
553 .B C-d, Delete
554 delete the character in the point (over the cursor).
556 .B C-@
557 sets the mark for cutting.
559 .B C-w
560 copies the text between the cursor and the mark to a kill buffer and
561 removes the text from the input line.
563 .B M-w
564 copies the text between the cursor and the mark to a kill buffer.
566 .B C-y
567 yanks back the contents of the kill buffer.
569 .B C-k
570 kills the text from the cursor to the end of the line.
572 .B M-p, M-n
573 Use these keys to browse through the command history. M-p takes you
574 to the last entry, M-n takes you to the next one.
576 .B M-C-h, M-Backspace
577 delete one word backward.
579 .B M-Tab
580 does the filename, command, variable, username and hostname
581 .\"LINK2"
582 completion
583 .\"Completion"
584 for you.
586 .SH ""
587 .SH "Menu Bar"
588 The menu bar pops up when you press F9 or click the mouse on the top
589 row of the screen. The menu bar has five menus: "Left", "File",
590 "Command", "Options" and "Right".
593 .\"LINK2"
594 Left and Right Menus
595 .\"Left and Right Menus"
596 allow you to modify the appearance of the left and right directory
597 panels.
600 .\"LINK2"
601 File Menu
602 .\"File Menu"
603 lists the actions you can perform on the currently selected file or
604 the tagged files.
607 .\"LINK2"
608 Command Menu
609 .\"Command Menu"
610 lists the actions which are more general and bear no relation to the
611 currently selected file or the tagged files.
614 .\"LINK2"
615 Options Menu
616 .\"Options Menu"
617 lists the actions which allow you to customize the Midnight Commander.
619 .SH "  Left and Right Menus"
620 The outlook of the directory panels can be changed from the
621 .B "Left"
623 .B "Right"
624 menus.
626 .SH "    Listing Mode..."
627 The listing mode view is used to display a listing of files, there are
628 four different listing modes available:
629 .B Full,
630 .B Brief,
631 .B Long,
633 .B User.
634 The full directory view shows the file name, the size of the file and
635 the modification time. 
637 The brief view shows only the file name and it has two columns
638 (therefore showing twice as many files as other views). The long view
639 is similar to the output of
640 .B "ls -l"
641 command. The long view takes the whole screen width.
643 If you choose the "User" display format, then you have to specify
644 the display format.
646 The user display format must start with a panel size specifier.  This
647 may be "half" or "full", and they specify a half screen panel and a
648 full screen panel respectively.
650 After the panel size, you may specify the two columns mode on the
651 panel, this is done by adding the number "2" to the user format
652 string. 
654 After this you add the name of the fields with an optional size
655 specifier.  This are the available fields you may display:
657 .B name,
658 displays the file name.
660 .B size,
661 displays the file size.
663 .B bsize,
664 is an alternative form of the
665 .B size
666 format. It displays the size of the files and for directories it just
667 shows SUB-DIR or UP--DIR.
669 .B type,
670 displays a one character field type.  This character is similar to
671 what is displayed by ls with the -F flag -
672 .B *
673 for executable files,
674 .B /
675 for directories,
676 .B @
677 for links,
678 .B =
679 for sockets,
680 .B -
681 for character devices,
682 .B +
683 for block devices,
684 .B |
685 for pipes,
686 .B ~
687 for symbolic links to directories and
688 .B !
689 for stalled symlinks (links that point nowhere).
691 .B mtime,
692 file's last modification time.
694 .B atime,
695 file's last access time.
697 .B ctime,
698 file's creation time.
700 .B perm,
701 a string representing the current permission bits of the file.
703 .B mode,
704 an octal value with the current permission bits of the file.
706 .B nlink,
707 the number of links to the file.
709 .B ngid,
710 the GID (numeric).
712 .B nuid,
713 the UID (numeric).
715 .B owner,
716 the owner of the file.
718 .B group,
719 the group of the file.
721 .B inode,
722 the inode of the file.
724 Also you may use these field names for arranging the display:
726 .B space,
727 a space in the display format.
729 .B mark,
730 An asterisk if the file is tagged, a space if it's not.
732 .B |,
733 This character is used to add a vertical line to the display format.
735 To force one field to a fixed size (a size specifier), you just add
736 a ':' and then the number of characters you want the field to have, if
737 the number is followed by the symbol '+', then the size specifies the
738 minimum field size, if the program finds out that there is more space
739 on the screen, it will then expand this field.
741 For example, the 
742 .B Full
743 display corresponds to this format:
745 half type,name,|,size,|,mtime
747 And the 
748 .B Long
749 display corresponds to this format:
751 full perm,space,nlink,space,owner,space,group,space,size,space,
752 mtime,space,name
754 This is a nice user display format:
756 half name,|,size:7,|,type,mode:3
758 Panels may also be set to the following modes:
760 .B "Info"
761 The info view display information related to the currently
762 selected file and if possible information about the current file
763 system.
765 .B "Tree" 
766 The tree view is quite similar to the
767 .\"LINK2"
768 directory tree
769 .\"Directory Tree"
770 feature. See the section about it for more information.
771 .TP 
772 .B "Quick View"
773 In this mode, the panel will switch to a reduced 
774 .\"LINK2"
775 viewer
776 .\"Internal File Viewer"
777 that displays the contents of the currently selected file, if you
778 select the panel (with the tab key or the mouse), you will have access
779 to the usual viewer commands.
781 .SH "    Sort Order..."
782 The eight sort orders are by name, by extension, by modification time,
783 by access time, and by inode information modification time, by size,
784 by inode and unsorted.  In the Sort order dialog box you can choose
785 the sort order and you may also specify if you want to sort in reverse
786 order by checking the reverse box.
788 By default directories are sorted before files but this can be changed
789 from the
790 .\"LINK2"
791 Options menu
792 .\"Options Menu"
793 (option 
794 .B "Mix all files"
797 .SH "    Filter..."
798 The filter command allows you to specify a shell pattern (for example
799 .B "*.tar.gz"
800 ) which the files must match to be shown. Regardless
801 of the filter pattern, the directories and the links to directories
802 are always shown in the directory panel.
804 .SH "    Reread"
805 The reread command reload the list of files in the directory. It is
806 useful if other processes have created or removed files.  If you
807 have panelized file names in a panel this will reload the directory
808 contents and remove the panelized information (See the section
809 .\"LINK2"
810 External panelize
811 .\"External panelize"
812 for more information).
814 .SH "  File Menu"
815 The Midnight Commander uses the F1 - F10 keys as keyboard shortcuts
816 for commands appearing in the file menu.  The escape sequences for the
817 function keys are terminfo capabilities kf1 trough kf10.  On terminals
818 without function key support, you can achieve the same functionality by
819 pressing the ESC key and then a number in the range 1 through 9 and 0
820 (corresponding to F1 to F9 and F10 respectively).
822 The File menu has the following commands (keyboard shortcuts in parentheses):
824 .B Help (F1)
826 Invokes the built-in hypertext help viewer. Inside the
827 .\"LINK2"
828 help viewer,
829 .\"Contents"
830 you can use the Tab key to select the next link and the Enter key to
831 follow that link. The keys Space and Backspace are used to move
832 forward and backward in a help page. Press F1 again to get the full
833 list of accepted keys.
835 .B Menu (F2)
837 Invoke the
838 .\"LINK2"
839 user menu.
840 .\"Menu File Edit"
841 The user menu provides an easy way to provide users with a menu and
842 add extra features to the Midnight Commander.
844 .B View (F3, Shift-F3)
846 View the currently selected file. By default this invokes the
847 .\"LINK2"
848 Internal File Viewer
849 .\"Internal File Viewer"
850 but if the option "Use internal view" is off, it invokes an external
851 file viewer specified by the 
852 .B PAGER 
853 environment variable. If 
854 .B PAGER
855 is undefined, the "view" command is invoked.  If you use Shift-F3
856 instead, the viewer will be invoked without doing any formatting or
857 preprocessing to the file.
859 .B Filtered View (M-!)
861 this command prompts for a command
862 and it's arguments (the argument defaults to the currently selected
863 file name), the output from such command is shown in the internal file
864 viewer.
866 .B Edit (F4)
868 Currently it invokes the 
869 .B vi 
870 editor, or the editor specified in the
871 .B EDITOR
872 environment variable, or the 
873 .\"LINK2"
874 Internal File Editor
875 .\"Internal File Editor"
876 if the use_internal_edit option is on.
878 .B Copy (F5)
880 Pop up an input dialog with destination that defaults to the directory
881 in the non-selected panel and copies the currently selected file (or
882 the tagged files, if there is at least one file tagged) to the
883 directory specified by the user in the input dialog. During this
884 process, you can press C-c or ESC to abort the operation. For details
885 about source mask (which will be usually either * or ^\\(.*\\)$ depending
886 on setting of Use shell patterns) and possible wildcards in the destination
887 see 
888 .\"LINK2"
889 Mask copy/rename.
890 .\"Mask Copy/Rename"
892 On some systems, it is possible to do the copy in the background by
893 clicking on the background button (or pressing M-b in the dialog
894 box).  The 
895 .\"LINK2"
896 Background Jobs
897 .\"Background Jobs"
898 is used to control the background process.
900 .B Link (C-x l)
902 Create a hard link to the current file.
904 .B SymLink (C-x s)
906 Create a symbolic link to the current file. To those of you who don't
907 know what links are: creating a link to a file is a bit like copying
908 the file, but both the source filename and the destination filename
909 represent the same file image. For example, if you edit one of these
910 files, all changes you make will appear in both files. Some people call
911 links aliases or shortcuts.
913 A hard link appears as a real file. After making it, there is no way of
914 telling which one is the original and which is the link. If you delete
915 either one of them the other one is still intact. It is very difficult
916 to notice that the files represent the same image. Use hard links when
917 you don't even want to know.
919 A symbolic link is a reference to the name of the original file. If
920 the original file is deleted the symbolic link is useless. It is quite
921 easy to notice that the files represent the same image. The Midnight
922 Commander shows an "@"-sign in front of the file name if it is a
923 symbolic link to somewhere (except to directory, where it shows a tilde (~)).
924 The original file which the link points to is shown on mini-status line if the
925 .I "Show mini-status"
926 option is enabled. Use symbolic links when you want to avoid the
927 confusion that can be caused by hard links.
929 .B Rename/Move (F6)
931 Pop up an input dialog that defaults to the directory in the
932 non-selected panel and moves the currently selected file (or the
933 tagged files if there is at least one tagged file) to the directory
934 specified by the user in the input dialog. During the process, you
935 can press C-c or ESC to abort the operation. For more details look at Copy
936 operation above, most of the things are quite similar.
938 On some systems, it is possible to do the copy in the background by
939 clicking on the background button (or pressing M-b in the dialog
940 box). The 
941 .\"LINK2"
942 Background Jobs
943 .\"Background Jobs"
944 is used to control the background process.
946 .B Mkdir (F7)
948 Pop up an input dialog and creates the directory specified.
950 .B Delete (F8)
952 Delete the currently selected file or the tagged files in the
953 currently selected panel. During the process, you can press C-c or
954 ESC to abort the operation.
956 .B Quick cd (M-c)
957 Use the
958 .\"LINK2"
959 quick cd
960 .\"Quick cd"
961 command if you have full command line and want to cd somewhere.
963 .B Select group (+)
965 This is used to select (tag) a group of files. The Midnight Commander
966 will prompt for a regular expression describing the group. When
967 .I Shell Patterns 
968 are enabled, the regular expression is much like the filename globbing
969 in the shell (* standing for zero or more characters and ?  standing
970 for one character). If
971 .I Shell Patterns
972 is off, then the tagging of files is done with normal regular
973 expressions (see ed (1)).
975 To mark directories instead of files, the expression must start or end
976 with a '/'.
978 .B Unselect group (\\\\)
980 Used to unselect a group of files. This is the opposite of the
981 .I "Select group"
982 command.
984 .B Quit (F10, Shift-F10)
986 Terminate the Midnight Commander.  Shift-F10 is used when you want to
987 quit and you are using the shell wrapper.  Shift-F10 will not take you
988 to the last directory you visited with the Midnight Commander, instead
989 it will stay at the directory where you started the Midnight Commander.
991 .SH "    Quick cd"
992 This command is useful if you have a full command line and want to 
993 .\"LINK2"
995 .\"The cd internal command"
996 somewhere without having to yank and paste the command line. This command
997 pops up a small dialog, where you enter everything you would enter after
998 .B cd 
999 on the command line and then you press enter. This features all the things
1000 that are already in the 
1001 .\"LINK2"
1002 internal cd command.
1003 .\"The cd internal command"
1005 .SH "  Command Menu"
1007 .\"LINK2"
1008 Directory tree
1009 .\"Directory Tree"
1010 command shows a tree figure of the directories.
1013 .\"LINK2"
1014 Find file
1015 .\"Find File"
1016 command allows you to search for a specific file. The "Swap panels"
1017 command swaps the contents of the two directory panels. 
1019 The "Panels on/off" command shows the output of the last shell
1020 command. This works only on xterm and on Linux and SCO console.
1022 The Compare directories (C-x d) command compares the directory
1023 panels with each other. You can then use the Copy (F5) command to make
1024 the panels identical. There are three compare methods. The quick method
1025 compares only file size and file date. The thorough method makes a
1026 full byte-by-byte compare. The thorough method is not available if the
1027 machine does not support the mmap(2) system call.  The size-only
1028 compare method just compares the file sizes and does not check the
1029 contents or the date times, it just checks the file size.
1031 The Command history command shows a list of typed commands. The
1032 selected command is copied to the command line. The command history
1033 can also be accessed by typing M-p or M-n. 
1035 The 
1036 .\"LINK2"
1037 Directory hotlist (C-\\)
1038 .\"Hotlist"
1039 command makes changing of the current directory to often used directories
1040 faster.
1042 The 
1043 .\"LINK2"
1044 External panelize
1045 .\"External panelize"
1046 allows you to execute an external program, and
1047 make the output of that program the contents of the current panel.
1049 .\"LINK2"
1050 Extension file edit
1051 .\"Extension File Edit"
1052 command allows you to specify programs to executed when you try to
1053 execute, view, edit and do a bunch of other thing on files
1054 with certain extensions (filename endings). The
1055 .\"LINK2"
1056 Menu file edit
1057 .\"Menu File Edit"
1058 command may be used for editing the user menu (which appears by
1059 pressing F2).
1061 .SH "    Directory Tree"
1062 The Directory Tree command shows a tree figure of the directories. You
1063 can select a directory from the figure and the Midnight Commander will
1064 change to that directory.
1066 There are two ways to invoke the tree. The real directory tree command
1067 is available from Commands menu. The other way is to select tree view
1068 from the Left or Right menu.
1070 To get rid of long delays the Midnight Commander creates the tree
1071 figure by scanning only a small subset of all the directories. If the
1072 directory which you want to see is missing, move to its parent
1073 directory and press C-r (or F2).
1075 You can use the following keys:
1077 .\"LINK2"
1078 General movement keys
1079 .\"General Movement Keys"
1080 are accepted.
1082 .B Enter.
1083 In the directory tree, exits the directory tree and changes to this
1084 directory in the current panel. In the tree view, changes to this
1085 directory in the other panel and stays in tree view mode in the
1086 current panel.
1088 .B C-r, F2 (Rescan).
1089 Rescan this directory. Use this when the tree figure is out of date:
1090 it is missing subdirectories or shows some subdirectories which don't
1091 exist any more.
1093 .B F3 (Forget).
1094 Delete this directory from the tree figure. Use this to remove clutter
1095 from the figure. If you want the directory back to the tree figure
1096 press F2 in its parent directory. 
1098 .B F4 (Static/Dynamic).
1099 Toggle between the dynamic navigation mode (default) and the static
1100 navigation mode.
1102 In the static navigation mode you can use the Up and Down keys to
1103 select a directory. All known directories are shown.
1105 In the dynamic navigation mode you can use the Up and Down keys to
1106 select a sibling directory, the Left key to move to the parent
1107 directory, and the Right key to move to a child directory. Only the
1108 parent, sibling and children directories are shown, others are left
1109 out. The tree figure changes dynamically as you traverse.
1111 .B F5 (Copy).
1112 Copy the directory.
1114 .B F6 (RenMov).
1115 Move the directory.
1117 .B F7 (Mkdir).
1118 Make a new directory below this directory.
1120 .B F8 (Delete).
1121 Delete this directory from the file system.
1123 .B C-s, M-s.
1124 Search the next directory matching the search string. If there is
1125 no such directory these keys will move one line down.
1127 .B C-h, Backspace.
1128 Delete the last character of the search string.
1130 .B Any other character.
1131 Add the character to the search string and move to the next directory
1132 which starts with these characters. In the tree view you must first
1133 activate the search mode by pressing C-s. The search string is shown
1134 in the mini status line.
1136 The following actions are available only in the directory tree. They
1137 aren't supported in the tree view.
1139 .B F1 (Help).
1140 Invoke the help viewer and show this section.
1142 .B Esc, F10.
1143 Exit the directory tree. Do not change the directory.
1145 The mouse is supported. A double-click behaves like Enter. See
1146 also the section on
1147 .\"LINK2"
1148 mouse support.
1149 .\"Mouse Support"
1151 .SH "    Find File"
1152 The Find File feature first asks for the start directory for the
1153 search and the filename to be searched for. By pressing the Tree
1154 button you can select the start directory from the
1155 .\"LINK2"
1156 directory tree
1157 .\"Directory Tree"
1158 figure. 
1160 The contents field accepts regular expressions similar to egrep(1). That
1161 means you have to escape characters with a special meaning to egrep with "\\", 
1162 e.g. if you search for "strcmp (" you will have to input "strcmp \\(" 
1163 (without the double quotes).
1165 You can start the search by pressing the Ok button.
1166 During the search you can stop from the Stop button and continue from
1167 the Start button.
1169 You can browse the filelist with the up and down arrow keys. The Chdir
1170 button will change to the directory of the currently selected
1171 file. The Again button will ask for the parameters for a new
1172 search. The Quit button quits the search operation. The Panelize
1173 button will place the found files to the current directory panel so
1174 that you can do additional operations on them (view, copy, move,
1175 delete and so on). After panelizing you can press C-r to return to the
1176 normal file listing.
1178 It is possible to have a list of directories that the Find File
1179 command should skip during the search (for example, you may want to
1180 avoid searches on a CDROM or on a NFS directory that is mounted across
1181 a slow link).
1183 Directories to be skipped should be set on the variable
1184 .B find_ignore_dirs 
1185 in the 
1186 .B Misc 
1187 section of your ~/.mc/ini file.
1189 Directory components should be separated with a colon, here is an
1190 example: 
1193 [Misc]
1194 find_ignore_dirs=/cdrom:/nfs/wuarchive:/afs
1197 You may consider using the
1198 .\"LINK2"
1199 External panelize
1200 .\"External panelize"
1201 command for some operations. Find file command is for simple queries
1202 only, while using External panelize you can do as mysterious searches
1203 as you would like.  
1205 .SH "    External panelize"
1206 The External panelize allows you to execute an external program, and
1207 make the output of that program the contents of the current panel.
1209 For example, if you want to manipulate in one of the panels all the
1210 symbolic links in the current directory, you can use external
1211 panelization to run the following command:
1214 find . -type l -print
1216 Upon command completion, the directory contents of the panel will no
1217 longer be the directory listing of the current directory, but all the
1218 files that are symbolic links.
1220 If you want to panelize all of the files that have been downloaded
1221 from your ftp server, you can use this awk command to extract the file
1222 name from the transfer log files:
1225 awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
1228 You may want to save often used panelize commands under a descriptive name,
1229 so that you can recall them quickly. You do this by typing the command on
1230 the input line and pressing Add new button. Then you enter a name under
1231 which you want the command to be saved. Next time, you just choose that
1232 command from the list and do not have to type it again.
1234 .SH "    Hotlist"
1235 The Directory hotlist command shows the labels of the directories
1236 in the directory hotlist.  The Midnight Commander will change to the
1237 directory corresponding to the selected label.  From the hotlist dialog,
1238 you can remove already created label/directory pairs and add new ones.
1239 To add new directories quickly, you can use the Add to hotlist command
1240 (C-x h), which adds the current directory into the directory hotlist,
1241 asking just for the label for the directory.
1243 This makes cd to often used directories faster. You may consider using the
1244 CDPATH variable as described in
1245 .\"LINK2"
1246 internal cd command
1247 .\"The cd internal command"
1248 description.
1250 .SH "    Extension File Edit"
1251 This will invoke your editor on the file ~/.mc/ext. The format of this
1252 file is as follows (the format has changed with version 3.0):
1254 All lines starting with # or empty lines are thrown away.
1256 Lines starting in the first column should have following format:
1258 .I keyword/descNL,
1259 i.e. everything after 
1260 .I keyword/
1261 until new line is 
1262 .I desc
1264 keyword can be: 
1266 .I shell
1268 (desc is then any extension (no wildcards), i.e. matches all the files 
1269 *desc . Example: .tar matches *.tar)
1271 .I regex
1273 (desc is a regular expression)
1275 .I type
1277 (file matches this if `file %f` matches regular expression desc
1278 (the filename: part from `file %f` is removed))
1280 .I default
1282 (matches any file no matter what desc is)
1284 Other lines should start with a space or tab and should be of the format:
1286 .I keyword=commandNL
1287 (with no spaces around =), where 
1288 .I keyword
1289 should be: 
1291 .I Open
1292 (if the user presses Enter or doubleclicks it), 
1293 .I View
1294 (F3), 
1295 .I Edit
1296 (F4), 
1297 .I Drop
1298 (user drops some files on it) or any other
1299 user defined name (those will be listed in the extension dependent pop-up
1300 menu). 
1301 .I Icon
1302 name is reserved for future use by mc.
1304 .I command
1305 is any one-line shell command, with the simple 
1306 .\"LINK2"
1307 macro substitution.
1308 .\"Macro Substitution"
1310 Target are evaluated from top to bottom (order is thus important).
1311 If some actions are missing, search continues as if this target didn't
1312 match (i.e. if a file matches the first and second entry and View action
1313 is missing in the first one, then on pressing F3 the View action from
1314 the second entry will be used. default should catch all the actions.
1316 .SH "    Background Jobs"
1317 This lets you control the state of any background Midnight Commander
1318 process (only copy and move files operations can be done in the
1319 background).  You can stop, restart and kill a background job from
1320 here. 
1322 .SH "    Menu File Edit"
1323 The user menu is a menu of useful actions that can be customized by
1324 the user. When you access the user menu, the
1325 file .mc.menu from the current directory is used if it exists,
1326 but only if it is owned by user or root and is not world-writable.
1327 If no such file found, ~/.mc/menu is tried in the same way, 
1328 and otherwise mc uses the default system-wide menu
1329 @prefix@/lib/mc/mc.menu.
1331 The format of the menu file is very simple. Lines that start with
1332 anything but space or tab are considered entries for the menu (in
1333 order to be able to use it like a hot key, the first character should
1334 be a letter). All the lines that start with a space or a tab are the
1335 commands that will be executed when the entry is selected.
1337 When an option is selected all the command lines of the option are
1338 copied to a temporary file in the temporary directory (usually
1339 /usr/tmp) and then that file is executed. This allows the user to put
1340 normal shell constructs in the menus. Also simple macro substitution
1341 takes place before executing the menu code. For more information, see
1342 .\"LINK2"
1343 macro substitution.
1344 .\"Macro Substitution"
1346 Here is a sample mc.menu file:
1349 A       Dump the currently selected file
1350         od -c %f
1352 B       Edit a bug report and send it to root
1353         vi /tmp/mail.$$
1354         mail -s "Midnight Commander bug" root < /tmp/mail.$$
1356 M       Read mail
1357         emacs -f rmail
1359 N       Read Usenet news
1360         emacs -f gnus
1362 H       Call the info hypertext browser
1363         info
1365 J       Copy current directory to other panel recursively
1366         tar cf - . | (cd %D && tar xvpf -)
1368 K       Make a release of the current subdirectory
1369         echo -n "Name of distribution file: "
1370         read tar
1371         ln -s %d `dirname %d`/$tar 
1372         cd ..
1373         tar cvhf ${tar}.tar $tar
1375 = f *.tar.gz | f *.tgz & t n
1376 X       Extract the contents of a compressed tar file
1377         tar xzvf %f
1380 .B Default Conditions
1382 Each menu entry may be preceded by a condition. The condition must
1383 start from the first column with a '=' character. If the condition is
1384 true, the menu entry will be the default entry.
1387 Condition syntax:       = <sub-cond>
1388   or:                   = <sub-cond> | <sub-cond> ...
1389   or:                   = <sub-cond> & <sub-cond> ... 
1391 Sub-condition is one of following:
1393   y <pattern>           syntax of current file matching pattern?
1394                         for edit menu only.
1395   f <pattern>           current file matching pattern?
1396   F <pattern>           other file matching pattern?
1397   d <pattern>           current directory matching pattern?
1398   D <pattern>           other directory matching pattern?
1399   t <type>              current file of type?
1400   T <type>              other file of type?
1401   x <filename>          is it executable filename?
1402   ! <sub-cond>          negate the result of sub-condition
1405 Pattern is a normal shell pattern or a regular expression, according
1406 to the shell patterns option. You can override the global value of
1407 the shell patterns option by writing "shell_patterns=x" on the first
1408 line of the menu file (where "x" is either 0 or 1).
1411 Type is one or more of the following characters:
1413   n     not directory
1414   r     regular file
1415   d     directory
1416   l     link
1417   c     char special
1418   b     block special
1419   f     fifo (pipe)
1420   s     socket
1421   x     executable
1422   t     tagged
1425 For example 'rlf' means either regular file, link or fifo. The 't'
1426 type is a little special because it acts on the panel instead of the
1427 file. The condition '=t t' is true if there are tagged files in the
1428 current panel and false if not.
1430 If the condition starts with '=?' instead of '=' a debug trace will be
1431 shown whenever the value of the condition is calculated.
1433 The conditions are calculated from left to right. This means
1435         = f *.tar.gz | f *.tgz & t n
1437 is calculated as
1439         ( (f *.tar.gz) | (f *.tgz) ) & (t n)
1442 Here is a sample of the use of conditions:
1445 = f *.tar.gz | f *.tgz & t n
1446 L       List the contents of a compressed tar-archive
1447         gzip -cd %f | tar xvf -
1450 .B Addition Conditions
1452 If the condition begins with '+' (or '+?') instead of '=' (or '=?') it
1453 is an addition condition. If the condition is true the menu entry will
1454 be included in the menu. If the condition is false the menu entry will
1455 not be included in the menu.
1457 You can combine default and addition conditions by starting condition
1458 with '+=' or '=+' (or '+=?' or '=+?' if you want debug trace). If you
1459 want to use two different conditions, one for adding and another for
1460 defaulting, you can precede a menu entry with two condition lines, one
1461 starting with '+' and another starting with '='.
1463 Comments are started with '#'. The additional comment lines must start
1464 with '#', space or tab.
1466 .SH "  Options Menu"
1467 The Midnight Commander has some options that may be toggled on and
1468 off in several dialogs which are accessible from this menu. Options 
1469 are enabled if they have an asterisk or "x" in front of them. 
1472 .\"LINK2"
1473 Configuration
1474 .\"Configuration"
1475 command pops up a dialog from which you can change most of settings of
1476 the Midnight Commander.
1479 .\"LINK2"
1480 Display bits
1481 .\"Display bits"
1482 command pops up a dialog from which you may select which characters is your
1483 terminal able to display.
1486 .\"LINK2"
1487 Confirmation
1488 .\"Confirmation"
1489 command pops up a dialog from which you specify which actions you want to
1490 confirm.
1493 .\"LINK2"
1494 Learn keys
1495 .\"Learn keys"
1496 command pops up a dialog from which you test some keys which are not working
1497 on some terminals and you may fix them.
1500 .\"LINK2"
1501 Virtual FS
1502 .\"Virtual FS"
1503 command pops up a dialog from which you specify some VFS related options.
1506 .\"LINK2"
1507 Layout
1508 .\"Layout"
1509 command pops up a dialog from which you specify a bunch of options how mc
1510 looks like on the screen.
1513 .\"LINK2"
1514 Save setup
1515 .\"Save Setup"
1516 command saves the current settings of the Left, Right and Options
1517 menus. A small number of other settings is saved, too.
1519 .SH "    Configuration"
1520 The options in this dialog are divided into three groups:
1521 Panel Options, Pause after run and Other Options.
1523 .B Panel Options
1525 .I Show Backup Files.
1526 If enabled, the Midnight Commander will show files ending with a tilde.
1527 Otherwise, they won't be shown (like GNU's ls option -B).
1529 .I Show Hidden Files.
1530 If enabled, the Midnight Commander will show all files that start with
1531 a dot (like ls -a).
1533 .I Mark moves down.
1534 If enabled, the selection bar will move down when you mark a file (with
1535 either C-t or the Insert key).
1537 .I Drop down menus.
1538 When this option is enabled, the pull down menus will be activated as
1539 soon as you press the 
1540 .B F9
1541 key.  Otherwise, you will only get the menu title, and you will have
1542 to activate the menu either with the arrow keys or with the hotkeys.
1543 It is recommanded if you are using hotkeys.
1545 .I Mix all files.
1546 If this option is enabled, all files and directories are shown mixed
1547 together.  If the option is off, directories (and links to directories)
1548 are shown at the beginning of the listing, and other files below.
1550 .I Fast directory reload.
1551 If this option is enabled, the Midnight Commander will use a trick to
1552 determine if the directory contents have changed.  The trick is to reload
1553 the directory only if the i-node of the directory has changed; this means
1554 that reloads only happen when files are created or deleted.  If what
1555 changes is the i-node for a file in the directory (file size changes,
1556 mode or owner changes, etc) the display is not updated.  In these cases,
1557 if you have the option on, you have to rescan the directory manually
1558 (with C-r).
1560 .B Pause after run
1562 After executing your commands, the Midnight Commander can pause, so
1563 that you can examine the output of the command.  There are three
1564 possible settings for this variable:
1566 .I Never
1567 Means that you do not want to see the output of your command.  If you
1568 are using the Linux or SCO console or an xterm, you will be able to see the
1569 output of the command by typing C-o.
1571 .I "On dumb terminals"
1572 You will get the pause message on terminals that are not capable of
1573 showing the output of the last command executed (any terminal that is
1574 not an xterm or the Linux console).
1576 .I Always
1577 The program will pause after executing all of your commands.
1579 .B Other Options
1581 .I Verbose operation.
1582 This toggles whether the file Copy, Rename and Delete operations are
1583 verbose (i.e., display a dialog box for each operation). If you have a
1584 slow terminal, you may wish to disable the verbose operation. It is
1585 automatically turned off if the speed of your terminal is less than
1586 9600 bps.
1588 .I Compute totals.
1589 If this option is enabled, the Midnight
1590 Commander computes total byte sizes and total number of files
1591 prior to any Copy, Rename and Delete operations. This will
1592 provide you with a more accurate progress bar at the expense
1593 of some speed. This option has no effect, if 
1594 .I Verbose operation
1595 is disabled.
1597 .I Shell Patterns.
1598 By default the Select, Unselect and Filter commands will use shell-like
1599 regular expressions. The following conversions are performed to achieve
1600 this: the '*' is replaced by '.*' (zero or more characters); the '?'
1601 is replaced by '.' (exactly one character) and '.' by the literal
1602 dot. If the option is disabled, then the regular expressions are the
1603 ones described in ed(1).
1605 .I Auto Save Setup.
1606 If this option is enabled, when you exit the Midnight Commander the
1607 configurable options of the Midnight Commander are saved in the
1608 ~/.mc/ini file.
1610 .I Auto menus.
1611 If this option is enabled, the user menu will be invoked at startup.
1612 Useful for building menus for non-unixers.
1614 .I Use internal editor.
1615 If this option is enabled, the built-in file editor is used to edit
1616 files. If the option is disabled, the editor specified in the
1617 .B EDITOR
1618 environment variable is used.
1619 If no editor is specified, 
1620 .B vi
1621 is used.  See the section on the
1622 .\"LINK2"
1623 internal file editor.
1624 .\"Internal File Editor"
1626 .I Use internal viewer.
1627 If this option is enabled, the built-in file viewer is used to view
1628 files. If the option is disabled, the pager specified in the
1629 .B PAGER
1630 environment variable is used.
1631 If no pager is specified, the 
1632 .B view
1633 command is used.  See the section on the
1634 .\"LINK2"
1635 internal file viewer.
1636 .\"Internal File Viewer"
1638 .I Complete: show all.
1639 By default the Midnight Commander
1640 pops up all possible 
1641 .\"LINK2"
1642 completions
1643 .\"Completion"
1644 if the completion is
1645 ambiguous if you press 
1646 .B M-Tab
1647 for the second time, for the
1648 first time it just completes as much as possible and in
1649 the case of ambiguity beeps. If you want to see all the
1650 possible completions already after the first
1651 .B M-Tab
1652 pressing, enable this option.
1654 .I Rotating dash.
1655 If this option is enabled, the 
1656 Midnight Commander shows a rotating dash in the upper right corner
1657 as a work in progress indicator.
1659 .I Lynx-like motion.
1660 If this option is enabled, 
1661 you may use the arrows keys to automatically chdir if the
1662 current selection is a subdirectory and the shell command
1663 line is empty. By default, this setting is off.
1665 .I Advanced chown.
1666 If this option is enabled, the 
1667 .\"LINK2"
1668 Advanced Chown
1669 .\"Advanced Chown"
1670 command will be invoked if you run the 
1671 .\"LINK2"
1672 Chmod
1673 .\"Chmod"
1674  or 
1675 .\"LINK2"
1676 Chown
1677 .\"Chown"
1678 command.
1680 .I Cd follows links.
1681 This option, if set, causes the Midnight Commander to follow the
1682 logical chain of directories when changing current directory
1683 either in the panels, or using the cd command. This is the default
1684 behavior of bash. When unset, the Midnight Commander follows the
1685 real directory structure, so cd .. if you've entered that directory
1686 through a link will move you to the current directory's real parent
1687 and not to the directory where the link was present.
1689 .I Safe delete.
1690 If this option is enabled, deleting files 
1691 unintentionally will get more difficult. The default
1692 selection in the confirmation dialog changes from the "Yes"
1693 to the "No" button and deletion of non empty directories has to be 
1694 confirmed by entering the word 
1695 .I yes
1696 \&. 
1697 By default this option is disabled.
1699 .SH "    Display bits"
1700 This is used to configure the range of visible characters on the
1701 screen.  This setting may be 7-bits if your terminal/curses supports
1702 only seven output bits, ISO-8859-1 displays all the characters in the
1703 ISO-8859-1 map and full 8 bits is for those terminals that can display
1704 full 8 bit characters.
1706 .SH "    Confirmation"
1707 In this menu you configure the confirmation options for file deletion,
1708 overwriting, execution by pressing enter and quitting the program.
1710 .SH "    Learn keys"
1711 This dialog allows you to test and redefine functional keys, cursor
1712 arrows and some other keys to make them work properly on your terminal.
1713 They often don't, since many terminal databases are incomplete or broken.
1715 You can move around with the Tab key and with the vi moving keys ('h'
1716 left, 'j' down, 'k' up and 'l' right).  Once you press any cursor movement
1717 key and it is recognized, you can use that key as well.
1719 You can test keys just by pressing each of them.  When you press a
1720 key and it is recognized properly, OK should appear next to the name
1721 of that key.  Once a key is marked OK it starts working as usually,
1722 e.g. F1 pressed the first time will just check that the F1 key works,
1723 but after that it will show help.  The same applies to the arrow keys.
1724 The Tab key should be working always.
1726 If some keys do not work properly then you won't see OK appear after
1727 pressing that key.  Then you may want to redefine it.  Do it by pressing
1728 the button with the name of that key (either by the mouse or by Enter
1729 or Space after selecting the button with Tab or arrows).  Then a message
1730 box will appear asking you to press that key.  Do it and wait until the
1731 message box disappears.  If you want to abort, just press Escape once
1732 and wait.
1734 When you finish with all the keys, you can Save them.  The definitions
1735 for the keys you have redefined will be written into the [terminal:TERM]
1736 section of your ~/.mc/ini file (where TERM is the name of your current
1737 terminal).  The definitions of the keys that were already working properly
1738 are not saved.
1740 .SH "    Virtual FS"
1741 This option gives you control over the settings of the 
1742 .\"LINK2"
1743 Virtual File System 
1744 .\"Virtual File System"
1745 information cache.  
1747 The Midnight Commander keeps in memory the information
1748 related to some of the virtual file systems to speed up
1749 the access to the files in the file system (for example,
1750 directory listings fetched from ftp servers). 
1752 Moreover in order to access the contents of compressed files 
1753 (for example, compressed tar files) the Midnight Commander 
1754 has to create a temporary uncompressed file on your disk.
1756 Since both the information in memory and the temporary files on
1757 disk take up resources, you may want to tune the parameters of 
1758 the cached information to decrease your resource usage or to maximize
1759 the speed of access to frequently used file systems.
1761 The Tar file system is quite clever about how it handles
1762 tar files: it just loads the directory entries and when it
1763 needs to use the information contained in the tar file, it
1764 goes and grab it.
1766 In the wild, tar files are usually kept compressed (plain
1767 tar files are species in extinction), and because of the
1768 nature of those files (the directory entries for the tar
1769 files is not there waiting for us to be loaded), the tar
1770 file system has to uncompress the file
1771 on the disk in a temporary location and then access the
1772 uncompressed file as a regular tar file.
1774 Now, since we all love to browse files and tar files all
1775 over the disk, it's common that you will leave a tar file
1776 and the re-enter it later. Since uncompression is slow,
1777 the Midnight Commander will cache the information in
1778 memory for a limited amount of time, after you hit the
1779 timeout, all of the resources associated with the
1780 file system will be freed. The default timeout is set to
1781 one minute.
1783 The 
1784 .\"LINK2"
1785 FTP File System
1786 .\"FTP File System"
1787 keeps the directory listing it fetches from a ftp server
1788 in a cache.  The cache
1789 expire time is configurable with the 
1790 .I ftpfs directory cache timeout
1791 option.  
1792 A low value for this
1793 option may slow down every operation on the ftp file System
1794 because every operation is accompanied by a query of the
1795 ftp server. 
1797 Moreover you can define a proxy host for doing ftp transfers 
1798 and configure the Midnight Commander to always use the proxy host. 
1800 the section on
1801 .\"LINK2"
1802 FTP File System
1803 .\"FTP File System"
1804 for more information.
1806 .SH "    Layout"
1807 The layout dialog gives you a possibility to change the general layout
1808 of screen. You can specify whether the menubar, the command prompt,
1809 the hintbar and the function keybar are visible. On the Linux or SCO console
1810 you can specify how many lines are shown in the output window.
1812 The rest of the screen area is used for the two directory panels. You
1813 can specify whether the area is split to the panels in vertical or
1814 horizontal direction. The split can be equal or you can specify an
1815 unequal split.
1817 By default all contents of the directory panels are displayed with 
1818 the same color, but you can specify whether 
1819 .I permissions 
1820 and 
1821 .I file types
1822 are highlighted with special 
1823 .\"LINK2"
1824 Colors.
1825 .\"Colors"
1826 If permission highlighting is enabled, the parts of the 
1827 .I perm
1829 .I mode
1830 .\"LINK2"
1831 display fields
1832 .\"Listing Mode..."
1833 which are valid for the user running Midnight Commander
1834 are highlighted with the color defined with the
1835 .I selected
1836 keyword. If file type highlighting is enabled, files are colored according
1837 to their file type (e.g. directory, core file, executable, ...). 
1839 If the 
1840 .I Show Mini-Status
1841 option is enabled, one line of status
1842 information about the currently selected item is showed at the bottom 
1843 of the panels.
1845 .SH "    Save Setup"
1846 At startup the Midnight Commander will try to load initialization
1847 information from the ~/.mc/ini file. If this file doesn't exist,
1848 it will load the information from the system-wide configuration file,
1849 located in @prefix@/lib/mc/mc.ini. If the system-wide configuration
1850 file doesn't exist, MC uses the default settings.
1853 .I Save Setup
1854 command creates the ~/.mc/ini file by saving the current settings
1855 of the
1856 .\"LINK2"
1857 Left, Right
1858 .\"Left and Right Menus"
1860 .\"LINK2"
1861 Options
1862 .\"Options Menu"
1863 menus.
1865 If you activate the
1866 .I auto save setup
1867 option, MC will always save the current settings when exiting.
1869 There also exist settings which can't be changed from the menus. To
1870 change these settings you have to edit the setup file with your
1871 favorite editor. See the section on
1872 .\"LINK2"
1873 Special Settings
1874 .\"Special Settings"
1875 for more information.
1877 .SH ""
1878 .SH "Executing operating system commands"
1879 You may execute commands by typing them directly in the Midnight
1880 Commander's input line, or by selecting the program you want to
1881 execute with the selection bar in one of the panels and hitting Enter.
1883 If you press Enter over a file that is not executable, the Midnight
1884 Commander checks the extension of the selected file against the
1885 extensions in the
1886 .\"LINK2"
1887 Extensions File.
1888 .\"Extension File Edit"
1889 If a match is found then the code associated with that extension is
1890 executed. A very simple
1891 .\"LINK2"
1892 macro expansion
1893 .\"Macro Substitution"
1894 takes place before executing the command.
1896 .SH "  The cd internal command"
1897 The 
1898 .I cd
1899 command is interpreted by the Midnight Commander, it is not passed to
1900 the command shell for execution.  Thus it may not handle all of the
1901 nice macro expansion and substitution that your shell does, although it
1902 does some of them:
1904 .I Tilde substitution
1905 The (~) will be substituted with your home directory, if you append a
1906 username after the tilde, then it will be substituted with the login
1907 directory of the the specified user.
1909 For example, ~guest is the home directory for the user guest, while
1910 ~/guest is the directory guest in your home directory.
1912 .I Previous directory
1913 You can jump to the directory you were previously by using the special
1914 directory name '-' like this:
1915 .B cd -
1917 .I CDPATH directories
1918 If the directory specified to the 
1919 .B cd 
1920 command is not in the current directory, then The Midnight Commander
1921 uses the value in the environment variable 
1922 .B CDPATH
1923 to search for the directory in any of the named directories.
1925 For example you could set your
1926 .B CDPATH
1927 variable to ~/src:/usr/src, allowing you to change your directory to
1928 any of the directories inside the ~/src and /usr/src directories, from
1929 any place in the file system by using it's relative name (for example
1930 cd linux could take you to /usr/src/linux).
1932 .SH "  Macro Substitution"
1934 When accessing a
1935 .\"LINK2"
1936 user menu, 
1937 .\"Menu File Edit"
1938 or executing an
1939 .\"LINK2"
1940 extension dependent command,
1941 .\"Extension File Edit"
1942 or running a command from the command line input,
1943 a simple macro substitution takes place.
1945 The macros are:
1947 .I "%i"
1949 The indent of blank space, equal the cursor column
1950 position. For edit menu only.
1952 .I "%y"
1954 The syntax type of current file. For edit menu only.
1956 .I "%k"
1958 The block file name.
1960 .I "%e"
1962 The error file name.
1964 .I "%m"
1966 The current menu name.
1968 .I "%f"
1970 .I "%p"
1972 The current file name.
1974 .I "%x"
1976 The extension of current file name.
1978 .I "%b"
1980 The current file name without extension.
1982 .I "%d"
1984 The current directory name.
1986 .I "%F"
1988 The current file in the unselected panel.
1990 .I "%D"
1992 The directory name of the unselected panel.
1994 .I "%t"
1996 The currently tagged files.
1998 .I "%T"
2000 The tagged files in the unselected panel.
2002 .I "%u"
2004 .I "%U"
2006 Similar to the %t and %T macros, but in addition the files are
2007 untagged. You can use this macro only once per menu file entry or
2008 extension file entry, because next time there will be no tagged
2009 files.
2011 .I "%s"
2013 .I "%S"
2015 The selected files: The tagged files if there are any. Otherwise the
2016 current file.
2018 .I "%q"
2020 Dropped files. In all places except in the Drop action of the
2021 .\"LINK2"
2022 mc.ext file,
2023 .\"Extension File Edit"
2024 this will become a null string, in the Drop action it will be replaced
2025 with a space separated list of files that were dropped on the file.
2027 .I "%cd"
2029 This is a special macro that is used to change the current directory
2030 to the directory specified in front of it.  This is used primarily as
2031 an interface to the
2032 .\"LINK2"
2033 Virtual File System.
2034 .\"Virtual File System"
2036 .I "%view"
2038 This macro is used to invoke the internal viewer.  This macro can be
2039 used alone, or with arguments.  If you pass any arguments to this
2040 macro, they should be enclosed in brackets.
2042 The arguments are: 
2043 .I ascii
2044 to force the viewer into ascii mode;
2045 .I hex
2046 to force the viewer into hex mode;
2047 .I nroff
2048 to tell the viewer that it should interpret the bold and underline
2049 sequences of nroff; 
2050 .I unformatted
2051 to tell the viewer to not interpret nroff commands for making the text
2052 bold or underlined.
2054 .I "%%"
2056 The % character
2058 .I "%{some text}"
2060 Prompt for the substitution. An input box is shown and the text inside
2061 the braces is used as a prompt. The macro is substituted by the text
2062 typed by the user. The user can press ESC or F10 to cancel. This macro
2063 doesn't work on the command line yet.
2065 .SH "  The subshell support"
2066 The subshell support is a compile time option, that works with the
2067 shells: bash, tcsh and zsh.  
2069 When the subshell code is activated the Midnight Commander will
2070 spawn a concurrent copy of your shell (the one defined in the 
2071 .B SHELL
2072 variable and if it is not defined, then the one in the /etc/passwd
2073 file) and run it in a pseudo terminal, instead of invoking a new shell
2074 each time you execute a command, the command will be passed to the
2075 subshell as if you had typed it.  This also allows you to change the
2076 environment variables, use shell functions and define aliases that are
2077 valid until you quit the Midnight Commander.
2079 If you are using 
2080 .B bash
2081 you can specify startup
2082 commands for the subshell in your ~/.mc/bashrc file and
2083 special keyboard maps in the ~/.mc/inputrc file.
2084 .B tcsh 
2085 users may specify startup commands in the ~/.mc/tcshrc file.
2087 When the subshell code is used, you can suspend applications at any
2088 time with the sequence C-o and jump back to the Midnight Commander, if
2089 you interrupt an application, you will not be able to run other
2090 external commands until you quit the application you interrupted.
2092 An extra added feature of using the subshell is that the prompt
2093 displayed by the Midnight Commander is the same prompt that you are
2094 currently using in your shell.
2097 .\"LINK2"
2098 OPTIONS
2099 .\"OPTIONS"
2100 section has more information on how you can control the subshell code.
2102 .SH "  Controlling Midnight Commander"
2103 The Midnight Commander defines an environment variable
2104 MC_CONTROL_FILE. The commands executed by MC may give instructions to
2105 MC by writing to the file specified by this variable.  This is only
2106 available if you compiled your copy of the Midnight Commander with the
2107 WANT_PARSE option.
2109 The following instructions are supported.
2112 clear_tags              Clear all tags.
2113 tag <filename>          Tag specified file.
2114 untag <filename>        Untag specified file.
2115 select <filename>       Move pointer to file.
2116 change_panel            Switch between panels.
2117 cd <path>               Change directory.
2120 If the first letter of the instruction is in lower case it operates on
2121 the current panel. If the letter is in upper case the instruction
2122 operates on the other panel. The additional letters must be in lower
2123 case. Instructions must be separated by exactly one space, tab or
2124 newline. The instructions don't work in the Info, Tree and Quick
2125 views. The first error causes the rest to be ignored.
2127 .SH "Chmod"
2128 The Chmod window is used to change the attribute bits in a group of
2129 files and directories.  It can be invoked with the C-x c key combination.
2131 The Chmod window has two parts -
2132 .I Permissions
2133 and 
2134 .I File
2136 In the File section are displayed the name of the file or directory
2137 and its permissions in octal form, as well as its owner and group.
2139 In the Permissions section there is a set of check buttons which
2140 correspond to the file attribute bits.  As you change the attribute
2141 bits, you can see the octal value change in the File section.
2143 To move between the widgets (buttons and check buttons) use the
2144 .I arrow keys
2145 or the
2146 .I Tab
2147 key.  To change the state of the check buttons or to select a button
2149 .I Space.
2150 You can also use the hotkeys on the buttons to quickly activate them.
2151 Hotkeys are shown as highlighted letters on the buttons.
2153 To set the attribute bits, use the Enter key.
2155 When working with a group of files or directories, you just click on
2156 the bits you want to set or clear.  Once you have selected the bits
2157 you want to change, you select one of the action buttons (Set marked
2158 or Clear marked).
2160 Finally, to set the attributes exactly to those specified, you can use
2162 .B [Set all]
2163 button, which will act on all the tagged files.
2165 .B [Marked all]
2166 set only marked attributes to all selected files
2168 .B [Set marked]
2169 set marked bits in attributes of all selected files
2171 .B [Clean marked]
2172 clear marked bits in attributes of all selected files
2174 .B [Set]
2175 set the attributes of one file
2177 .B [Cancel]
2178 cancel the Chmod command
2180 .SH "Chown"
2181 The Chown command is used to change the owner/group of a file. The hot
2182 key for this command is C-x o.
2184 .SH "Advanced Chown"
2185 The Advanced Chown command is the 
2186 .\"LINK2"
2187 Chmod
2188 .\"Chmod"
2189 and 
2190 .\"LINK2"
2191 Chown
2192 .\"Chown"
2193 command combined into one window. You can change the permissions and 
2194 owner/group of files at once.
2196 .SH "File Operations"
2197 When you copy, move or delete files the Midnight Commander shows the
2198 file operations dialog. It shows the files currently being operated on
2199 and there are at most three progress bars. The file bar tells how big
2200 part of the current file has been copied so far. The count bar tells
2201 how many of tagged files have been handled so far. The bytes bar tells
2202 how big part of total size of the tagged files has been handled so
2203 far. If the verbose option is off the file and bytes bars are not
2204 shown.
2206 There are two buttons at the bottom of the dialog. Pressing the Skip
2207 button will skip the rest of the current file. Pressing the Abort
2208 button will abort the whole operation, the rest of the files are
2209 skipped.
2211 There are three other dialogs which you can run into during the file
2212 operations.
2214 The error dialog informs about error conditions and has three
2215 choices. Normally you select either the Skip button to skip the file
2216 or the Abort button to abort the operation altogether. You can also
2217 select the Retry button if you fixed the problem from another
2218 terminal.
2220 The replace dialog is shown when you attempt to copy or move a file on
2221 the top of an existing file. The dialog shows the dates and sizes of
2222 the both files. Press the Yes button to overwrite the file, the No
2223 button to skip the file, the alL button to overwrite all the files,
2224 the nonE button to never overwrite and the Update button to overwrite
2225 if the source file is newer than the target file. You can abort the
2226 whole operation by pressing the Abort button.
2228 The recursive delete dialog is shown when you try to delete a
2229 directory which is not empty. Press the Yes button to delete the
2230 directory recursively, the No button to skip the directory, the alL
2231 button to delete all the directories and the nonE button to skip all
2232 the non-empty directories. You can abort the whole operation by
2233 pressing the Abort button. If you selected the Yes or alL button you
2234 will be asked for a confirmation. Type "yes" only if you are really
2235 sure you want to do the recursive delete.
2237 If you have tagged files and perform an operation on them only the
2238 files on which the operation succeeded are untagged. Failed and
2239 skipped files are left tagged.
2241 .SH "Mask Copy/Rename"
2242 The copy/move operations lets you translate the names of files in an easy
2243 way. To do it, you have to specify the correct source mask and usually in
2244 the trailing part of the destination specify some wildcards.
2245 All the files matching the source mask are copied/renamed according to
2246 the target mask. If there are tagged files, only the tagged files
2247 matching the source mask are renamed.
2249 There are other option which you can set: 
2251 Follow links tells whether make the symlinks and hardlinks in the source 
2252 directory (recursively in subdirectories) new links in the target 
2253 directory or whether would you like to copy their content.
2255 Dive into subdirs tells what to do if in the target
2256 directory exists a directory with the same name as the
2257 file/directory being copied. The default action is to copy
2258 it's content into that directory, by enabling this 
2259 you can copy the source directory into that directory. 
2260 Perhaps an example will help:
2262 You want to copy content of a directory foo to /bla/foo,
2263 which is an already existing directory. Normally (when
2264 Dive is not set), mc would copy it exactly into /bla/foo. 
2265 By enabling this option you will copy the content into /bla/foo/foo,
2266 because the directory already exists.
2268 Preserve attributes tells whether to preserve the original files' 
2269 permissions, timestamps and if you are root whether to preserve 
2270 the original files' UID and GID. If this option is not set the current 
2271 value of the umask will be respected.
2273 .B "Use shell patterns on"
2275 When the shell patterns option is on you can use the '*' and '?'
2276 wildcards in the source mask. They work like they do in the shell. In
2277 the target mask only the '*' and '\\<digit>' wildcards are allowed. The
2278 first '*' wildcard in the target mask corresponds to the first
2279 wildcard group in the source mask, the second '*' corresponds to the
2280 second group and so on. The '\\1' wildcard corresponds to the first
2281 wildcard group in the source mask, the '\\2' wildcard corresponds to
2282 the second group and so on all the way up to '\\9'. The '\\0' wildcard
2283 is the whole filename of the source file.
2285 Two examples:
2287 If the source mask is "*.tar.gz", the destination is "/bla/*.tgz" and the
2288 file to be copied is "foo.tar.gz", the copy will be "foo.tgz" in "/bla".
2290 Let's suppose you want to swap basename and extension so that "file.c"
2291 will become "c.file" and so on. The source mask for this is "*.*" and
2292 the destination is "\\2.\\1".
2294 .B "Use shell patterns off"
2296 When the shell patterns option is off the MC doesn't do automatic
2297 grouping anymore. You must use '\\(...\\)' expressions in the source
2298 mask to specify meaning for the wildcards in the target mask. This is
2299 more flexible but also requires more typing. Otherwise target masks
2300 are similar to the situation when the shell patterns option is on.
2302 Two examples:
2304 If the source mask is "^\\(.*\\)\\.tar\\.gz$", the destination is
2305 "/bla/*.tgz" and the file to be copied is "foo.tar.gz", the copy
2306 will be "/bla/foo.tgz".
2308 Let's suppose you want to swap basename and extension so that "file.c"
2309 will become "c.file" and so on. The source mask for this is
2310 "^\\(.*\\)\\.\\(.*\\)$" and the destination is "\\2.\\1".
2312 .B "Case Conversions"
2314 You can also change the case of the filenames.  If you use '\\u'
2315 or '\\l' in the target mask, the next character will be converted to
2316 uppercase or lowercase correspondingly.
2318 If you use '\\U' or '\\L' in the target mask, the next characters will
2319 be converted to uppercase or lowercase correspondingly up to the
2320 next '\\E' or next '\\U', '\\L' or the end of the file name.
2322 The '\\u' and '\\l' are stronger than '\\U' and '\\L'.
2324 For example, if the source mask is '*' (shell patterns on) or '^\\(.*\\)$'
2325 (shell patterns off) and the target mask is '\\L\\u*' the file names
2326 will be converted to have initial upper case and otherwise lower case.
2328 You can also use '\\' as a quote character. For example, '\\\\' is 
2329 a backslash and '\\*' is an asterisk.
2331 .SH "Internal File Viewer"
2332 The internal file viewer provides two display modes: ASCII and hex.
2333 To toggle between modes, use the F4 key.  If you have the GNU gzip
2334 program installed, it will be used to automatically decompress the
2335 files on demand.
2337 The viewer will try to use the best method provided by your system or
2338 the file type to display the information.  The internal file viewer
2339 will interpret some string sequences to set the bold and underline
2340 attributes, thus making a pretty display of your files.  
2342 When in hex mode, the search function accepts text in quotes and
2343 constant numbers.  Text in quotes is matched exactly after removing
2344 the quotes.  Each number matches one byte.  You can mix quoted text
2345 with constants like this:
2348 "String" -1 0xBB 012 "more text"
2351 Note that 012 is an octal number.  -1 is converted to 0xFF.
2353 Some internal details about the viewer: On systems that provide the
2354 mmap(2) system call, the program maps the file instead of loading it;
2355 if the system does not provide the mmap(2) system call or the file
2356 matches an action that requires a filter, then the viewer will use
2357 it's growing buffers, thus loading only those parts of the file that
2358 you actually access (this includes compressed files).
2360 Here is a listing of the actions associated with each key that the
2361 Midnight Commander handles in the internal file viewer.
2363 .B F1
2364 Invoke the builtin hypertext help viewer.
2366 .B F2
2367 Toggle the wrap mode.
2369 .B F4
2370 Toggle the hex mode.
2372 .B F5
2373 Goto line.  This will prompt you for a line number and will display
2374 that line.
2376 .B F6, /. 
2377 Regular expression search.
2379 .B ?,
2380 Reverse regular expression search.
2382 .B F7
2383 Normal search / hex mode search.
2385 .B C-s, F17, n.
2386 Start normal search if there was no previous search expression else
2387 find next match.
2389 .B C-r.
2390 Start reverse search if there was no previous search expression else
2391 find next match.
2393 .B F8
2394 Toggle Raw/Parsed mode: This will show the file as found on disk or if
2395 a processing filter has been specified in the mc.ext file, then the
2396 output from the filter. Current mode is always the other than written
2397 on the button label, since on the button is the mode which you enter
2398 by that key.
2400 .B F9
2401 Toggle the format/unformat mode: when format mode is on the viewer
2402 will interpret some string sequences to show bold and underline with
2403 different colors. Also, on button label is the other mode than current.
2405 .B F10, Esc.
2406 Exit the internal file viewer.
2408 .B next-page, space, C-v.
2409 Scroll one page forward.
2411 .B prev-page, M-v, C-b, backspace.
2412 Scroll one page backward.
2414 .B down-key
2415 Scroll one line forward.
2417 .B up-key
2418 Scroll one line backward.
2420 .B C-l
2421 Refresh the screen.
2423 .B C-o
2424 Switch to the subshell and show the command screen.
2426 .B !
2427 Like C-o, but run a new shell if the subshell is not running.
2429 .B "[n] m"
2430 Set the mark n.
2432 .B "[n] r"
2433 Jump to the mark n.
2435 .B C-f
2436 Jump to the next file.
2438 .B C-b 
2439 Jump to the previous file.
2441 .B M-r 
2442 Toggle the ruler.
2444 It's possible to instruct the file viewer how to display a file, look
2445 at the 
2446 .\"LINK2"
2447 Extension File Edit section
2448 .\"Extension File Edit"
2449 .SH "Internal File Editor"
2450 The internal file editor provides most of the features of
2451 common full screen editors. It is invoked using 
2452 .B F4
2453 provided
2454 the 
2455 .I use_internal_edit
2456 option is set in the initialization file. It has an extendable file size
2457 limit of sixteen megabytes and edits binary files flawlessly.
2459 The features it presently supports are: Block
2460 copy, move, delete, cut, paste; 
2461 .I "key for key undo"; 
2462 pull-down
2463 menus; file insertion; macro definition; regular expression
2464 search and replace (and our own scanf-printf search and
2465 replace); shift-arrow MSW-MAC text highlighting (for the
2466 linux console only); insert-overwrite toggle; and an option
2467 to pipe text blocks through shell commands like indent.
2469 The editor is very easy to use and requires no tutoring.
2470 To see what keys do what, just consult the appropriate
2471 pull-down menu. Other keys are: Shift movement
2472 keys do text highlighting. 
2473 .B Ctrl-Ins
2474 copies to the file
2475 .B cooledit.clip and 
2476 .B Shift-Ins
2477 pastes from cooledit.clip.
2478 .B Shift-Del 
2479 cuts to 
2480 .B cooledit.clip, 
2481 and 
2482 .B Ctrl-Del
2483 deletes highlighted text. The completion key also does a Return
2484 with an automatic indent. Mouse highlighting also works, and you
2485 can override the mouse as usual by holding down the shift key
2486 while dragging the mouse to let normal terminal mouse highlighting
2487 work.
2489 To define a macro, press 
2490 .B Ctrl-R
2491  and then type out the key
2492 strokes you want to be executed. Press 
2493 .B Ctrl-R
2494  again when finished. You can then assign the macro to any key you
2495 like by pressing that key. The macro is executed when you press
2496 .B Ctrl-A and then the assigned key. The macro is also executed if
2497 you press Meta, Ctrl, or Esc and the assigned key, provided that the
2498 key is not used for any other function. Once defined, the macro
2499 commands go into the file 
2500 .B .mc/cedit/cooledit.macros
2501  in your home directory. You can delete a macro by deleting the
2502 appropriate line in this file.
2504 .B F19
2505 will format the currently highlighted block (plain text or
2506 .B C
2508 .B C++
2509 code or another). This is controlled by the
2510 file
2511 .B @prefix@/lib/mc/edit.indent.rc
2512 which is copied to
2513 .B .mc/cedit/edit.indent.rc
2514 in your home directory the first time you use it.
2516 You can use scanf search and replace to search and replace
2517 a C format string. First take a look at the 
2518 .B sscanf
2519 and 
2520 .B sprintf man pages to see what a format string
2521 is and how it works. An example is as follows: Suppose you want
2522 to replace all occurrences of say, an open bracket, three
2523 comma separated numbers, and a close bracket, with the
2524 word 
2525 .I apples, 
2526 the third number, the word 
2527 .I oranges
2528 and then the second number, I would fill in the Replace dialog
2529 box as follows:
2532  Enter search string
2533 (%d,%d,%d)
2534  Enter replace string
2535 apples %d oranges %d
2536  Enter replacement argument order
2540 The last line specifies that the third and then the second
2541 number are to be used in place of the first and second.
2543 It is advisable to use this feature with Prompt on replace on, because
2544 a match is thought to be found whenever the number of arguments found
2545 matches the number given, which is not always a real match. Scanf also
2546 treats whitespace as being elastic.  Note that the scanf format % is
2547 very useful for scanning strings, and whitespace.
2549 The editor also displays non-us characters (160+). When editing
2550 binary files, you should set 
2551 .B display bits
2552 to 7 bits in the options menu to keep the spacing clean.
2554 See also the file 
2555 .B README.edit
2556 in the source tree for some more info.
2558 .SH "Completion"
2559 Let the Midnight Commander type for you.
2561 Attempt to perform completion on the text before current position. MC
2562 attempts completion treating the text as variable (if the text begins with
2563 .B $
2564 ), username (if the text begins with 
2565 .B ~
2566 ), hostname (if the text
2567 begins with 
2568 .B @
2569 ) or command (if you are on the command line in the
2570 position where you might type a command, possible completions then include
2571 shell reserved words and shell builtin commands as well) in turn. If none
2572 of these produces a match, filename completion is attempted.
2574 Filename, username, variable and hostname completion works on all input
2575 lines, command completion is command line specific.
2576 If the completion is ambiguous (there are more different possibilities),
2577 MC beeps and the following action depends on the setting of the
2578 .I Complete: show all
2579 option in the
2580 .\"LINK2"
2581 Configuration
2582 .\"Configuration"
2583 dialog. If it is enabled, a list of all
2584 possibilities pops up next to the current position and you can select with
2585 the arrow keys and
2586 .B Enter
2587 the correct entry. You can also type the first letters in which the
2588 possibilities differ to move to a subset of all possibilities and complete
2589 as much as possible. If you press
2590 .B M-Tab
2591 again, only the subset will be shown in the listbox, otherwise the first
2592 item which matches all the previous characters will be highlighted. As soon
2593 as there is no ambiguity, dialog disappears, but you can hide it by
2594 canceling keys 
2595 .B Esc,
2596 .B F10
2597 and left and right arrow keys. If
2598 .\"LINK2"
2599 Complete: show all
2600 .\"Configuration"
2601 is disabled, the dialog pops up only if you press
2602 .B M-Tab
2603 for the second time, for the first time MC just beeps.
2605 .SH "Virtual File System"
2606 The Midnight Commander is provided with a code layer to access the
2607 file system; this code layer is known as the virtual file system
2608 switch.  The virtual file system switch allows the Midnight Commander
2609 to manipulate files not located on the Unix file system.
2611 Currently the Midnight Commander is packaged with some Virtual File
2612 Systems (VFS): the local file system, used for accessing the regular
2613 Unix file system; the ftpfs, used to manipulate files on remote
2614 systems with the FTP protocol; the tarfs, used to manipulate tar and
2615 compressed tar files; the undelfs, used to recover deleted files on
2616 ext2 file systems (the default file system for Linux systems), fish
2617 (for manipulating files over shell connections such as rsh and ssh) and
2618 finally the mcfs (Midnight Commander file system), a network based
2619 file system.
2621 The VFS switch code will interpret all of the path names used and will
2622 forward them to the correct file system, the formats used for each one
2623 of the file systems is described later in their own section.
2625 .SH "  FTP File System"
2626 The ftpfs allows you to manipulate files on remote machines, to
2627 actually use it, you may try to use the panel command FTP link
2628 (accessible from the menubar) or you may directly change your current
2629 directory to it using the cd command to a path name that looks like this:
2631 .I /#ftp:[!][user[:pass]@]machine[:port][remote-dir]
2633 The,
2634 .I user, port
2636 .I remote-dir
2637 elements are optional.  If you specify the
2638 .I user
2639 element, then the Midnight Commander will try to logon on the remote
2640 machine as that user, otherwise it will use your login name.  The
2641 optional 
2642 .I pass
2643 element, if present is the password used for the connection.  This is not
2644 recommended (nor keeping the password in your hotlist, unless you set the
2645 appropriate permissions there, and even then it may not be entirely safe).
2647 Examples:
2650     /#ftp:ftp.nuclecu.unam.mx/linux/local
2651     /#ftp:tsx-11.mit.edu/pub/linux/packages
2652     /#ftp:!behind.firewall.edu/pub
2653     /#ftp:guest@remote-host.com:40/pub
2654     /#ftp:miguel:xxx@server/pub
2657 To connect to sites behind a firewall, you will need to use the prefix
2658 ftp://! (i.e., with a bang character after the double slash) to make
2659 the Midnight Commander use a proxy host for doing the ftp transfer.
2660 You can define the proxy host in the
2661 .\"LINK2"
2662 Virtual File System
2663 .\"Virtual FS"
2664 dialog box.  
2666 Another option to set is the 
2667 .I Always use ftp proxy
2668 option in the 
2669 .\"LINK2"
2670 Virtual File System
2671 .\"Virtual FS"
2672 dialog box.  This will configure the program
2673 to always use the proxy host.  If this variable is set, the program
2674 will do two things: consult the @prefix@/lib/mc/mc.no_proxy file for
2675 lines containing host names that are local (if the host name starts
2676 with a dot, it is assumed to be a domain) and to assume that any
2677 hostnames without dots in their names are directly accessible.
2679 If you are using the ftpfs code with a filtering packet router that
2680 does not allow you to use the regular mode of opening files, you may
2681 want to force the program to use the passive-open mode.  To use this,
2682 set the ftpfs_use_passive_connections option in the initialization file.
2684 The Midnight Commander keeps the directory listing in a cache.  The cache
2685 expire time is configurable in the
2686 .\"LINK2"
2687 Virtual File System 
2688 .\"Virtual FS"
2689 dialog box.  This has the funny behavior that even if you make changes to a
2690 directory, they will not be reflected in the directory listing until you
2691 force a cache reload with the C-r key.  This is a feature (when you think
2692 it's a bug, think about manipulating files on the other side of the Atlantic
2693 with ftpfs).
2695 .SH "  Tar File System"
2696 The tar file system provides you with read-only access to your tar
2697 files and compressed tar files by using the chdir command.  To change
2698 your directory to a tar file, you change your current directory to the
2699 tar file by using the following syntax:
2701 .I /filename.tar:utar/[dir-inside-tar]
2703 The mc.ext file already provides a shortcut for tar files, this means
2704 that usually you just point to a tar file and press return to enter
2705 into the tar file, see the 
2706 .\"LINK2"
2707 Extension File Edit 
2708 .\"Extension File Edit"
2709 section for details on how this is done.
2711 Examples:
2714     mc-3.0.tar.gz#utar/mc-3.0/vfs
2715     /ftp/GCC/gcc-2.7.0.tar#utar
2718 The latter specifies the full path of the tar archive.
2719 .SH "  FIle transfer over SHell filesystem"
2721 The fish file system is a network based file system that allows you to
2722 manipulate the files in a remote machine as if they were local. To use
2723 this, the other side has to either run fish server, or has to have
2724 bash-compatible shell.
2726 To connect to a remote machine, you just need to chdir
2727 into a special directory which name is in the following
2728 format:
2731 /#sh:[user@]machine[:options]/[remote-dir]
2733 The, 
2734 .I user, 
2735 .I options
2736 and 
2737 .I remote-dir
2738  elements are optional. If
2739 you specify the 
2740 .I user
2741 element then the Midnight Commander
2742 will try to logon on the remote machine as that user,
2743 otherwise it will use your login name.
2745 The 
2746 .I options
2747 are 'C' - use compression and 'rsh' use rsh instead
2748 of ssh. If the 
2749 .I remote-dir
2750 element is present, your current directory on the remote machine will
2751 be set to this one.
2753 Examples:
2756     /#sh:onlyrsh.mx:r/linux/local
2757     /#sh:joe@want.compression.edu:C/private
2758     /#sh:joe@noncompressed.ssh.edu/private
2761 .SH "  Network File System"
2762 The Midnight Commander file system is a network base file system that
2763 allows you to manipulate the files in a remote machine as if they
2764 were local.  To use this, the remote machine must be running the
2765 mcserv(8) server program.
2767 To connect to a remote machine, you just need to chdir into a special
2768 directory which name is in the following format:
2770 .I /#mc:[user@]machine[:port][remote-dir]
2772 The,
2773 .I user, port
2775 .I remote-dir
2776 elements are optional.  If you specify the 
2777 .I user
2778 element then the Midnight Commander will try to logon on the remote
2779 machine as that user, otherwise it will use your login name.
2781 The 
2782 .I port
2783 element is used when the remote machine running on a special port
2784 (see the mcserv(8) manual page for more information about ports);
2785 finally, if the
2786 .I remote-dir
2787 element is present, your current directory on the remote machine will
2788 be set to this one.
2790 Examples:
2793     /#mc:ftp.nuclecu.unam.mx/linux/local
2794     /#mc:joe@foo.edu:11321/private
2797 .SH "  Undelete File System"
2798 On Linux systems, if you asked configure to use the ext2fs undelete
2799 facilities, you will have the undelete file system available.
2800 Recovery of deleted files is only available on ext2 file systems.  The
2801 undelete file system is just an interface to the ext2fs library to:
2802 retrieve all of the deleted files names on an ext2fs and provides and
2803 to extract the selected files into a regular partition.
2805 To use this file system, you have to chdir into the special file name
2806 formed by the "/#undel" prefix and the file name where the actual
2807 file system resides.
2809 For example, to recover deleted files on the second partition of the
2810 first SCSI disk on Linux, you would use the following path name:
2813     /#undel:sda2
2816 It may take a while for the undelfs to load the required information
2817 before you start browsing files there. 
2819 .SH "Colors"
2820 The Midnight Commander will try to detect if your terminal supports
2821 color using the terminal database and your terminal name.  Sometimes
2822 it gets confused, so you may force color mode or disable color mode
2823 using the -c and -b flag respectively.  
2825 If the program is compiled with the Slang screen manager instead of
2826 ncurses, it will also check the variable 
2827 .B COLORTERM,
2828 if it is set, it has the same effect as the -c flag.
2830 You may specify terminals that always force color mode
2831 by adding the 
2832 .I color_terminals
2833 variable to the Colors
2834 section of the initialization file. This will prevent the
2835 Midnight Commander from trying to detect if your terminal
2836 supports color. Example:
2838 [Colors]
2839 color_terminals=linux,xterm
2842 color_terminals=terminal-name1,terminal-name2...
2845 The program can be compiled with both ncurses and slang, ncurses does
2846 not provide a way to force color mode: ncurses uses just the
2847 information in the terminal database.
2849 The Midnight Commander provides a way to change the default colors.
2850 Currently the colors are configured using the environment variable
2851 .B MC_COLOR_TABLE 
2852 or the Colors section in the initialization file.
2854 In the Colors section, the default color map is loaded from the 
2855 .I base_color 
2856 variable.  You can specify an alternate color map for a terminal by
2857 using the terminal name as the key in this section.  Example:
2860 [Colors]
2861 base_color=
2862 xterm=menu=magenta:marked=,magenta:markselect=,red
2865 The format for the color definition is:
2868   <keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
2871 The colors are optional, and the keywords are: normal,
2872 selected, marked, markselect, errors, input, reverse, gauge;
2873 Menu colors are: menu, menusel, menuhot, menuhotsel;  Dialog colors
2874 are: dnormal, dfocus, dhotnormal, dhotfocus;  Help colors
2875 are: helpnormal, helpitalic, helpbold, helplink, helpslink;  
2876 Viewer color is: viewunderline; Special highlighting colors are: 
2877 executable, directory, link, device, special, core; Editor colors
2878 are: editnormal, editbold, editmarked.
2880 .I input 
2881 determines the color of input lines used in query dialogs.
2883 .I gauge 
2884 determines the color of the filled part of the progress bar
2885 (gauge), which shows how many percent of files were copied
2886 etc. in a graphical way.
2888 The dialog boxes use the following colors:
2889 .I dnormal 
2890 is used for the normal text,
2891 .I dfocus
2892 is the color used for the currently selected component,
2893 .I dhotnormal
2894 is the color used to differentiate the hotkey color in normal
2895 components, whereas the
2896 .I dhotfocus
2897 color is used for the highlighted color in the currently selected
2898 component.
2900 Menus use the same scheme but uses the menu, menusel, menuhot and
2901 menuhotsel tags instead.
2903 Help uses the following colors:
2904 .I helpnormal
2905 is used for normal text,
2906 .I helpitalic
2907 is used for text which is emphasized in italic in the manual page,
2908 .I helpbold
2909 is used for text which is emphasized in bold in the manual page,
2910 .I helplink
2911 is used for not selected hyperlinks and
2912 .I helpslink
2913 is used for selected hyperlink.
2915 Special highlight colors determine how files are displayed 
2916 when file highlighting is enabled (see the section on
2917 .\"LINK2"
2918 Layout).
2919 .\"Layout
2920 .I directory
2921 is used for directories or symbolic links to directories; 
2922 .I executable
2923 for executable files;
2924 .I link
2925 is used for symbolic links which are neither stalled nor linked
2926 to a directory; 
2927 .I stalledlink
2928 is used for stalled symbolic links; 
2929 .I device
2930 - character and block devices; 
2931 .I special
2932 is used for special files, such as pipes and sockets; 
2933 .I core
2934 is for core files.
2936 The possible colors are: black, gray, red, brightred, green,
2937 brightgreen, brown, yellow, blue, brightblue, magenta, brightmagenta,
2938 cyan, brightcyan, lightgray and white. And there is a special keyword
2939 for transparent background. It is 'default'. The 'default' can only be
2940 used for background color. Example:
2942 [Colors]
2943 base_color=normal=white,default:marked=magenta,default
2946 .SH "Special Settings"
2947 Most of the settings of the Midnight Commander can be changed from the
2948 menus. However, there are a small number of settings which can only be
2949 changed by editing the setup file.
2951 These variables may be set in your ~/.mc/ini file:
2953 .I clear_before_exec.
2955 By default the Midnight Commander clears the screen before executing a
2956 command. If you would prefer to see the output of the command at the
2957 bottom of the screen, edit your ~/mc.ini file and change the value of
2958 the field clear_before_exec to 0.
2960 .I confirm_view_dir.
2962 If you press F3 on a directory, normally MC enters that directory. If
2963 this flag is set to 1, then MC will ask for confirmation before
2964 changing the directory if you have files tagged.
2966 .I ftpfs_retry_seconds.
2968 This value is the number of seconds the Midnight Commander will wait
2969 before attempting to reconnect to an ftp server that has denied the login.
2970 If the value is zero, the login will no be retried.
2972 .I ftpfs_use_passive_connections.
2974 This option is by off default.  This makes the ftpfs code use the
2975 passive open mode for transferring files.  This is used by people that
2976 are behind a filtering packet router.  This option just works if you
2977 are not using an ftp proxy.
2979 .I max_dirt_limit.
2981 Specifies how many screen updates can be skipped at most in the internal
2982 file viewer.  Normally this value is not significant, because the code
2983 automatically adjusts the number of updates to skip according to the rate
2984 of incoming keystrokes.  However, on very slow machines or terminals
2985 with a fast keyboard auto repeat, a big value can make screen updates
2986 too jumpy.
2988 It seems that setting max_dirt_limit to 10 causes the best behavior,
2989 and that is the default value.
2991 .I mouse_move_pages.
2993 Controls whenever scrolling with the mouse is done by pages or line by
2994 line on the panels.
2996 .I mouse_move_pages_viewer.
2998 Controls if scrolling with the mouse is done by pages or line by line
2999 on the internal file viewer.
3001 .I old_esc_mode
3003 By default the Midnight Commander treats the ESC key as a key prefix
3004 (old_esc_mode=0), if you set this option (old_esc_mode=1), then the
3005 ESC key will act as a prefix key for one second, and if no extra keys
3006 have arrived, then the ESC key is interpreted as a cancel key (ESC
3007 ESC).
3010 .I only_leading_plus_minus
3012 set special treatment for '+', '-', '*' in command line (select,
3013 unselect, reverse selection) only if command line is empty. No need to
3014 quote this characters in the middle of the command line. But we can not
3015 change selection when command line is not empty.
3016 .I panel_scroll_pages
3018 If set (the default), panel will scroll by half the display when the
3019 cursor reaches the end or the beginning of the panel, otherwise it
3020 will just scroll a file at a time.
3022 .I preserve_uidgid
3024 If this option is set (the default), when logged in as root the
3025 default will be to preserve the UID and the GID of files.  Some users
3026 prefer to disable this option, so that's why it's configurable.
3028 .I show_output_starts_shell
3030 This variable only works if you are not using the subshell support.
3031 When you use the C-o keystroke to go back to the user screen, if this
3032 one is set, you will get a fresh shell.  Otherwise, pressing any key
3033 will bring you back to the Midnight Commander.
3035 .I torben_fj_mode
3037 If this flag is set, then the home and end keys will work slightly
3038 different on the panels, instead of moving the selection to the first
3039 and last files in the panels, they will act as follows:
3041 The home key will: Go up to the middle line, if below it; else go to
3042 the top line unless it is already on the top line, in this case it
3043 will go to the first file in the panel.
3045 The end key has a similar behavior: Go down to the middle line, if
3046 over it; else go to the bottom line unless you already are at the
3047 bottom line, in such case it will move the selection to the last file
3048 name in the panel.
3050 .I use_file_to_guess_type
3052 If this variable is on (the default) it will spawn the file command to
3053 match the file types listed on the
3054 .\"LINK2"
3055 mc.ext file.
3056 .\"Extension File Edit"
3058 .I xterm_mode
3060 If this variable is on (default is off) when you browse the file
3061 system on a Tree panel, it will automatically reload the other panel
3062 with the contents of the selected directory.
3064 .SH "Terminal databases"
3065 The Midnight Commander provides a way to fix your system terminal
3066 database without requiring root privileges.  The Midnight Commander
3067 searches in the system initialization file (the mc.lib file located in
3068 the Midnight Commander library directory) and in the ~/.mc/ini file
3069 for the section "terminal:your-terminal-name" and then for the section
3070 "terminal:general", each line of the section contains a key symbol
3071 that you want to define, followed by an equal sign and the definition
3072 for the key.  You can use the special \\e form to represent the escape
3073 character and the ^x to represent the control-x character.
3075 The possible key symbols are:
3078 f0 to f20     Function keys f0-f20
3079 bs            backspace
3080 home          home key
3081 end           end key
3082 up            up arrow key
3083 down          down arrow key
3084 left          left arrow key
3085 right         right arrow key
3086 pgdn          page down key
3087 pgup          page up key
3088 insert        the insert character
3089 delete        the delete character
3090 complete      to do completion
3093 For example, to define the key insert to be the Escape + [ + O + p, you
3094 set this in the ini file:
3097 insert=\\e[Op
3100 The 
3101 .I complete
3102 key symbol represents the escape sequences used to invoke the
3103 completion process, this is invoked with M-tab, but you can define
3104 other keys to do the same work (on those keyboard with tons of nice
3105 and unused keys everywhere).
3107 .SH ""
3108 .SH "FILES"
3110 The program will retrieve all of its information relative to the
3111 MCHOME environment variable, if this variable is not set, then it will
3112 fall back to the @prefix@ directory.
3114 @prefix@/lib/mc/mc.hlp
3116 The help file for the program.
3118 @prefix@/lib/mc/mc.ext
3120 The default system-wide extensions file.
3122 ~/.mc/ext
3124 User's own extension, view configuration and edit configuration
3125 file.  They override the contents of the system wide files if present.
3127 @prefix@/lib/mc/mc.ini
3129 The default system-wide setup for the Midnight Commander, used only if
3130 the user doesn't have his own ~/.mc/ini file.
3132 @prefix@/lib/mc/mc.lib
3134 Global settings for the Midnight Commander.  Settings in this file
3135 affect all users, whether they have ~/.mc/ini or not, as long as
3136 ~/.mc/ini doesn't override them.  Currently, only
3137 .\"LINK2"
3138 terminal settings
3139 .\"Terminal databases"
3140 are loaded from mc.lib.
3142 ~/.mc/ini
3144 User's own setup. If this file is present then the setup is loaded
3145 from here instead of the system-wide startup file.
3147 @prefix@/lib/mc/mc.hint
3149 This file contains the hints (cookies) displayed by the program.
3151 @prefix@/lib/mc/mc.menu
3153 This file contains the default system-wide applications menu.
3155 ~/.mc/menu
3157 User's own application menu. If this file is present it is used
3158 instead of the system-wide applications menu.
3160 ~/.mc/Tree
3162 The directory list for the directory tree and tree view features.
3164 \&./.mc.menu
3166 Local user-defined menu. If this file
3167 is present it is used instead of the home or system-wide
3168 applications menu.
3170 .\"SKIP_SECTION"
3171 .SH "LICENSE"
3172 This program is distributed under the terms of the GNU General Public
3173 License as published by the Free Software Foundation. See the built-in
3174 help for details on the License and the lack of warranty.
3175 .SH "AVAILABILITY"
3176 The latest version of this program can be found at 
3177 ftp://ftp.gnome.org/mirror/gnome.org/stable/sources/mc/ and on the
3178 mirrors listed on the GNOME site http://www.gnome.org/.
3179 .SH "SEE ALSO"
3180 ed(1), gpm(1), mcserv(8), terminfo(1), view(1), sh(1), bash(1),
3181 tcsh(1), zsh(1).
3184 The Midnight Commander page on the World Wide Web:
3185         http://www.gnome.org/mc/
3188 .SH "AUTHORS"
3189 Miguel de Icaza (miguel@ximian.com), Janne Kukonlehto
3190 (jtklehto@paju.oulu.fi), Radek Doulik (rodo@ucw.cz), Fred
3191 Leeflang (fredl@nebula.ow.org), Dugan Porter (dugan@b011.eunet.es),
3192 Jakub Jelinek (jj@sunsite.mff.cuni.cz), Ching Hui
3193 (mr854307@cs.nthu.edu.tw), Andrej Borsenkow (borsenkow.msk@sni.de),
3194 Norbert Warmuth (nwarmuth@privat.circular.de), 
3195 Mauricio Plaza (mok@roxanne.nuclecu.unam.mx), Paul Sheer
3196 (psheer@icon.co.za), Pavel Machek (pavel@ucw.cz) and Pavel Roskin
3197 (proski@gnu.org) are the developers of this package.
3198 Alessandro Rubini (rubini@ipvvis.unipv.it) has been especially helpful
3199 debugging and enhancing the program's mouse support, John Davis
3200 (davis@space.mit.edu) also made his S-Lang library available to us
3201 under the GPL and answered my questions about it, and the following
3202 people have contributed code and many bug fixes (in alphabetical
3203 order):
3205 Adam Tla/lka (atlka@sunrise.pg.gda.pl),
3206 alex@bcs.zp.ua (Alex I. Tkachenko), Antonio Palama,
3207 DOS port (palama@posso.dm.unipi.it), Erwin van Eijk
3208 (wabbit@corner.iaf.nl), Gerd Knorr (kraxel@cs.tu-berlin.de),
3209 Jean-Daniel Luiset (luiset@cih.hcuge.ch), Jon Stevens
3210 (root@dolphin.csudh.edu), Juan Francisco Grigera, Win32 port
3211 (j-grigera@usa.net), Juan Jose Ciarlante (jjciarla@raiz.uncu.edu.ar),
3212 Ilya Rybkin (rybkin@rouge.phys.lsu.edu), Marcelo Roccasalva
3213 (mfroccas@raiz.uncu.edu.ar), Massimo Fontanelli (MC8737@mclink.it),
3214 Sergey Ya. Korshunoff (root@seyko.msk.su), Thomas Pundt
3215 (pundtt@math.uni-muenster.de), Timur Bakeyev
3216 (timur@goff.comtat.kazan.su), Tomasz Cholewo
3217 (tjchol01@mecca.spd.louisville.edu), Torben Fjerdingstad
3218 (torben.fjerdingstad@uni-c.dk), Vadim Sinolitis (vvs@nsrd.npi.msu.su)
3219 and Wim Osterholt (wim@djo.wtm.tudelft.nl).
3221 .SH "BUGS"
3222 See the file TODO in the distribution for information on what
3223 remains to be done.
3225 If you want to report a problem with the program, please send mail to
3226 this address: mc-devel@gnome.org.
3228 Provide a detailed description of the bug, the version of the program
3229 you are running (mc -V display this information), the operating system
3230 you are running the program on and if the program crashes, we would
3231 appreciate a stack trace.