some coherence with the english version manual adjusted...
[midnight-commander.git] / doc / mc.1.in
blob272f37ce6e7dd85c89745109e964b7141ea816ae
1 .\"TOPICS "Topics:"
2 .TH mc 1 "30 October 1998"
3 .\"SKIP_SECTION"
4 .SH "NAME"
5 mc \- Visual shell for Unix-like systems.
6 .\"SKIP_SECTION"
7 .SH "USAGE"
8 .B mc
9 [\-abcCdfhPstuUVx?] [\-l log] [dir1 [dir2]] [-v file]
10 .SH "DESCRIPTION"
11 .LP
12 The Midnight Commander is a directory browser/file manager for
13 Unix-like operating systems.
14 .\".\"DONT_SPLIT"
15 .SH "OPTIONS"
16 .TP
17 .I "\-a"
18 Disables the usage of graphic characters for line drawing.
19 .TP
20 .I "\-b"
21 Forces black and white display.
22 .TP
23 .I "\-c"
24 Force color mode, please check the section
25 .\"LINK2"
26 Colors
27 .\"Colors"
28 for more information.
29 .TP
30 .I "\-C arg"
31 Used to specify a different color set in the command line.  The format
32 of arg is documented in the
33 .\"LINK2"
34 Colors
35 .\"Colors"
36 section.
37 .TP
38 .I "\-d"
39 Disables mouse support.
40 .TP
41 .I "\-f"
42 Displays the compiled-in search paths for Midnight Commander files.
43 .TP
44 .I "\-k"
45 Reset softkeys to their default from the termcap/terminfo
46 database. Only useful on HP terminals when the function keys don't work.
47 .TP
48 .I "-l file"
49 Save the ftpfs dialog with the server in file.
50 .TP
51 .I "\-P"
52 At program end, the Midnight Commander will print the last working
53 directory. This function should not be used directly, instead, it should
54 be used from a special shell function that will automatically change the
55 current directory of the shell to the last directory the Midnight
56 Commander was in (thanks to Torben Fjerdingstad and Sergey for
57 contributing this function and the code implementing this option).
58 Source the files
59 .B @prefix@/share/mc/bin/mc.sh
60 (bash and zsh users) respectively
61 .B @prefix@/share/mc/bin/mc.csh
62 (tcsh users) in order to have this function defined.
63 .TP
64 .I "\-s"
65 Turns on the slow terminal mode, in this mode the program will not
66 draw expensive line drawing characters and will toggle verbose mode
67 off.
68 .TP
69 .I "\-t"
70 Used only if the code was compiled with Slang and terminfo: it makes
71 the Midnight Commander use the value of the
72 .B TERMCAP
73 variable for the terminal information instead of the information on
74 the system wide terminal database
75 .TP
76 .I "\-u"
77 Disables the use of a concurrent shell (only makes sense if the
78 Midnight Commander has been built with concurrent shell support).
79 .TP
80 .I "\-U"
81 Enables the use of the concurrent shell support (only makes sense if
82 the Midnight Commander was built with the subshell support set as an
83 optional feature).
84 .TP
85 .I "\-v file"
86 Enters the internal viewer to view the file specified.
87 .TP
88 .I "\-V"
89 Displays the version of the program.
90 .TP
91 .I "\-x"
92 Forces xterm mode.  Used when running on xterm-capable terminals (two
93 screen modes, and able to send mouse escape sequences).
94 .PP
95 If specified, the first path name is the directory to show in the
96 selected panel; the second path name is the directory to be shown in
97 the other panel.
98 .PP
99 .SH "Overview"
100 The screen of the Midnight Commander is divided into four parts.
101 Almost all of the screen space is taken up by two directory panels.
102 By default, the second line from the bottom of the screen is the
103 shell command line, and the bottom line shows the function key labels.
104 The topmost line is the
105 .\"LINK2"
106 menu bar line.
107 .\"Menu Bar"
108 The menu bar line may not be visible, but appears if you click the
109 topmost line with the mouse or press the F9 key.
111 The Midnight Commander provides a view of two directories at the same
112 time. One of the panels is the current panel (a selection bar is in
113 the current panel). Almost all operations take place on the current
114 panel. Some file operations like Rename and Copy by default use the
115 directory of the unselected panel as a destination (don't worry, they
116 always ask you for confirmation first). For more information, see the
117 sections on the
118 .\"LINK2"
119 Directory Panels,
120 .\"Directory Panels"
122 .\"LINK2"
123 Left and Right Menus
124 .\"Left and Right Menus"
125 and the
126 .\"LINK2"
127 File Menu.
128 .\"File Menu"
130 You can execute system commands from the Midnight Commander by simply
131 typing them. Everything you type will appear on the shell command line,
132 and when you press Enter the Midnight Commander will execute the
133 command line you typed; read the
134 .\"LINK2"
135 Shell Command Line
136 .\"Shell Command Line"
138 .\"LINK2"
139 Input Line Keys
140 .\"Input Line Keys"
141 sections to learn more about the command line.
143 .SH "Mouse Support"
144 The Midnight Commander comes with mouse support.  It is activated
145 whenever you are running on an
146 .B xterm(1)
147 terminal (it even works if you take a telnet, ssh or rlogin connection to
148 another machine from the xterm) or if you are running on a Linux
149 console and have the
150 .B gpm
151 mouse server running.
153 When you left click on a file in the directory panels, that file is
154 selected; if you click with the right button, the file is marked (or
155 unmarked, depending on the previous state).
157 Double-clicking on a file will try to execute the command if it is
158 an executable program; and if the
159 .\"LINK2"
160 extension file
161 .\"Extension File Edit"
162 has a program specified for the file's extension, the specified
163 program is executed.
165 Also, it is possible to execute the commands assigned to the function
166 key labels by clicking on them.
168 If a mouse button is clicked on the top frame line of the directory panel,
169 it is scrolled one page up.  Likewise, a click on the bottom frame line
170 will cause scrolling one page down.  This frame line method works also
171 in the
172 .\"LINK2"
173 Help Viewer
174 .\"Contents"
175 and the
176 .\"LINK2"
177 Directory Tree.
178 .\"Directory Tree"
180 The default auto repeat rate for the mouse buttons is 400
181 milliseconds. This may be changed to other values by editing the
182 .\"LINK2"
183 \&~/.mc/ini
184 .\"Save Setup"
185 file and changing the
186 .I mouse_repeat_rate
187 parameter.
189 If you are running the Commander with the mouse support, you can bypass
190 the Commander and get the default mouse behavior (cutting and pasting
191 text) by holding down the Shift key.
192 .SH ""
193 .SH "Keys"
194 Some commands in the Midnight Commander involve the use of the
195 .I Control
196 (sometimes labeled CTRL or CTL) and the
197 .I Meta
198 (sometimes labeled ALT or even Compose) keys. In this manual we will
199 use the following abbreviations:
201 C-<chr> means hold the Control key while typing the character
202 <chr>. Thus C-f would be: hold the Control key and type f.
204 M-<chr> means hold the Meta or Alt key down while typing <chr>. If
205 there is no Meta or Alt key, type ESC, release it, then type the
206 character <chr>.
208 All input lines in the Midnight Commander use an approximation to
209 the GNU Emacs editor's key bindings.
211 There are many sections which tell about the keys. The following are
212 the most important.
215 .\"LINK2"
216 File Menu
217 .\"File Menu"
218 section documents the keyboard shortcuts for the commands appearing in
219 the File menu. This section includes the function keys. Most of these
220 commands perform some action, usually on the selected file or the
221 tagged files.
224 .\"LINK2"
225 Directory Panels
226 .\"Directory Panels"
227 section documents the keys which select a file or tag files as a
228 target for a later action (the action is usually one from the file
229 menu).
232 .\"LINK2"
233 Shell Command Line
234 .\"Shell Command Line"
235 section list the keys which are used for entering and editing command
236 lines. Most of these copy file names and such from the directory
237 panels to the command line (to avoid excessive typing) or access the
238 command line history.
240 .\"LINK2"
241 Input Line Keys
242 .\"Input Line Keys"
243 are used for editing input lines. This means both the command line and
244 the input lines in the query dialogs.
246 .SH "  Miscellaneous Keys"
247 Here are some keys which don't fall into any of the other categories:
249 .B Enter.
250 If there is some text in the command line (the one at the bottom of
251 the panels), then that command is executed. If there is no text in the
252 command line then if the selection bar is over a directory the
253 Midnight Commander does a
254 .B chdir(2)
255 to the selected directory and reloads the information on the panel;
256 if the selection is an executable file then it is executed. Finally,
257 if the extension of the selected file name matches one of the
258 extensions in the
259 .\"LINK2"
260 extensions file
261 .\"Extension File Edit"
262 then the corresponding command is executed.
264 .B C-l.
265 Repaint all the information in the Midnight Commander.
267 .B C-x c.
268 Run the
269 .\"LINK2"
270 Chmod
271 .\"Chmod"
272 command on a file or on the tagged files.
274 .B C-x o.
275 Run the
276 .\"LINK2"
277 Chown
278 .\"Chown"
279 command on the current file or on the tagged files.
281 .B C-x l.
282 Run the link command.
284 .B C-x s.
285 Run the symbolic link command.
287 .B C-x i.
288 Set the other panel display mode to information.
290 .B C-x q.
291 Set the other panel display mode to quick view.
293 .B C-x !.
294 Execute the
295 .\"LINK2"
296 External panelize
297 .\"External panelize"
298 command.
300 .B C-x h
301 Run the
302 .\"LINK2"
303 add directory to hotlist
304 .\"Hotlist"
305 command.
307 .B M-!,
308 Executes the Filtered view command, described in the
309 .\"LINK2"
310 view command.
311 .\"Internal File Viewer"
313 .B M-?,
314 Executes the
315 .\"LINK2"
316 Find file
317 .\"Find File"
318 command.
320 .B M-c,
321 Pops up the
322 .\"LINK2"
323 quick cd
324 .\"Quick cd"
325 dialog.
327 .B C-o,
328 When the program is being run in the Linux or SCO console or under an xterm,
329 it will show you the output of the previous command.  When ran on the
330 Linux console, the Midnight Commander uses an external program
331 (cons.saver) to handle saving and restoring of information on the
332 screen.
334 When the subshell support is compiled in, you can type C-o at any time
335 and you will be taken back to the Midnight Commander main screen, to
336 return to your application just type C-o.  If you have an application
337 suspended by using this trick, you won't be able to execute other
338 programs from the Midnight Commander until you terminate the suspended
339 application.
341 .SH "  Directory Panels"
342 This section lists the keys which operate on the directory panels. If
343 you want to know how to change the appearance of the panels take a
344 look at the section on
345 .\"LINK2"
346 Left and Right Menus.
347 .\"Left and Right Menus"
349 .B Tab, C-i.
350 Change the current panel. The old other panel becomes the new current
351 panel and the old current panel becomes the new other panel. The
352 selection bar moves from the old current panel to the new current
353 panel.
355 .B Insert, C-t.
356 To tag files you may use the Insert key (the kich1 terminfo sequence)
357 or the C-t (Control-t) sequence. To untag files, just retag a tagged
358 file.
360 .B M-g, M-h (or M-r), M-j.
361 Used to select the top file in a panel, the middle file and the bottom one,
362 respectively.
364 .B C-s, M-s.
365 Start a filename search in the directory listing. When the search is
366 active, the user input will be added to the search string instead of
367 the command line. If the
368 .I "Show mini-status"
369 option is enabled the search string is shown on the mini-status
370 line. When typing, the selection bar will move to the next file
371 starting with the typed letters. The
372 .I "backspace"
374 .I DEL
375 keys can be used to correct typing mistakes. If C-s is pressed
376 again, the next match is searched for.
378 .B M-t
379 Toggle the current display listing to show the next display listing
380 mode.  With this it is possible to quickly switch from long listing
381 to regular listing and the user defined listing mode.
383 .B C-\\\\ (control-backslash).
384 Show the
385 .\"LINK2"
386 directory hotlist
387 .\"Hotlist"
388 and change to the selected directory.
390 .B + \ (plus).
391 This is used to select (tag) a group of files. The Midnight Commander
392 will prompt for a regular expression describing the group. When
393 .I Shell Patterns
394 are enabled, the regular expression is much like the regular
395 expressions in the shell (* standing for zero or more characters and ?
396 standing for one character). If
397 .I Shell Patterns
398 is off, then the tagging of files is done with normal regular
399 expressions (see ed (1)).
401 If the expression starts or ends with a slash (/), then it will select
402 directories instead of files.
404 .B \\\\ (backslash).
405 Use the "\\" key to unselect a group of files. This is the opposite of
406 the Plus key.
408 .B up-key, C-p.
409 Move the selection bar to the previous entry in the panel.
411 .B down-key, C-n.
412 Move the selection bar to the next entry in the panel.
414 .B home, a1, M-<.
415 Move the selection bar to the first entry in the panel.
417 .B end, c1, M->.
418 Move the selection bar to the last entry in the panel.
420 .B next-page, C-v.
421 Move the selection bar one page down.
423 .B prev-page, M-v.
424 Move the selection bar one page up.
426 .B M-o,
427 If the other panel is a listing panel and you are standing on a
428 directory in the current panel, then the other panel contents are set
429 to the contents of the currently selected directory (like Emacs' dired
430 C-o key) otherwise the other panel contents are set to the parent dir
431 of the current dir.
433 .B C-PageUp, C-PageDown
434 Only when ran on the Linux console: does a chdir to ".." and to the
435 currently selected directory respectively.
437 .B M-y
438 Moves to the previous directory in the history, equivalent
439 to depressing the '<' with the mouse.
441 .B M-u
442 Moves to the next directory in the history, equivalent
443 to depressing the '>' with the mouse.
445 .B M-S-h, M-H
446 Displays the directory history, equivalent to depressing the 'v' with
447 the mouse.
449 .SH "  Shell Command Line"
450 This section lists keys which are useful to avoid excessive typing when
451 entering shell commands.
453 .B M-Enter.
454 Copy the currently selected file name to the command line.
456 .B C-Enter.
457 Same a M-Enter, this one only works on the Linux console.
459 .B M-Tab.
460 Does the filename, command, variable, username and hostname
461 .\"LINK2"
462 completion
463 .\"Completion"
464 for you.
466 .B C-x t, C-x C-t.
467 Copy the tagged files (or if there are no tagged files, the selected
468 file) of the current panel (C-x t) or of the other panel (C-x C-t) to
469 the command line.
471 .B C-x p, C-x C-p.
472 The first key sequence copies the current path name to the command
473 line, and the second one copies the unselected panel's path name to
474 the command line.
476 .B C-q.
477 The quote command can be used to insert characters that are otherwise
478 interpreted by the Midnight Commander (like the '+' symbol)
480 .B M-p, M-n.
481 Use these keys to browse through the command history. M-p takes you
482 to the last entry, M-n takes you to the next one.
484 .B M-h.
485 Displays the history for the current input line.
487 .SH "  General Movement Keys"
488 The help viewer, the file viewer and the directory tree use common
489 code to handle moving. Therefore they accept exactly the same
490 keys. Each of them also accepts some keys of its own.
492 Other parts of the Midnight Commander use some of the same movement
493 keys, so this section may be of use for those parts too.
495 .B Up, C-p.
496 Moves one line backward.
498 .B Down, C-n.
499 Moves one line forward.
501 .B Prev Page, Page Up, M-v.
502 Moves one page up.
504 .B Next Page, Page Down, C-v.
505 Moves one page down.
507 .B Home, A1.
508 Moves to the beginning.
510 .B End, C1.
511 Move to the end.
513 The help viewer and the file viewer accept the following keys in
514 addition the to ones mentioned above:
516 .B b, C-b, C-h, Backspace, Delete.
517 Moves one page up.
519 .B Space bar.
520 Moves one page down.
522 .B u, d.
523 Moves one half of a page up or down.
525 .B g, G.
526 Moves to the beginning or to the end.
528 .SH "  Input Line Keys"
529 The input lines (they are used for the
530 .\"LINK2"
531 command line
532 .\"Shell Command Line"
533 and for the query dialogs in the program) accept these keys:
535 .B C-a
536 puts the cursor at the beginning of line.
538 .B C-e
539 puts the cursor at the end of the line.
541 .B C-b, move-left
542 move the cursor one position left.
544 .B C-f, move-right
545 move the cursor one position right.
547 .B M-f
548 moves one word forward.
550 .B M-b
551 moves one word backward.
553 .B C-h, backspace
554 delete the previous character.
556 .B C-d, Delete
557 delete the character in the point (over the cursor).
559 .B C-@
560 sets the mark for cutting.
562 .B C-w
563 copies the text between the cursor and the mark to a kill buffer and
564 removes the text from the input line.
566 .B M-w
567 copies the text between the cursor and the mark to a kill buffer.
569 .B C-y
570 yanks back the contents of the kill buffer.
572 .B C-k
573 kills the text from the cursor to the end of the line.
575 .B M-p, M-n
576 Use these keys to browse through the command history. M-p takes you
577 to the last entry, M-n takes you to the next one.
579 .B M-C-h, M-Backspace
580 delete one word backward.
582 .B M-Tab
583 does the filename, command, variable, username and hostname
584 .\"LINK2"
585 completion
586 .\"Completion"
587 for you.
589 .SH ""
590 .SH "Menu Bar"
591 The menu bar pops up when you press F9 or click the mouse on the top
592 row of the screen. The menu bar has five menus: "Left", "File",
593 "Command", "Options" and "Right".
596 .\"LINK2"
597 Left and Right Menus
598 .\"Left and Right Menus"
599 allow you to modify the appearance of the left and right directory
600 panels.
603 .\"LINK2"
604 File Menu
605 .\"File Menu"
606 lists the actions you can perform on the currently selected file or
607 the tagged files.
610 .\"LINK2"
611 Command Menu
612 .\"Command Menu"
613 lists the actions which are more general and bear no relation to the
614 currently selected file or the tagged files.
617 .\"LINK2"
618 Options Menu
619 .\"Options Menu"
620 lists the actions which allow you to customize the Midnight Commander.
622 .\"NODE "  Left and Right Menus"
623 .SH "  Left and Right (Above and Below) Menus"
624 The outlook of the directory panels can be changed from the
625 .B "Left"
627 .B "Right"
628 menus.
629 .B ("Above"
631 .B "Below"
632 when the horizontal panel split is chosen from the
633 .\"LINK2"
634 Layout
635 .\"Layout"
636 options dialog).
638 .SH "    Listing Mode..."
639 The listing mode view is used to display a listing of files, there are
640 four different listing modes available:
641 .B Full,
642 .B Brief,
643 .B Long
645 .B User.
646 The full directory view shows the file name, the size of the file and
647 the modification time.
649 The brief view shows only the file name and it has two columns
650 (therefore showing twice as many files as other views). The long view
651 is similar to the output of
652 .B "ls -l"
653 command. The long view takes the whole screen width.
655 If you choose the "User" display format, then you have to specify
656 the display format.
658 The user display format must start with a panel size specifier.  This
659 may be "half" or "full", and they specify a half screen panel and a
660 full screen panel respectively.
662 After the panel size, you may specify the two columns mode on the
663 panel, this is done by adding the number "2" to the user format
664 string.
666 After this you add the name of the fields with an optional size
667 specifier.  This are the available fields you may display:
669 .B name,
670 displays the file name.
672 .B size,
673 displays the file size.
675 .B bsize,
676 is an alternative form of the
677 .B size
678 format. It displays the size of the files and for directories it just
679 shows SUB-DIR or UP--DIR.
681 .B type,
682 displays a one character field type.  This character is similar to
683 what is displayed by ls with the -F flag -
684 .B *
685 for executable files,
686 .B /
687 for directories,
688 .B @
689 for links,
690 .B =
691 for sockets,
692 .B -
693 for character devices,
694 .B +
695 for block devices,
696 .B |
697 for pipes,
698 .B ~
699 for symbolic links to directories and
700 .B !
701 for stalled symlinks (links that point nowhere).
703 .B mtime,
704 file's last modification time.
706 .B atime,
707 file's last access time.
709 .B ctime,
710 file's creation time.
712 .B perm,
713 a string representing the current permission bits of the file.
715 .B mode,
716 an octal value with the current permission bits of the file.
718 .B nlink,
719 the number of links to the file.
721 .B ngid,
722 the GID (numeric).
724 .B nuid,
725 the UID (numeric).
727 .B owner,
728 the owner of the file.
730 .B group,
731 the group of the file.
733 .B inode,
734 the inode of the file.
736 Also you may use these field names for arranging the display:
738 .B space,
739 a space in the display format.
741 .B mark,
742 An asterisk if the file is tagged, a space if it's not.
744 .B |,
745 This character is used to add a vertical line to the display format.
747 To force one field to a fixed size (a size specifier), you just add
748 a ':' and then the number of characters you want the field to have, if
749 the number is followed by the symbol '+', then the size specifies the
750 minimum field size, if the program finds out that there is more space
751 on the screen, it will then expand this field.
753 For example, the
754 .B Full
755 display corresponds to this format:
757 half type,name,|,size,|,mtime
759 And the
760 .B Long
761 display corresponds to this format:
763 full perm,space,nlink,space,owner,space,group,space,size,space,
764 mtime,space,name
766 This is a nice user display format:
768 half name,|,size:7,|,type,mode:3
770 Panels may also be set to the following modes:
772 .B "Info"
773 The info view display information related to the currently
774 selected file and if possible information about the current file
775 system.
777 .B "Tree"
778 The tree view is quite similar to the
779 .\"LINK2"
780 directory tree
781 .\"Directory Tree"
782 feature. See the section about it for more information.
784 .B "Quick View"
785 In this mode, the panel will switch to a reduced
786 .\"LINK2"
787 viewer
788 .\"Internal File Viewer"
789 that displays the contents of the currently selected file, if you
790 select the panel (with the tab key or the mouse), you will have access
791 to the usual viewer commands.
793 .SH "    Sort Order..."
794 The eight sort orders are by name, by extension, by modification time,
795 by access time, and by inode information modification time, by size,
796 by inode and unsorted.  In the Sort order dialog box you can choose
797 the sort order and you may also specify if you want to sort in reverse
798 order by checking the reverse box.
800 By default directories are sorted before files but this can be changed
801 from the
802 .\"LINK2"
803 Options menu
804 .\"Options Menu"
805 (option
806 .B "Mix all files"
809 .SH "    Filter..."
810 The filter command allows you to specify a shell pattern (for example
811 .B "*.tar.gz"
812 ) which the files must match to be shown. Regardless
813 of the filter pattern, the directories and the links to directories
814 are always shown in the directory panel.
816 .SH "    Reread"
817 The reread command reload the list of files in the directory. It is
818 useful if other processes have created or removed files.  If you
819 have panelized file names in a panel this will reload the directory
820 contents and remove the panelized information (See the section
821 .\"LINK2"
822 External panelize
823 .\"External panelize"
824 for more information).
826 .SH "  File Menu"
827 The Midnight Commander uses the F1 - F10 keys as keyboard shortcuts
828 for commands appearing in the file menu.  The escape sequences for the
829 function keys are terminfo capabilities kf1 trough kf10.  On terminals
830 without function key support, you can achieve the same functionality by
831 pressing the ESC key and then a number in the range 1 through 9 and 0
832 (corresponding to F1 to F9 and F10 respectively).
834 The File menu has the following commands (keyboard shortcuts in parentheses):
836 .B Help (F1)
838 Invokes the built-in hypertext help viewer. Inside the
839 .\"LINK2"
840 help viewer,
841 .\"Contents"
842 you can use the Tab key to select the next link and the Enter key to
843 follow that link. The keys Space and Backspace are used to move
844 forward and backward in a help page. Press F1 again to get the full
845 list of accepted keys.
847 .B Menu (F2)
849 Invoke the
850 .\"LINK2"
851 user menu.
852 .\"Menu File Edit"
853 The user menu provides an easy way to provide users with a menu and
854 add extra features to the Midnight Commander.
856 .B View (F3, Shift-F3)
858 View the currently selected file. By default this invokes the
859 .\"LINK2"
860 Internal File Viewer
861 .\"Internal File Viewer"
862 but if the option "Use internal view" is off, it invokes an external
863 file viewer specified by the
864 .B PAGER
865 environment variable.  If
866 .B PAGER
867 is undefined, the "view" command is invoked.  If you use Shift-F3
868 instead, the viewer will be invoked without doing any formatting or
869 preprocessing to the file.
871 .B Filtered View (M-!)
873 this command prompts for a command
874 and it's arguments (the argument defaults to the currently selected
875 file name), the output from such command is shown in the internal file
876 viewer.
878 .B Edit (F4)
880 Currently it invokes the
881 .B vi
882 editor, or the editor specified in the
883 .B EDITOR
884 environment variable, or the
885 .\"LINK2"
886 Internal File Editor
887 .\"Internal File Editor"
888 if the use_internal_edit option is on.
890 .B Copy (F5)
892 Pop up an input dialog with destination that defaults to the directory
893 in the non-selected panel and copies the currently selected file (or
894 the tagged files, if there is at least one file tagged) to the
895 directory specified by the user in the input dialog. During this
896 process, you can press C-c or ESC to abort the operation. For details
897 about source mask (which will be usually either * or ^\\(.*\\)$ depending
898 on setting of Use shell patterns) and possible wildcards in the destination
900 .\"LINK2"
901 Mask copy/rename.
902 .\"Mask Copy/Rename"
904 On some systems, it is possible to do the copy in the background by
905 clicking on the background button (or pressing M-b in the dialog
906 box).  The
907 .\"LINK2"
908 Background Jobs
909 .\"Background jobs"
910 is used to control the background process.
912 .B Link (C-x l)
914 Create a hard link to the current file.
916 .B SymLink (C-x s)
918 Create a symbolic link to the current file. To those of you who don't
919 know what links are: creating a link to a file is a bit like copying
920 the file, but both the source filename and the destination filename
921 represent the same file image. For example, if you edit one of these
922 files, all changes you make will appear in both files. Some people call
923 links aliases or shortcuts.
925 A hard link appears as a real file. After making it, there is no way of
926 telling which one is the original and which is the link. If you delete
927 either one of them the other one is still intact. It is very difficult
928 to notice that the files represent the same image. Use hard links when
929 you don't even want to know.
931 A symbolic link is a reference to the name of the original file. If
932 the original file is deleted the symbolic link is useless. It is quite
933 easy to notice that the files represent the same image. The Midnight
934 Commander shows an "@"-sign in front of the file name if it is a
935 symbolic link to somewhere (except to directory, where it shows a tilde (~)).
936 The original file which the link points to is shown on mini-status line if the
937 .I "Show mini-status"
938 option is enabled. Use symbolic links when you want to avoid the
939 confusion that can be caused by hard links.
941 .B Rename/Move (F6)
943 Pop up an input dialog that defaults to the directory in the
944 non-selected panel and moves the currently selected file (or the
945 tagged files if there is at least one tagged file) to the directory
946 specified by the user in the input dialog. During the process, you
947 can press C-c or ESC to abort the operation. For more details look at Copy
948 operation above, most of the things are quite similar.
950 On some systems, it is possible to do the copy in the background by
951 clicking on the background button (or pressing M-b in the dialog
952 box).  The
953 .\"LINK2"
954 Background Jobs
955 .\"Background jobs"
956 is used to control the background process.
958 .B Mkdir (F7)
960 Pop up an input dialog and creates the directory specified.
962 .B Delete (F8)
964 Delete the currently selected file or the tagged files in the
965 currently selected panel. During the process, you can press C-c or
966 ESC to abort the operation.
968 .B Quick cd (M-c)
969 Use the
970 .\"LINK2"
971 quick cd
972 .\"Quick cd"
973 command if you have full command line and want to cd somewhere.
975 .B Select group (+)
977 This is used to select (tag) a group of files. The Midnight Commander
978 will prompt for a regular expression describing the group. When
979 .I Shell Patterns
980 are enabled, the regular expression is much like the filename globbing
981 in the shell (* standing for zero or more characters and ?  standing
982 for one character). If
983 .I Shell Patterns
984 is off, then the tagging of files is done with normal regular
985 expressions (see ed (1)).
987 To mark directories instead of files, the expression must start or end
988 with a '/'.
990 .B Unselect group (\\\\)
992 Used to unselect a group of files. This is the opposite of the
993 .I "Select group"
994 command.
996 .B Quit (F10, Shift-F10)
998 Terminate the Midnight Commander.  Shift-F10 is used when you want to
999 quit and you are using the shell wrapper.  Shift-F10 will not take you
1000 to the last directory you visited with the Midnight Commander, instead
1001 it will stay at the directory where you started the Midnight Commander.
1003 .SH "    Quick cd"
1004 This command is useful if you have a full command line and want to
1005 .\"LINK2"
1007 .\"The cd internal command"
1008 somewhere without having to yank and paste the command line. This command
1009 pops up a small dialog, where you enter everything you would enter after
1010 .B cd
1011 on the command line and then you press enter. This features all the things
1012 that are already in the
1013 .\"LINK2"
1014 internal cd command.
1015 .\"The cd internal command"
1017 .SH "  Command Menu"
1019 .\"LINK2"
1020 Directory tree
1021 .\"Directory Tree"
1022 command shows a tree figure of the directories.
1025 .\"LINK2"
1026 Find file
1027 .\"Find File"
1028 command allows you to search for a specific file. The "Swap panels"
1029 command swaps the contents of the two directory panels.
1031 The "Panels on/off" command shows the output of the last shell
1032 command. This works only on xterm and on Linux and SCO console.
1034 The Compare directories (C-x d) command compares the directory
1035 panels with each other. You can then use the Copy (F5) command to make
1036 the panels identical. There are three compare methods. The quick method
1037 compares only file size and file date. The thorough method makes a
1038 full byte-by-byte compare. The thorough method is not available if the
1039 machine does not support the mmap(2) system call.  The size-only
1040 compare method just compares the file sizes and does not check the
1041 contents or the date times, it just checks the file size.
1043 The Command history command shows a list of typed commands. The
1044 selected command is copied to the command line. The command history
1045 can also be accessed by typing M-p or M-n.
1048 .\"LINK2"
1049 Directory hotlist (C-\\)
1050 .\"Hotlist"
1051 command makes changing of the current directory to often used directories
1052 faster.
1055 .\"LINK2"
1056 External panelize
1057 .\"External panelize"
1058 allows you to execute an external program, and
1059 make the output of that program the contents of the current panel.
1061 .\"LINK2"
1062 Extension file edit
1063 .\"Extension File Edit"
1064 command allows you to specify programs to executed when you try to
1065 execute, view, edit and do a bunch of other thing on files
1066 with certain extensions (filename endings). The
1067 .\"LINK2"
1068 Menu file edit
1069 .\"Menu File Edit"
1070 command may be used for editing the user menu (which appears by
1071 pressing F2).
1073 .SH "    Directory Tree"
1074 The Directory Tree command shows a tree figure of the directories. You
1075 can select a directory from the figure and the Midnight Commander will
1076 change to that directory.
1078 There are two ways to invoke the tree. The real directory tree command
1079 is available from Commands menu. The other way is to select tree view
1080 from the Left or Right menu.
1082 To get rid of long delays the Midnight Commander creates the tree
1083 figure by scanning only a small subset of all the directories. If the
1084 directory which you want to see is missing, move to its parent
1085 directory and press C-r (or F2).
1087 You can use the following keys:
1089 .\"LINK2"
1090 General movement keys
1091 .\"General Movement Keys"
1092 are accepted.
1094 .B Enter.
1095 In the directory tree, exits the directory tree and changes to this
1096 directory in the current panel. In the tree view, changes to this
1097 directory in the other panel and stays in tree view mode in the
1098 current panel.
1100 .B C-r, F2 (Rescan).
1101 Rescan this directory. Use this when the tree figure is out of date:
1102 it is missing subdirectories or shows some subdirectories which don't
1103 exist any more.
1105 .B F3 (Forget).
1106 Delete this directory from the tree figure. Use this to remove clutter
1107 from the figure. If you want the directory back to the tree figure
1108 press F2 in its parent directory.
1110 .B F4 (Static/Dynamic).
1111 Toggle between the dynamic navigation mode (default) and the static
1112 navigation mode.
1114 In the static navigation mode you can use the Up and Down keys to
1115 select a directory. All known directories are shown.
1117 In the dynamic navigation mode you can use the Up and Down keys to
1118 select a sibling directory, the Left key to move to the parent
1119 directory, and the Right key to move to a child directory. Only the
1120 parent, sibling and children directories are shown, others are left
1121 out. The tree figure changes dynamically as you traverse.
1123 .B F5 (Copy).
1124 Copy the directory.
1126 .B F6 (RenMov).
1127 Move the directory.
1129 .B F7 (Mkdir).
1130 Make a new directory below this directory.
1132 .B F8 (Delete).
1133 Delete this directory from the file system.
1135 .B C-s, M-s.
1136 Search the next directory matching the search string. If there is
1137 no such directory these keys will move one line down.
1139 .B C-h, Backspace.
1140 Delete the last character of the search string.
1142 .B Any other character.
1143 Add the character to the search string and move to the next directory
1144 which starts with these characters. In the tree view you must first
1145 activate the search mode by pressing C-s. The search string is shown
1146 in the mini status line.
1148 The following actions are available only in the directory tree. They
1149 aren't supported in the tree view.
1151 .B F1 (Help).
1152 Invoke the help viewer and show this section.
1154 .B Esc, F10.
1155 Exit the directory tree. Do not change the directory.
1157 The mouse is supported. A double-click behaves like Enter. See
1158 also the section on
1159 .\"LINK2"
1160 mouse support.
1161 .\"Mouse Support"
1163 .SH "    Find File"
1164 The Find File feature first asks for the start directory for the
1165 search and the filename to be searched for. By pressing the Tree
1166 button you can select the start directory from the
1167 .\"LINK2"
1168 directory tree
1169 .\"Directory Tree"
1170 figure.
1172 The contents field accepts regular expressions similar to egrep(1). That
1173 means you have to escape characters with a special meaning to egrep with "\\",
1174 e.g. if you search for "strcmp (" you will have to input "strcmp \\("
1175 (without the double quotes).
1177 You can start the search by pressing the Ok button.
1178 During the search you can stop from the Stop button and continue from
1179 the Start button.
1181 You can browse the filelist with the up and down arrow keys. The Chdir
1182 button will change to the directory of the currently selected
1183 file. The Again button will ask for the parameters for a new
1184 search. The Quit button quits the search operation. The Panelize
1185 button will place the found files to the current directory panel so
1186 that you can do additional operations on them (view, copy, move,
1187 delete and so on). After panelizing you can press C-r to return to the
1188 normal file listing.
1190 It is possible to have a list of directories that the Find File
1191 command should skip during the search (for example, you may want to
1192 avoid searches on a CDROM or on a NFS directory that is mounted across
1193 a slow link).
1195 Directories to be skipped should be set on the variable
1196 .B find_ignore_dirs
1197 in the
1198 .B Misc
1199 section of your ~/.mc/ini file.
1201 Directory components should be separated with a colon, here is an
1202 example:
1205 [Misc]
1206 find_ignore_dirs=/cdrom:/nfs/wuarchive:/afs
1209 You may consider using the
1210 .\"LINK2"
1211 External panelize
1212 .\"External panelize"
1213 command for some operations. Find file command is for simple queries
1214 only, while using External panelize you can do as mysterious searches
1215 as you would like.
1217 .SH "    External panelize"
1218 The External panelize allows you to execute an external program, and
1219 make the output of that program the contents of the current panel.
1221 For example, if you want to manipulate in one of the panels all the
1222 symbolic links in the current directory, you can use external
1223 panelization to run the following command:
1226 find . -type l -print
1229 Upon command completion, the directory contents of the panel will no
1230 longer be the directory listing of the current directory, but all the
1231 files that are symbolic links.
1233 If you want to panelize all of the files that have been downloaded
1234 from your ftp server, you can use this awk command to extract the file
1235 name from the transfer log files:
1238 awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
1241 You may want to save often used panelize commands under a descriptive name,
1242 so that you can recall them quickly. You do this by typing the command on
1243 the input line and pressing Add new button. Then you enter a name under
1244 which you want the command to be saved. Next time, you just choose that
1245 command from the list and do not have to type it again.
1247 .SH "    Hotlist"
1248 The Directory hotlist command shows the labels of the directories
1249 in the directory hotlist.  The Midnight Commander will change to the
1250 directory corresponding to the selected label.  From the hotlist dialog,
1251 you can remove already created label/directory pairs and add new ones.
1252 To add new directories quickly, you can use the Add to hotlist command
1253 (C-x h), which adds the current directory into the directory hotlist,
1254 asking just for the label for the directory.
1256 This makes cd to often used directories faster. You may consider using the
1257 CDPATH variable as described in
1258 .\"LINK2"
1259 internal cd command
1260 .\"The cd internal command"
1261 description.
1263 .SH "    Extension File Edit"
1264 This will invoke your editor on the file ~/.mc/bindings. The format of this
1265 file is as follows (the format has changed with version 3.0):
1267 All lines starting with # or empty lines are thrown away.
1269 Lines starting in the first column should have following format:
1271 .I keyword/descNL,
1272 i.e. everything after
1273 .I keyword/
1274 until new line is
1275 .I desc
1277 keyword can be:
1279 .I shell
1281 (desc is then any extension (no wildcards), i.e. matches all the files
1282 *desc . Example: .tar matches *.tar)
1284 .I regex
1286 (desc is a regular expression)
1288 .I type
1290 (file matches this if `file %f` matches regular expression desc
1291 (the filename: part from `file %f` is removed))
1293 .I default
1295 (matches any file no matter what desc is)
1297 Other lines should start with a space or tab and should be of the format:
1299 .I keyword=commandNL
1300 (with no spaces around =), where
1301 .I keyword
1302 should be:
1304 .I Open
1305 (if the user presses Enter or doubleclicks it),
1306 .I View
1307 (F3),
1308 .I Edit
1309 (F4),
1310 .I Drop
1311 (user drops some files on it) or any other
1312 user defined name (those will be listed in the extension dependent pop-up
1313 menu).
1314 .I Icon
1315 name is reserved for future use by mc.
1317 .I command
1318 is any one-line shell command, with the simple
1319 .\"LINK2"
1320 macro substitution.
1321 .\"Macro Substitution"
1323 Target are evaluated from top to bottom (order is thus important).
1324 If some actions are missing, search continues as if this target didn't
1325 match (i.e. if a file matches the first and second entry and View action
1326 is missing in the first one, then on pressing F3 the View action from
1327 the second entry will be used. default should catch all the actions.
1329 .\"NODE "    Background jobs"
1330 .SH "    Background Jobs"
1331 This lets you control the state of any background Midnight Commander
1332 process (only copy and move files operations can be done in the
1333 background).  You can stop, restart and kill a background job from
1334 here.
1336 .SH "    Menu File Edit"
1337 The user menu is a menu of useful actions that can be customized by
1338 the user. When you access the user menu, the
1339 file .mc.menu from the current directory is used if it exists,
1340 but only if it is owned by user or root and is not world-writable.
1341 If no such file found, ~/.mc/menu is tried in the same way,
1342 and otherwise mc uses the default system-wide menu
1343 @prefix@/share/mc/mc.menu.
1345 The format of the menu file is very simple. Lines that start with
1346 anything but space or tab are considered entries for the menu (in
1347 order to be able to use it like a hot key, the first character should
1348 be a letter). All the lines that start with a space or a tab are the
1349 commands that will be executed when the entry is selected.
1351 When an option is selected all the command lines of the option are
1352 copied to a temporary file in the temporary directory (usually
1353 /usr/tmp) and then that file is executed. This allows the user to put
1354 normal shell constructs in the menus. Also simple macro substitution
1355 takes place before executing the menu code. For more information, see
1356 .\"LINK2"
1357 macro substitution.
1358 .\"Macro Substitution"
1360 Here is a sample mc.menu file:
1363 A       Dump the currently selected file
1364         od -c %f
1366 B       Edit a bug report and send it to root
1367         vi /tmp/mail.$$
1368         mail -s "Midnight Commander bug" root < /tmp/mail.$$
1370 M       Read mail
1371         emacs -f rmail
1373 N       Read Usenet news
1374         emacs -f gnus
1376 H       Call the info hypertext browser
1377         info
1379 J       Copy current directory to other panel recursively
1380         tar cf - . | (cd %D && tar xvpf -)
1382 K       Make a release of the current subdirectory
1383         echo -n "Name of distribution file: "
1384         read tar
1385         ln -s %d `dirname %d`/$tar
1386         cd ..
1387         tar cvhf ${tar}.tar $tar
1389 = f *.tar.gz | f *.tgz & t n
1390 X       Extract the contents of a compressed tar file
1391         tar xzvf %f
1394 .B Default Conditions
1396 Each menu entry may be preceded by a condition. The condition must
1397 start from the first column with a '=' character. If the condition is
1398 true, the menu entry will be the default entry.
1401 Condition syntax:       = <sub-cond>
1402   or:                   = <sub-cond> | <sub-cond> ...
1403   or:                   = <sub-cond> & <sub-cond> ...
1405 Sub-condition is one of following:
1407   y <pattern>           syntax of current file matching pattern?
1408                         for edit menu only.
1409   f <pattern>           current file matching pattern?
1410   F <pattern>           other file matching pattern?
1411   d <pattern>           current directory matching pattern?
1412   D <pattern>           other directory matching pattern?
1413   t <type>              current file of type?
1414   T <type>              other file of type?
1415   x <filename>          is it executable filename?
1416   ! <sub-cond>          negate the result of sub-condition
1419 Pattern is a normal shell pattern or a regular expression, according
1420 to the shell patterns option. You can override the global value of
1421 the shell patterns option by writing "shell_patterns=x" on the first
1422 line of the menu file (where "x" is either 0 or 1).
1425 Type is one or more of the following characters:
1427   n     not directory
1428   r     regular file
1429   d     directory
1430   l     link
1431   c     char special
1432   b     block special
1433   f     fifo (pipe)
1434   s     socket
1435   x     executable
1436   t     tagged
1439 For example 'rlf' means either regular file, link or fifo. The 't'
1440 type is a little special because it acts on the panel instead of the
1441 file. The condition '=t t' is true if there are tagged files in the
1442 current panel and false if not.
1444 If the condition starts with '=?' instead of '=' a debug trace will be
1445 shown whenever the value of the condition is calculated.
1447 The conditions are calculated from left to right. This means
1449         = f *.tar.gz | f *.tgz & t n
1451 is calculated as
1453         ( (f *.tar.gz) | (f *.tgz) ) & (t n)
1456 Here is a sample of the use of conditions:
1459 = f *.tar.gz | f *.tgz & t n
1460 L       List the contents of a compressed tar-archive
1461         gzip -cd %f | tar xvf -
1464 .B Addition Conditions
1466 If the condition begins with '+' (or '+?') instead of '=' (or '=?') it
1467 is an addition condition. If the condition is true the menu entry will
1468 be included in the menu. If the condition is false the menu entry will
1469 not be included in the menu.
1471 You can combine default and addition conditions by starting condition
1472 with '+=' or '=+' (or '+=?' or '=+?' if you want debug trace). If you
1473 want to use two different conditions, one for adding and another for
1474 defaulting, you can precede a menu entry with two condition lines, one
1475 starting with '+' and another starting with '='.
1477 Comments are started with '#'. The additional comment lines must start
1478 with '#', space or tab.
1480 .SH "  Options Menu"
1481 The Midnight Commander has some options that may be toggled on and
1482 off in several dialogs which are accessible from this menu. Options
1483 are enabled if they have an asterisk or "x" in front of them.
1486 .\"LINK2"
1487 Configuration
1488 .\"Configuration"
1489 command pops up a dialog from which you can change most of settings of
1490 the Midnight Commander.
1493 .\"LINK2"
1494 Layout
1495 .\"Layout"
1496 command pops up a dialog from which you specify a bunch of options how mc
1497 looks like on the screen.
1500 .\"LINK2"
1501 Confirmation
1502 .\"Confirmation"
1503 command pops up a dialog from which you specify which actions you want to
1504 confirm.
1507 .\"LINK2"
1508 Display bits
1509 .\"Display bits"
1510 command pops up a dialog from which you may select which characters is your
1511 terminal able to display.
1514 .\"LINK2"
1515 Learn keys
1516 .\"Learn keys"
1517 command pops up a dialog from which you test some keys which are not working
1518 on some terminals and you may fix them.
1521 .\"LINK2"
1522 Virtual FS
1523 .\"Virtual FS"
1524 command pops up a dialog from which you specify some VFS related options.
1527 .\"LINK2"
1528 Save setup
1529 .\"Save Setup"
1530 command saves the current settings of the Left, Right and Options
1531 menus. A small number of other settings is saved, too.
1533 .SH "    Configuration"
1534 The options in this dialog are divided into three groups:
1535 Panel Options, Pause after run and Other Options.
1537 .B Panel Options
1539 .I Show Backup Files.
1540 If enabled, the Midnight Commander will show files ending with a tilde.
1541 Otherwise, they won't be shown (like GNU's ls option -B).
1543 .I Show Hidden Files.
1544 If enabled, the Midnight Commander will show all files that start with
1545 a dot (like ls -a).
1547 .I Mark moves down.
1548 If enabled, the selection bar will move down when you mark a file (with
1549 either C-t or the Insert key).
1551 .I Drop down menus.
1552 When this option is enabled, the pull down menus will be activated as
1553 soon as you press the
1554 .B F9
1555 key.  Otherwise, you will only get the menu title, and you will have
1556 to activate the menu either with the arrow keys or with the hotkeys.
1557 It is recommended if you are using hotkeys.
1559 .I Mix all files.
1560 If this option is enabled, all files and directories are shown mixed
1561 together.  If the option is off, directories (and links to directories)
1562 are shown at the beginning of the listing, and other files below.
1564 .I Fast directory reload.
1565 If this option is enabled, the Midnight Commander will use a trick to
1566 determine if the directory contents have changed.  The trick is to reload
1567 the directory only if the i-node of the directory has changed; this means
1568 that reloads only happen when files are created or deleted.  If what
1569 changes is the i-node for a file in the directory (file size changes,
1570 mode or owner changes, etc) the display is not updated.  In these cases,
1571 if you have the option on, you have to rescan the directory manually
1572 (with C-r).
1574 .B Pause after run
1576 After executing your commands, the Midnight Commander can pause, so
1577 that you can examine the output of the command.  There are three
1578 possible settings for this variable:
1580 .I Never.
1581 Means that you do not want to see the output of your command.  If you
1582 are using the Linux or SCO console or an xterm, you will be able to see the
1583 output of the command by typing C-o.
1585 .I On dumb terminals.
1586 You will get the pause message on terminals that are not capable of
1587 showing the output of the last command executed (any terminal that is
1588 not an xterm or the Linux console).
1590 .I Always.
1591 The program will pause after executing all of your commands.
1593 .B Other Options
1595 .I Verbose operation.
1596 This toggles whether the file Copy, Rename and Delete operations are
1597 verbose (i.e., display a dialog box for each operation). If you have a
1598 slow terminal, you may wish to disable the verbose operation. It is
1599 automatically turned off if the speed of your terminal is less than
1600 9600 bps.
1602 .I Compute totals.
1603 If this option is enabled, the Midnight
1604 Commander computes total byte sizes and total number of files
1605 prior to any Copy, Rename and Delete operations. This will
1606 provide you with a more accurate progress bar at the expense
1607 of some speed. This option has no effect, if
1608 .I Verbose operation
1609 is disabled.
1611 .I Shell Patterns.
1612 By default the Select, Unselect and Filter commands will use shell-like
1613 regular expressions. The following conversions are performed to achieve
1614 this: the '*' is replaced by '.*' (zero or more characters); the '?'
1615 is replaced by '.' (exactly one character) and '.' by the literal
1616 dot. If the option is disabled, then the regular expressions are the
1617 ones described in ed(1).
1619 .I Auto Save Setup.
1620 If this option is enabled, when you exit the Midnight Commander the
1621 configurable options of the Midnight Commander are saved in the
1622 ~/.mc/ini file.
1624 .I Auto menus.
1625 If this option is enabled, the user menu will be invoked at startup.
1626 Useful for building menus for non-unixers.
1628 .I Use internal editor.
1629 If this option is enabled, the built-in file editor is used to edit
1630 files. If the option is disabled, the editor specified in the
1631 .B EDITOR
1632 environment variable is used.
1633 If no editor is specified,
1634 .B vi
1635 is used.  See the section on the
1636 .\"LINK2"
1637 internal file editor.
1638 .\"Internal File Editor"
1640 .I Use internal viewer.
1641 If this option is enabled, the built-in file viewer is used to view
1642 files. If the option is disabled, the pager specified in the
1643 .B PAGER
1644 environment variable is used.
1645 If no pager is specified, the
1646 .B view
1647 command is used.  See the section on the
1648 .\"LINK2"
1649 internal file viewer.
1650 .\"Internal File Viewer"
1652 .I Complete: show all.
1653 By default the Midnight Commander
1654 pops up all possible
1655 .\"LINK2"
1656 completions
1657 .\"Completion"
1658 if the completion is
1659 ambiguous if you press
1660 .B M-Tab
1661 for the second time, for the
1662 first time it just completes as much as possible and in
1663 the case of ambiguity beeps. If you want to see all the
1664 possible completions already after the first
1665 .B M-Tab
1666 pressing, enable this option.
1668 .I Rotating dash.
1669 If this option is enabled, the
1670 Midnight Commander shows a rotating dash in the upper right corner
1671 as a work in progress indicator.
1673 .I Lynx-like motion.
1674 If this option is enabled,
1675 you may use the arrows keys to automatically chdir if the
1676 current selection is a subdirectory and the shell command
1677 line is empty. By default, this setting is off.
1679 .I Cd follows links.
1680 This option, if set, causes the Midnight Commander to follow the
1681 logical chain of directories when changing current directory
1682 either in the panels, or using the cd command. This is the default
1683 behavior of bash. When unset, the Midnight Commander follows the
1684 real directory structure, so cd .. if you've entered that directory
1685 through a link will move you to the current directory's real parent
1686 and not to the directory where the link was present.
1688 .I Safe delete.
1689 If this option is enabled, deleting files
1690 unintentionally will get more difficult. The default
1691 selection in the confirmation dialog changes from the "Yes"
1692 to the "No" button and deletion of non empty directories has to be
1693 confirmed by entering the word
1694 .IR yes .
1695 By default this option is disabled.
1697 .SH "    Layout"
1698 The layout dialog gives you a possibility to change the general layout
1699 of screen. You can specify whether the menubar, the command prompt,
1700 the hintbar and the function keybar are visible. On the Linux or SCO console
1701 you can specify how many lines are shown in the output window.
1703 The rest of the screen area is used for the two directory panels. You
1704 can specify whether the area is split to the panels in vertical or
1705 horizontal direction. The split can be equal or you can specify an
1706 unequal split.
1708 By default all contents of the directory panels are displayed with
1709 the same color, but you can specify whether
1710 .I permissions
1712 .I file types
1713 are highlighted with special
1714 .\"LINK2"
1715 Colors.
1716 .\"Colors"
1717 If permission highlighting is enabled, the parts of the
1718 .I perm
1720 .I mode
1721 .\"LINK2"
1722 display fields
1723 .\"Listing Mode..."
1724 which are valid for the user running Midnight Commander
1725 are highlighted with the color defined with the
1726 .I selected
1727 keyword. If file type highlighting is enabled, files are colored according
1728 to their file type (e.g. directory, core file, executable, ...).
1730 If the
1731 .I Show Mini-Status
1732 option is enabled, one line of status
1733 information about the currently selected item is showed at the bottom
1734 of the panels.
1736 .SH "    Confirmation"
1737 In this menu you configure the confirmation options for file deletion,
1738 overwriting, execution by pressing enter and quitting the program.
1740 .SH "    Display bits"
1741 This is used to configure the range of visible characters on the
1742 screen.  This setting may be 7-bits if your terminal/curses supports
1743 only seven output bits, ISO-8859-1 displays all the characters in the
1744 ISO-8859-1 map and full 8 bits is for those terminals that can display
1745 full 8 bit characters.
1747 .SH "    Learn keys"
1748 This dialog allows you to test and redefine functional keys, cursor
1749 arrows and some other keys to make them work properly on your terminal.
1750 They often don't, since many terminal databases are incomplete or broken.
1752 You can move around with the Tab key and with the vi moving keys ('h'
1753 left, 'j' down, 'k' up and 'l' right).  Once you press any cursor movement
1754 key and it is recognized, you can use that key as well.
1756 You can test keys just by pressing each of them.  When you press a
1757 key and it is recognized properly, OK should appear next to the name
1758 of that key.  Once a key is marked OK it starts working as usually,
1759 e.g. F1 pressed the first time will just check that the F1 key works,
1760 but after that it will show help.  The same applies to the arrow keys.
1761 The Tab key should be working always.
1763 If some keys do not work properly then you won't see OK appear after
1764 pressing that key.  Then you may want to redefine it.  Do it by pressing
1765 the button with the name of that key (either by the mouse or by Enter
1766 or Space after selecting the button with Tab or arrows).  Then a message
1767 box will appear asking you to press that key.  Do it and wait until the
1768 message box disappears.  If you want to abort, just press Escape once
1769 and wait.
1771 When you finish with all the keys, you can Save them.  The definitions
1772 for the keys you have redefined will be written into the [terminal:TERM]
1773 section of your ~/.mc/ini file (where TERM is the name of your current
1774 terminal).  The definitions of the keys that were already working properly
1775 are not saved.
1777 .SH "    Virtual FS"
1778 This option gives you control over the settings of the
1779 .\"LINK2"
1780 Virtual File System
1781 .\"Virtual File System"
1782 information cache.
1784 The Midnight Commander keeps in memory the information
1785 related to some of the virtual file systems to speed up
1786 the access to the files in the file system (for example,
1787 directory listings fetched from ftp servers).
1789 Moreover in order to access the contents of compressed files
1790 (for example, compressed tar files) the Midnight Commander
1791 has to create a temporary uncompressed file on your disk.
1793 Since both the information in memory and the temporary files on
1794 disk take up resources, you may want to tune the parameters of
1795 the cached information to decrease your resource usage or to maximize
1796 the speed of access to frequently used file systems.
1798 The Tar file system is quite clever about how it handles
1799 tar files: it just loads the directory entries and when it
1800 needs to use the information contained in the tar file, it
1801 goes and grab it.
1803 In the wild, tar files are usually kept compressed (plain
1804 tar files are species in extinction), and because of the
1805 nature of those files (the directory entries for the tar
1806 files is not there waiting for us to be loaded), the tar
1807 file system has to uncompress the file
1808 on the disk in a temporary location and then access the
1809 uncompressed file as a regular tar file.
1811 Now, since we all love to browse files and tar files all
1812 over the disk, it's common that you will leave a tar file
1813 and the re-enter it later. Since uncompression is slow,
1814 the Midnight Commander will cache the information in
1815 memory for a limited amount of time, after you hit the
1816 timeout, all of the resources associated with the
1817 file system will be freed. The default timeout is set to
1818 one minute.
1821 .\"LINK2"
1822 FTP File System
1823 .\"FTP File System"
1824 keeps the directory listing it fetches from a ftp server
1825 in a cache.  The cache
1826 expire time is configurable with the
1827 .I ftpfs directory cache timeout
1828 option.
1829 A low value for this
1830 option may slow down every operation on the ftp file System
1831 because every operation is accompanied by a query of the
1832 ftp server.
1834 Moreover you can define a proxy host for doing ftp transfers
1835 and configure the Midnight Commander to always use the proxy host.
1837 the section on
1838 .\"LINK2"
1839 FTP File System
1840 .\"FTP File System"
1841 for more information.
1843 .SH "    Save Setup"
1844 At startup the Midnight Commander will try to load initialization
1845 information from the ~/.mc/ini file. If this file doesn't exist,
1846 it will load the information from the system-wide configuration file,
1847 located in @prefix@/share/mc/mc.ini. If the system-wide configuration
1848 file doesn't exist, MC uses the default settings.
1851 .I Save Setup
1852 command creates the ~/.mc/ini file by saving the current settings
1853 of the
1854 .\"LINK2"
1855 Left, Right
1856 .\"Left and Right Menus"
1858 .\"LINK2"
1859 Options
1860 .\"Options Menu"
1861 menus.
1863 If you activate the
1864 .I auto save setup
1865 option, MC will always save the current settings when exiting.
1867 There also exist settings which can't be changed from the menus. To
1868 change these settings you have to edit the setup file with your
1869 favorite editor. See the section on
1870 .\"LINK2"
1871 Special Settings
1872 .\"Special Settings"
1873 for more information.
1875 .SH ""
1876 .SH "Executing operating system commands"
1877 You may execute commands by typing them directly in the Midnight
1878 Commander's input line, or by selecting the program you want to
1879 execute with the selection bar in one of the panels and hitting Enter.
1881 If you press Enter over a file that is not executable, the Midnight
1882 Commander checks the extension of the selected file against the
1883 extensions in the
1884 .\"LINK2"
1885 Extensions File.
1886 .\"Extension File Edit"
1887 If a match is found then the code associated with that extension is
1888 executed. A very simple
1889 .\"LINK2"
1890 macro expansion
1891 .\"Macro Substitution"
1892 takes place before executing the command.
1894 .SH "  The cd internal command"
1896 .I cd
1897 command is interpreted by the Midnight Commander, it is not passed to
1898 the command shell for execution.  Thus it may not handle all of the
1899 nice macro expansion and substitution that your shell does, although it
1900 does some of them:
1902 .I Tilde substitution.
1903 The (~) will be substituted with your home directory, if you append a
1904 username after the tilde, then it will be substituted with the login
1905 directory of the the specified user.
1907 For example, ~guest is the home directory for the user guest, while
1908 ~/guest is the directory guest in your home directory.
1910 .I Previous directory.
1911 You can jump to the directory you were previously by using the special
1912 directory name '-' like this:
1913 .B cd -
1915 .I CDPATH directories.
1916 If the directory specified to the
1917 .B cd
1918 command is not in the current directory, then The Midnight Commander
1919 uses the value in the environment variable
1920 .B CDPATH
1921 to search for the directory in any of the named directories.
1923 For example you could set your
1924 .B CDPATH
1925 variable to ~/src:/usr/src, allowing you to change your directory to
1926 any of the directories inside the ~/src and /usr/src directories, from
1927 any place in the file system by using it's relative name (for example
1928 cd linux could take you to /usr/src/linux).
1930 .SH "  Macro Substitution"
1932 When accessing a
1933 .\"LINK2"
1934 user menu,
1935 .\"Menu File Edit"
1936 or executing an
1937 .\"LINK2"
1938 extension dependent command,
1939 .\"Extension File Edit"
1940 or running a command from the command line input,
1941 a simple macro substitution takes place.
1943 The macros are:
1945 .I "%i"
1947 The indent of blank space, equal the cursor column
1948 position. For edit menu only.
1950 .I "%y"
1952 The syntax type of current file. For edit menu only.
1954 .I "%k"
1956 The block file name.
1958 .I "%e"
1960 The error file name.
1962 .I "%m"
1964 The current menu name.
1966 .I "%f"
1968 .I "%p"
1970 The current file name.
1972 .I "%x"
1974 The extension of current file name.
1976 .I "%b"
1978 The current file name without extension.
1980 .I "%d"
1982 The current directory name.
1984 .I "%F"
1986 The current file in the unselected panel.
1988 .I "%D"
1990 The directory name of the unselected panel.
1992 .I "%t"
1994 The currently tagged files.
1996 .I "%T"
1998 The tagged files in the unselected panel.
2000 .I "%u"
2002 .I "%U"
2004 Similar to the %t and %T macros, but in addition the files are
2005 untagged. You can use this macro only once per menu file entry or
2006 extension file entry, because next time there will be no tagged
2007 files.
2009 .I "%s"
2011 .I "%S"
2013 The selected files: The tagged files if there are any. Otherwise the
2014 current file.
2016 .I "%cd"
2018 This is a special macro that is used to change the current directory
2019 to the directory specified in front of it.  This is used primarily as
2020 an interface to the
2021 .\"LINK2"
2022 Virtual File System.
2023 .\"Virtual File System"
2025 .I "%view"
2027 This macro is used to invoke the internal viewer.  This macro can be
2028 used alone, or with arguments.  If you pass any arguments to this
2029 macro, they should be enclosed in brackets.
2031 The arguments are:
2032 .I ascii
2033 to force the viewer into ascii mode;
2034 .I hex
2035 to force the viewer into hex mode;
2036 .I nroff
2037 to tell the viewer that it should interpret the bold and underline
2038 sequences of nroff;
2039 .I unformatted
2040 to tell the viewer to not interpret nroff commands for making the text
2041 bold or underlined.
2043 .I "%%"
2045 The % character
2047 .I "%{some text}"
2049 Prompt for the substitution. An input box is shown and the text inside
2050 the braces is used as a prompt. The macro is substituted by the text
2051 typed by the user. The user can press ESC or F10 to cancel. This macro
2052 doesn't work on the command line yet.
2054 .I "%var{ENV:default}"
2056 If environment variable
2057 .I ENV
2058 is unset, the
2059 .I default
2060 is substituted.  Otherwise, the value of
2061 .I ENV
2062 is substituted.
2064 .SH "  The subshell support"
2065 The subshell support is a compile time option, that works with the
2066 shells: bash, tcsh and zsh.
2068 When the subshell code is activated the Midnight Commander will
2069 spawn a concurrent copy of your shell (the one defined in the
2070 .B SHELL
2071 variable and if it is not defined, then the one in the /etc/passwd
2072 file) and run it in a pseudo terminal, instead of invoking a new shell
2073 each time you execute a command, the command will be passed to the
2074 subshell as if you had typed it.  This also allows you to change the
2075 environment variables, use shell functions and define aliases that are
2076 valid until you quit the Midnight Commander.
2078 If you are using
2079 .B bash
2080 you can specify startup
2081 commands for the subshell in your ~/.mc/bashrc file and
2082 special keyboard maps in the ~/.mc/inputrc file.
2083 .B tcsh
2084 users may specify startup commands in the ~/.mc/tcshrc file.
2086 When the subshell code is used, you can suspend applications at any
2087 time with the sequence C-o and jump back to the Midnight Commander, if
2088 you interrupt an application, you will not be able to run other
2089 external commands until you quit the application you interrupted.
2091 An extra added feature of using the subshell is that the prompt
2092 displayed by the Midnight Commander is the same prompt that you are
2093 currently using in your shell.
2096 .\"LINK2"
2097 OPTIONS
2098 .\"OPTIONS"
2099 section has more information on how you can control the subshell code.
2101 .SH "Chmod"
2102 The Chmod window is used to change the attribute bits in a group of
2103 files and directories.  It can be invoked with the C-x c key combination.
2105 The Chmod window has two parts -
2106 .I Permissions
2108 .I File
2110 In the File section are displayed the name of the file or directory
2111 and its permissions in octal form, as well as its owner and group.
2113 In the Permissions section there is a set of check buttons which
2114 correspond to the file attribute bits.  As you change the attribute
2115 bits, you can see the octal value change in the File section.
2117 To move between the widgets (buttons and check buttons) use the
2118 .I arrow keys
2119 or the
2120 .I Tab
2121 key.  To change the state of the check buttons or to select a button
2123 .I Space.
2124 You can also use the hotkeys on the buttons to quickly activate them.
2125 Hotkeys are shown as highlighted letters on the buttons.
2127 To set the attribute bits, use the Enter key.
2129 When working with a group of files or directories, you just click on
2130 the bits you want to set or clear.  Once you have selected the bits
2131 you want to change, you select one of the action buttons (Set marked
2132 or Clear marked).
2134 Finally, to set the attributes exactly to those specified, you can use
2136 .B [Set all]
2137 button, which will act on all the tagged files.
2139 .B [Marked all]
2140 set only marked attributes to all selected files
2142 .B [Set marked]
2143 set marked bits in attributes of all selected files
2145 .B [Clean marked]
2146 clear marked bits in attributes of all selected files
2148 .B [Set]
2149 set the attributes of one file
2151 .B [Cancel]
2152 cancel the Chmod command
2154 .SH "Chown"
2155 The Chown command is used to change the owner/group of a file. The hot
2156 key for this command is C-x o.
2158 .SH "Advanced Chown"
2159 The Advanced Chown command is the
2160 .\"LINK2"
2161 Chmod
2162 .\"Chmod"
2164 .\"LINK2"
2165 Chown
2166 .\"Chown"
2167 command combined into one window. You can change the permissions and
2168 owner/group of files at once.
2170 .SH "File Operations"
2171 When you copy, move or delete files the Midnight Commander shows the
2172 file operations dialog. It shows the files currently being operated on
2173 and there are at most three progress bars. The file bar tells how big
2174 part of the current file has been copied so far. The count bar tells
2175 how many of tagged files have been handled so far. The bytes bar tells
2176 how big part of total size of the tagged files has been handled so
2177 far. If the verbose option is off the file and bytes bars are not
2178 shown.
2180 There are two buttons at the bottom of the dialog. Pressing the Skip
2181 button will skip the rest of the current file. Pressing the Abort
2182 button will abort the whole operation, the rest of the files are
2183 skipped.
2185 There are three other dialogs which you can run into during the file
2186 operations.
2188 The error dialog informs about error conditions and has three
2189 choices. Normally you select either the Skip button to skip the file
2190 or the Abort button to abort the operation altogether. You can also
2191 select the Retry button if you fixed the problem from another
2192 terminal.
2194 The replace dialog is shown when you attempt to copy or move a file on
2195 the top of an existing file. The dialog shows the dates and sizes of
2196 the both files. Press the Yes button to overwrite the file, the No
2197 button to skip the file, the alL button to overwrite all the files,
2198 the nonE button to never overwrite and the Update button to overwrite
2199 if the source file is newer than the target file. You can abort the
2200 whole operation by pressing the Abort button.
2202 The recursive delete dialog is shown when you try to delete a
2203 directory which is not empty. Press the Yes button to delete the
2204 directory recursively, the No button to skip the directory, the alL
2205 button to delete all the directories and the nonE button to skip all
2206 the non-empty directories. You can abort the whole operation by
2207 pressing the Abort button. If you selected the Yes or alL button you
2208 will be asked for a confirmation. Type "yes" only if you are really
2209 sure you want to do the recursive delete.
2211 If you have tagged files and perform an operation on them only the
2212 files on which the operation succeeded are untagged. Failed and
2213 skipped files are left tagged.
2215 .SH "Mask Copy/Rename"
2216 The copy/move operations lets you translate the names of files in an easy
2217 way. To do it, you have to specify the correct source mask and usually in
2218 the trailing part of the destination specify some wildcards.
2219 All the files matching the source mask are copied/renamed according to
2220 the target mask. If there are tagged files, only the tagged files
2221 matching the source mask are renamed.
2223 There are other options which you can set:
2225 Follow links tells whether make the symlinks and hardlinks in the source
2226 directory (recursively in subdirectories) new links in the target
2227 directory or whether would you like to copy their content.
2229 Dive into subdirs tells what to do if in the target
2230 directory exists a directory with the same name as the
2231 file/directory being copied. The default action is to copy
2232 it's content into that directory, by enabling this
2233 you can copy the source directory into that directory.
2234 Perhaps an example will help:
2236 You want to copy content of a directory foo to /bla/foo,
2237 which is an already existing directory. Normally (when
2238 Dive is not set), mc would copy it exactly into /bla/foo.
2239 By enabling this option you will copy the content into /bla/foo/foo,
2240 because the directory already exists.
2242 Preserve attributes tells whether to preserve the original files'
2243 permissions, timestamps and if you are root whether to preserve
2244 the original files' UID and GID. If this option is not set the current
2245 value of the umask will be respected.
2247 .B "Use shell patterns on"
2249 When the shell patterns option is on you can use the '*' and '?'
2250 wildcards in the source mask. They work like they do in the shell. In
2251 the target mask only the '*' and '\\<digit>' wildcards are allowed. The
2252 first '*' wildcard in the target mask corresponds to the first
2253 wildcard group in the source mask, the second '*' corresponds to the
2254 second group and so on. The '\\1' wildcard corresponds to the first
2255 wildcard group in the source mask, the '\\2' wildcard corresponds to
2256 the second group and so on all the way up to '\\9'. The '\\0' wildcard
2257 is the whole filename of the source file.
2259 Two examples:
2261 If the source mask is "*.tar.gz", the destination is "/bla/*.tgz" and the
2262 file to be copied is "foo.tar.gz", the copy will be "foo.tgz" in "/bla".
2264 Let's suppose you want to swap basename and extension so that "file.c"
2265 will become "c.file" and so on. The source mask for this is "*.*" and
2266 the destination is "\\2.\\1".
2268 .B "Use shell patterns off"
2270 When the shell patterns option is off the MC doesn't do automatic
2271 grouping anymore. You must use '\\(...\\)' expressions in the source
2272 mask to specify meaning for the wildcards in the target mask. This is
2273 more flexible but also requires more typing. Otherwise target masks
2274 are similar to the situation when the shell patterns option is on.
2276 Two examples:
2278 If the source mask is "^\\(.*\\)\\.tar\\.gz$", the destination is
2279 "/bla/*.tgz" and the file to be copied is "foo.tar.gz", the copy
2280 will be "/bla/foo.tgz".
2282 Let's suppose you want to swap basename and extension so that "file.c"
2283 will become "c.file" and so on. The source mask for this is
2284 "^\\(.*\\)\\.\\(.*\\)$" and the destination is "\\2.\\1".
2286 .B "Case Conversions"
2288 You can also change the case of the filenames.  If you use '\\u'
2289 or '\\l' in the target mask, the next character will be converted to
2290 uppercase or lowercase correspondingly.
2292 If you use '\\U' or '\\L' in the target mask, the next characters will
2293 be converted to uppercase or lowercase correspondingly up to the
2294 next '\\E' or next '\\U', '\\L' or the end of the file name.
2296 The '\\u' and '\\l' are stronger than '\\U' and '\\L'.
2298 For example, if the source mask is '*' (shell patterns on) or '^\\(.*\\)$'
2299 (shell patterns off) and the target mask is '\\L\\u*' the file names
2300 will be converted to have initial upper case and otherwise lower case.
2302 You can also use '\\' as a quote character. For example, '\\\\' is
2303 a backslash and '\\*' is an asterisk.
2305 .SH "Internal File Viewer"
2306 The internal file viewer provides two display modes: ASCII and hex.
2307 To toggle between modes, use the F4 key.  If you have the GNU gzip
2308 program installed, it will be used to automatically decompress the
2309 files on demand.
2311 The viewer will try to use the best method provided by your system or
2312 the file type to display the information.  The internal file viewer
2313 will interpret some string sequences to set the bold and underline
2314 attributes, thus making a pretty display of your files.
2316 When in hex mode, the search function accepts text in quotes and
2317 constant numbers.  Text in quotes is matched exactly after removing
2318 the quotes.  Each number matches one byte.  You can mix quoted text
2319 with constants like this:
2322 "String" -1 0xBB 012 "more text"
2325 Note that 012 is an octal number.  -1 is converted to 0xFF.
2327 Some internal details about the viewer: On systems that provide the
2328 mmap(2) system call, the program maps the file instead of loading it;
2329 if the system does not provide the mmap(2) system call or the file
2330 matches an action that requires a filter, then the viewer will use
2331 it's growing buffers, thus loading only those parts of the file that
2332 you actually access (this includes compressed files).
2334 Here is a listing of the actions associated with each key that the
2335 Midnight Commander handles in the internal file viewer.
2337 .B F1
2338 Invoke the builtin hypertext help viewer.
2340 .B F2
2341 Toggle the wrap mode.
2343 .B F4
2344 Toggle the hex mode.
2346 .B F5
2347 Goto line.  This will prompt you for a line number and will display
2348 that line.
2350 .B F6, /.
2351 Regular expression search.
2353 .B ?,
2354 Reverse regular expression search.
2356 .B F7
2357 Normal search / hex mode search.
2359 .B C-s, F17, n.
2360 Start normal search if there was no previous search expression else
2361 find next match.
2363 .B C-r.
2364 Start reverse search if there was no previous search expression else
2365 find next match.
2367 .B F8
2368 Toggle Raw/Parsed mode: This will show the file as found on disk or if
2369 a processing filter has been specified in the mc.ext file, then the
2370 output from the filter. Current mode is always the other than written
2371 on the button label, since on the button is the mode which you enter
2372 by that key.
2374 .B F9
2375 Toggle the format/unformat mode: when format mode is on the viewer
2376 will interpret some string sequences to show bold and underline with
2377 different colors. Also, on button label is the other mode than current.
2379 .B F10, Esc.
2380 Exit the internal file viewer.
2382 .B next-page, space, C-v.
2383 Scroll one page forward.
2385 .B prev-page, M-v, C-b, backspace.
2386 Scroll one page backward.
2388 .B down-key
2389 Scroll one line forward.
2391 .B up-key
2392 Scroll one line backward.
2394 .B C-l
2395 Refresh the screen.
2397 .B C-o
2398 Switch to the subshell and show the command screen.
2400 .B !
2401 Like C-o, but run a new shell if the subshell is not running.
2403 .B "[n] m"
2404 Set the mark n.
2406 .B "[n] r"
2407 Jump to the mark n.
2409 .B C-f
2410 Jump to the next file.
2412 .B C-b
2413 Jump to the previous file.
2415 .B M-r
2416 Toggle the ruler.
2418 It's possible to instruct the file viewer how to display a file, look
2419 at the
2420 .\"LINK2"
2421 Extension File Edit section
2422 .\"Extension File Edit"
2423 .SH "Internal File Editor"
2424 The internal file editor provides most of the features of
2425 common full screen editors. It is invoked using
2426 .B F4
2427 provided
2429 .I use_internal_edit
2430 option is set in the initialization file. It has an extendable file size
2431 limit of sixteen megabytes and edits binary files flawlessly.
2433 The features it presently supports are: Block
2434 copy, move, delete, cut, paste;
2435 .I "key for key undo";
2436 pull-down
2437 menus; file insertion; macro definition; regular expression
2438 search and replace (and our own scanf-printf search and
2439 replace); shift-arrow MSW-MAC text highlighting (for the
2440 linux console only); insert-overwrite toggle; and an option
2441 to pipe text blocks through shell commands like indent.
2443 The editor is very easy to use and requires no tutoring.
2444 To see what keys do what, just consult the appropriate
2445 pull-down menu. Other keys are: Shift movement
2446 keys do text highlighting.
2447 .B Ctrl-Ins
2448 copies to the file
2449 .B cooledit.clip and
2450 .B Shift-Ins
2451 pastes from cooledit.clip.
2452 .B Shift-Del
2453 cuts to
2454 .B cooledit.clip,
2456 .B Ctrl-Del
2457 deletes highlighted text. Mouse highlighting also works, and you
2458 can override the mouse as usual by holding down the shift key
2459 while dragging the mouse to let normal terminal mouse highlighting
2460 work.
2462 To define a macro, press
2463 .B Ctrl-R
2464 and then type out the key
2465 strokes you want to be executed. Press
2466 .B Ctrl-R
2467 again when finished. You can then assign the macro to any key you
2468 like by pressing that key. The macro is executed when you press
2469 .B Ctrl-A 
2470 and then the assigned key. The macro is also executed if
2471 you press Meta, Ctrl, or Esc and the assigned key, provided that the
2472 key is not used for any other function. Once defined, the macro
2473 commands go into the file
2474 .B .mc/cedit/cooledit.macros
2475 in your home directory. You can delete a macro by deleting the
2476 appropriate line in this file.
2478 .B F19
2479 will format the currently highlighted block (plain text or
2480 .B C
2482 .B C++
2483 code or another). This is controlled by the
2484 file
2485 .B @prefix@/share/mc/edit.indent.rc
2486 which is copied to
2487 .B .mc/cedit/edit.indent.rc
2488 in your home directory the first time you use it.
2490 You can use scanf search and replace to search and replace
2491 a C format string. First take a look at the
2492 .B sscanf
2494 .B sprintf
2495 man pages to see what a format string
2496 is and how it works. An example is as follows: Suppose you want
2497 to replace all occurrences of say, an open bracket, three
2498 comma separated numbers, and a close bracket, with the
2499 word
2500 .I apples,
2501 the third number, the word
2502 .I oranges
2503 and then the second number, I would fill in the Replace dialog
2504 box as follows:
2507  Enter search string
2508 (%d,%d,%d)
2509  Enter replace string
2510 apples %d oranges %d
2511  Enter replacement argument order
2515 The last line specifies that the third and then the second
2516 number are to be used in place of the first and second.
2518 It is advisable to use this feature with Prompt on replace on, because
2519 a match is thought to be found whenever the number of arguments found
2520 matches the number given, which is not always a real match. Scanf also
2521 treats whitespace as being elastic.  Note that the scanf format % is
2522 very useful for scanning strings, and whitespace.
2524 The editor also displays non-us characters (160+). When editing
2525 binary files, you should set
2526 .B display bits
2527 to 7 bits in the options menu to keep the spacing clean.
2529 .SH "Completion"
2530 Let the Midnight Commander type for you.
2532 Attempt to perform completion on the text before current position. MC
2533 attempts completion treating the text as variable (if the text begins with
2534 .B $
2535 ), username (if the text begins with
2536 .B ~
2537 ), hostname (if the text
2538 begins with
2539 .B @
2540 ) or command (if you are on the command line in the
2541 position where you might type a command, possible completions then include
2542 shell reserved words and shell builtin commands as well) in turn. If none
2543 of these produces a match, filename completion is attempted.
2545 Filename, username, variable and hostname completion works on all input
2546 lines, command completion is command line specific.
2547 If the completion is ambiguous (there are more different possibilities),
2548 MC beeps and the following action depends on the setting of the
2549 .I Complete: show all
2550 option in the
2551 .\"LINK2"
2552 Configuration
2553 .\"Configuration"
2554 dialog. If it is enabled, a list of all
2555 possibilities pops up next to the current position and you can select with
2556 the arrow keys and
2557 .B Enter
2558 the correct entry. You can also type the first letters in which the
2559 possibilities differ to move to a subset of all possibilities and complete
2560 as much as possible. If you press
2561 .B M-Tab
2562 again, only the subset will be shown in the listbox, otherwise the first
2563 item which matches all the previous characters will be highlighted. As soon
2564 as there is no ambiguity, dialog disappears, but you can hide it by
2565 canceling keys
2566 .B Esc,
2567 .B F10
2568 and left and right arrow keys. If
2569 .\"LINK2"
2570 Complete: show all
2571 .\"Configuration"
2572 is disabled, the dialog pops up only if you press
2573 .B M-Tab
2574 for the second time, for the first time MC just beeps.
2576 .SH "Virtual File System"
2577 The Midnight Commander is provided with a code layer to access the
2578 file system; this code layer is known as the virtual file system
2579 switch.  The virtual file system switch allows the Midnight Commander
2580 to manipulate files not located on the Unix file system.
2582 Currently the Midnight Commander is packaged with some Virtual File
2583 Systems (VFS): the local file system, used for accessing the regular
2584 Unix file system; the ftpfs, used to manipulate files on remote
2585 systems with the FTP protocol; the tarfs, used to manipulate tar and
2586 compressed tar files; the undelfs, used to recover deleted files on
2587 ext2 file systems (the default file system for Linux systems), fish
2588 (for manipulating files over shell connections such as rsh and ssh) and
2589 finally the mcfs (Midnight Commander file system), a network based
2590 file system.  If the code was compiled with smbfs support, you can
2591 manipulate files on remote systems with the SMB (CIFS) protocol.
2593 The VFS switch code will interpret all of the path names used and will
2594 forward them to the correct file system, the formats used for each one
2595 of the file systems is described later in their own section.
2597 .SH "  FTP File System"
2598 The ftpfs allows you to manipulate files on remote machines, to
2599 actually use it, you may try to use the panel command FTP link
2600 (accessible from the menubar) or you may directly change your current
2601 directory to it using the cd command to a path name that looks like this:
2603 .I /#ftp:[!][user[:pass]@]machine[:port][remote-dir]
2606 .I user, port
2608 .I remote-dir
2609 elements are optional.  If you specify the
2610 .I user
2611 element, then the Midnight Commander will try to logon on the remote
2612 machine as that user, otherwise it will use your login name.  The
2613 optional
2614 .I pass
2615 element, if present is the password used for the connection.  This is not
2616 recommended (nor keeping the password in your hotlist, unless you set the
2617 appropriate permissions there, and even then it may not be entirely safe).
2619 Examples:
2622     /#ftp:ftp.nuclecu.unam.mx/linux/local
2623     /#ftp:tsx-11.mit.edu/pub/linux/packages
2624     /#ftp:!behind.firewall.edu/pub
2625     /#ftp:guest@remote-host.com:40/pub
2626     /#ftp:miguel:xxx@server/pub
2629 To connect to sites behind a firewall, you will need to use the prefix
2630 /#ftp:! (i.e. add a bang character before the hostname) to make the
2631 Midnight Commander use a proxy host for doing the ftp transfer. You can
2632 define the proxy host in the
2633 .\"LINK2"
2634 Virtual File System
2635 .\"Virtual FS"
2636 dialog box.
2638 Another option to set is the
2639 .I Always use ftp proxy
2640 option in the
2641 .\"LINK2"
2642 Virtual File System
2643 .\"Virtual FS"
2644 dialog box.  This will configure the program
2645 to always use the proxy host.  If this variable is set, the program
2646 will do two things: consult the @prefix@/share/mc/mc.no_proxy file for
2647 lines containing host names that are local (if the host name starts
2648 with a dot, it is assumed to be a domain) and to assume that any
2649 hostnames without dots in their names are directly accessible.
2651 If you are using the ftpfs code with a filtering packet router that
2652 does not allow you to use the regular mode of opening files, you may
2653 want to force the program to use the passive-open mode.  To use this,
2654 set the ftpfs_use_passive_connections option in the initialization file.
2656 The Midnight Commander keeps the directory listing in a cache.  The cache
2657 expire time is configurable in the
2658 .\"LINK2"
2659 Virtual File System
2660 .\"Virtual FS"
2661 dialog box.  This has the funny behavior that even if you make changes to a
2662 directory, they will not be reflected in the directory listing until you
2663 force a cache reload with the C-r key.  This is a feature (when you think
2664 it's a bug, think about manipulating files on the other side of the Atlantic
2665 with ftpfs).
2667 .SH "  Tar File System"
2668 The tar file system provides you with read-only access to your tar
2669 files and compressed tar files by using the chdir command.  To change
2670 your directory to a tar file, you change your current directory to the
2671 tar file by using the following syntax:
2673 .I /filename.tar#utar/[dir-inside-tar]
2675 The mc.ext file already provides a shortcut for tar files, this means
2676 that usually you just point to a tar file and press return to enter
2677 into the tar file, see the
2678 .\"LINK2"
2679 Extension File Edit
2680 .\"Extension File Edit"
2681 section for details on how this is done.
2683 Examples:
2686     mc-3.0.tar.gz#utar/mc-3.0/vfs
2687     /ftp/GCC/gcc-2.7.0.tar#utar
2690 The latter specifies the full path of the tar archive.
2691 .SH "  FIle transfer over SHell filesystem"
2693 The fish file system is a network based file system that allows you to
2694 manipulate the files in a remote machine as if they were local. To use
2695 this, the other side has to either run fish server, or has to have
2696 bash-compatible shell.
2698 To connect to a remote machine, you just need to chdir
2699 into a special directory which name is in the following
2700 format:
2703 /#sh:[user@]machine[:options]/[remote-dir]
2706 .I user,
2707 .I options
2709 .I remote-dir
2710 elements are optional. If
2711 you specify the
2712 .I user
2713 element then the Midnight Commander
2714 will try to logon on the remote machine as that user,
2715 otherwise it will use your login name.
2718 .I options
2719 are 'C' - use compression and 'rsh' use rsh instead
2720 of ssh. If the
2721 .I remote-dir
2722 element is present, your current directory on the remote machine will
2723 be set to this one.
2725 Examples:
2728     /#sh:onlyrsh.mx:r/linux/local
2729     /#sh:joe@want.compression.edu:C/private
2730     /#sh:joe@noncompressed.ssh.edu/private
2733 .SH "  Network File System"
2734 The Midnight Commander file system is a network base file system that
2735 allows you to manipulate the files in a remote machine as if they
2736 were local.  To use this, the remote machine must be running the
2737 mcserv(8) server program.
2739 To connect to a remote machine, you just need to chdir into a special
2740 directory which name is in the following format:
2742 .I /#mc:[user@]machine[:port][remote-dir]
2745 .I user, port
2747 .I remote-dir
2748 elements are optional.  If you specify the
2749 .I user
2750 element then the Midnight Commander will try to logon on the remote
2751 machine as that user, otherwise it will use your login name.
2754 .I port
2755 element is used when the remote machine running on a special port
2756 (see the mcserv(8) manual page for more information about ports);
2757 finally, if the
2758 .I remote-dir
2759 element is present, your current directory on the remote machine will
2760 be set to this one.
2762 Examples:
2765     /#mc:ftp.nuclecu.unam.mx/linux/local
2766     /#mc:joe@foo.edu:11321/private
2769 .SH "  Undelete File System"
2770 On Linux systems, if you asked configure to use the ext2fs undelete
2771 facilities, you will have the undelete file system available.
2772 Recovery of deleted files is only available on ext2 file systems.  The
2773 undelete file system is just an interface to the ext2fs library to:
2774 retrieve all of the deleted files names on an ext2fs and provides and
2775 to extract the selected files into a regular partition.
2777 To use this file system, you have to chdir into the special file name
2778 formed by the "/#undel" prefix and the file name where the actual
2779 file system resides.
2781 For example, to recover deleted files on the second partition of the
2782 first SCSI disk on Linux, you would use the following path name:
2785     /#undel:sda2
2788 It may take a while for the undelfs to load the required information
2789 before you start browsing files there.
2791 .SH "  SMB File System"
2792 The smbfs allows you to manipulate files on remote machines with SMB
2793 (or CIFS) protocol.  These include Windows for Workgroups,
2794 Windows 9x, Windows NT, Windows 2000 and Samba.
2795 To actually use it, you may try
2796 to use the panel command "SMB link..."
2797 (accessible from the menubar) or you may directly change your current
2798 directory to it using the cd command to a path name that looks like this:
2800 .I /#smb:machine[/service][/remote-dir]
2803 .I service
2805 .I remote-dir
2806 elements are optional.
2808 .I username, domain
2810 .I password
2811 can be specified in input dialog.
2813 Examples:
2816     /#smb:machine/Share
2817     /#smb:other_machine
2820 .SH "Colors"
2821 The Midnight Commander will try to detect if your terminal supports
2822 color using the terminal database and your terminal name.  Sometimes
2823 it gets confused, so you may force color mode or disable color mode
2824 using the -c and -b flag respectively.
2826 If the program is compiled with the Slang screen manager instead of
2827 ncurses, it will also check the variable
2828 .B COLORTERM,
2829 if it is set, it has the same effect as the -c flag.
2831 You may specify terminals that always force color mode
2832 by adding the
2833 .I color_terminals
2834 variable to the Colors
2835 section of the initialization file. This will prevent the
2836 Midnight Commander from trying to detect if your terminal
2837 supports color. Example:
2839 [Colors]
2840 color_terminals=linux,xterm
2843 color_terminals=terminal-name1,terminal-name2...
2846 The program can be compiled with both ncurses and slang, ncurses does
2847 not provide a way to force color mode: ncurses uses just the
2848 information in the terminal database.
2850 The Midnight Commander provides a way to change the default colors.
2851 Currently the colors are configured using the environment variable
2852 .B MC_COLOR_TABLE
2853 or the Colors section in the initialization file.
2855 In the Colors section, the default color map is loaded from the
2856 .I base_color
2857 variable.  You can specify an alternate color map for a terminal by
2858 using the terminal name as the key in this section.  Example:
2861 [Colors]
2862 base_color=
2863 xterm=menu=magenta:marked=,magenta:markselect=,red
2866 The format for the color definition is:
2869   <keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
2872 The colors are optional, and the keywords are: normal, selected, marked,
2873 markselect, errors, input, reverse, gauge.  Menu colors are: menu,
2874 menusel, menuhot, menuhotsel.  Dialog colors are: dnormal, dfocus,
2875 dhotnormal, dhotfocus.  Help colors are: helpnormal, helpitalic,
2876 helpbold, helplink, helpslink.  Viewer color is: viewunderline.  Special
2877 highlighting colors are: executable, directory, link, device, special,
2878 core.  Editor colors 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 off by 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).
3009 .I only_leading_plus_minus
3011 Allow special treatment for '+', '-', '*' in the command line (select,
3012 unselect, reverse selection) only if the command line is empty.  You
3013 don't need to quote those characters in the middle of the command line.
3014 On the other hand, you cannot use them to change selection when the
3015 command line is not empty.
3017 .I panel_scroll_pages
3019 If set (the default), panel will scroll by half the display when the
3020 cursor reaches the end or the beginning of the panel, otherwise it
3021 will just scroll a file at a time.
3023 .I preserve_uidgid
3025 If this option is set (the default), when logged in as root the
3026 default will be to preserve the UID and the GID of files.  Some users
3027 prefer to disable this option, so that's why it's configurable.
3029 .I show_output_starts_shell
3031 This variable only works if you are not using the subshell support.
3032 When you use the C-o keystroke to go back to the user screen, if this
3033 one is set, you will get a fresh shell.  Otherwise, pressing any key
3034 will bring you back to the Midnight Commander.
3036 .I torben_fj_mode
3038 If this flag is set, then the home and end keys will work slightly
3039 different on the panels, instead of moving the selection to the first
3040 and last files in the panels, they will act as follows:
3042 The home key will: Go up to the middle line, if below it; else go to
3043 the top line unless it is already on the top line, in this case it
3044 will go to the first file in the panel.
3046 The end key has a similar behavior: Go down to the middle line, if
3047 over it; else go to the bottom line unless you already are at the
3048 bottom line, in such case it will move the selection to the last file
3049 name in the panel.
3051 .I use_file_to_guess_type
3053 If this variable is on (the default) it will spawn the file command to
3054 match the file types listed on the
3055 .\"LINK2"
3056 mc.ext file.
3057 .\"Extension File Edit"
3059 .I xterm_mode
3061 If this variable is on (default is off) when you browse the file
3062 system on a Tree panel, it will automatically reload the other panel
3063 with the contents of the selected directory.
3065 .SH "Terminal databases"
3066 The Midnight Commander provides a way to fix your system terminal
3067 database without requiring root privileges.  The Midnight Commander
3068 searches in the system initialization file (the mc.lib file located in
3069 the Midnight Commander library directory) and in the ~/.mc/ini file
3070 for the section "terminal:your-terminal-name" and then for the section
3071 "terminal:general", each line of the section contains a key symbol
3072 that you want to define, followed by an equal sign and the definition
3073 for the key.  You can use the special \\e form to represent the escape
3074 character and the ^x to represent the control-x character.
3076 The possible key symbols are:
3079 f0 to f20     Function keys f0-f20
3080 bs            backspace
3081 home          home key
3082 end           end key
3083 up            up arrow key
3084 down          down arrow key
3085 left          left arrow key
3086 right         right arrow key
3087 pgdn          page down key
3088 pgup          page up key
3089 insert        the insert character
3090 delete        the delete character
3091 complete      to do completion
3094 For example, to define the key insert to be the Escape + [ + O + p, you
3095 set this in the ini file:
3098 insert=\\e[Op
3102 .I complete
3103 key symbol represents the escape sequences used to invoke the
3104 completion process, this is invoked with M-tab, but you can define
3105 other keys to do the same work (on those keyboard with tons of nice
3106 and unused keys everywhere).
3108 .SH ""
3109 .SH "FILES"
3111 The program will retrieve all of its information relative to the
3112 MC_DATADIR environment variable, if this variable is not set, then it will
3113 fall back to the @prefix@/share/mc directory.
3115 @prefix@/share/mc/mc.hlp
3117 The help file for the program.
3119 @prefix@/share/mc/mc.ext
3121 The default system-wide extensions file.
3123 ~/.mc/bindings
3125 User's own extension, view configuration and edit configuration
3126 file.  They override the contents of the system wide files if present.
3128 @prefix@/share/mc/mc.ini
3130 The default system-wide setup for the Midnight Commander, used only if
3131 the user doesn't have his own ~/.mc/ini file.
3133 @prefix@/share/mc/mc.lib
3135 Global settings for the Midnight Commander.  Settings in this file
3136 affect all users, whether they have ~/.mc/ini or not.  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@/share/mc/mc.hint
3149 This file contains the hints (cookies) displayed by the program.
3151 @prefix@/share/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.