small corrections / a forgived string ...
[midnight-commander.git] / doc / mc.1.in
blob05b88cd2d43ff7fddb8fb7baaaa8ede012a8c229
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
1228 Upon command completion, the directory contents of the panel will no
1229 longer be the directory listing of the current directory, but all the
1230 files that are symbolic links.
1232 If you want to panelize all of the files that have been downloaded
1233 from your ftp server, you can use this awk command to extract the file
1234 name from the transfer log files:
1237 awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
1240 You may want to save often used panelize commands under a descriptive name,
1241 so that you can recall them quickly. You do this by typing the command on
1242 the input line and pressing Add new button. Then you enter a name under
1243 which you want the command to be saved. Next time, you just choose that
1244 command from the list and do not have to type it again.
1246 .SH "    Hotlist"
1247 The Directory hotlist command shows the labels of the directories
1248 in the directory hotlist.  The Midnight Commander will change to the
1249 directory corresponding to the selected label.  From the hotlist dialog,
1250 you can remove already created label/directory pairs and add new ones.
1251 To add new directories quickly, you can use the Add to hotlist command
1252 (C-x h), which adds the current directory into the directory hotlist,
1253 asking just for the label for the directory.
1255 This makes cd to often used directories faster. You may consider using the
1256 CDPATH variable as described in
1257 .\"LINK2"
1258 internal cd command
1259 .\"The cd internal command"
1260 description.
1262 .SH "    Extension File Edit"
1263 This will invoke your editor on the file ~/.mc/bindings. The format of this
1264 file is as follows (the format has changed with version 3.0):
1266 All lines starting with # or empty lines are thrown away.
1268 Lines starting in the first column should have following format:
1270 .I keyword/descNL,
1271 i.e. everything after
1272 .I keyword/
1273 until new line is
1274 .I desc
1276 keyword can be:
1278 .I shell
1280 (desc is then any extension (no wildcards), i.e. matches all the files
1281 *desc . Example: .tar matches *.tar)
1283 .I regex
1285 (desc is a regular expression)
1287 .I type
1289 (file matches this if `file %f` matches regular expression desc
1290 (the filename: part from `file %f` is removed))
1292 .I default
1294 (matches any file no matter what desc is)
1296 Other lines should start with a space or tab and should be of the format:
1298 .I keyword=commandNL
1299 (with no spaces around =), where
1300 .I keyword
1301 should be:
1303 .I Open
1304 (if the user presses Enter or doubleclicks it),
1305 .I View
1306 (F3),
1307 .I Edit
1308 (F4),
1309 .I Drop
1310 (user drops some files on it) or any other
1311 user defined name (those will be listed in the extension dependent pop-up
1312 menu).
1313 .I Icon
1314 name is reserved for future use by mc.
1316 .I command
1317 is any one-line shell command, with the simple
1318 .\"LINK2"
1319 macro substitution.
1320 .\"Macro Substitution"
1322 Target are evaluated from top to bottom (order is thus important).
1323 If some actions are missing, search continues as if this target didn't
1324 match (i.e. if a file matches the first and second entry and View action
1325 is missing in the first one, then on pressing F3 the View action from
1326 the second entry will be used. default should catch all the actions.
1328 .\"NODE "    Background jobs"
1329 .SH "    Background Jobs"
1330 This lets you control the state of any background Midnight Commander
1331 process (only copy and move files operations can be done in the
1332 background).  You can stop, restart and kill a background job from
1333 here.
1335 .SH "    Menu File Edit"
1336 The user menu is a menu of useful actions that can be customized by
1337 the user. When you access the user menu, the
1338 file .mc.menu from the current directory is used if it exists,
1339 but only if it is owned by user or root and is not world-writable.
1340 If no such file found, ~/.mc/menu is tried in the same way,
1341 and otherwise mc uses the default system-wide menu
1342 @prefix@/share/mc/mc.menu.
1344 The format of the menu file is very simple. Lines that start with
1345 anything but space or tab are considered entries for the menu (in
1346 order to be able to use it like a hot key, the first character should
1347 be a letter). All the lines that start with a space or a tab are the
1348 commands that will be executed when the entry is selected.
1350 When an option is selected all the command lines of the option are
1351 copied to a temporary file in the temporary directory (usually
1352 /usr/tmp) and then that file is executed. This allows the user to put
1353 normal shell constructs in the menus. Also simple macro substitution
1354 takes place before executing the menu code. For more information, see
1355 .\"LINK2"
1356 macro substitution.
1357 .\"Macro Substitution"
1359 Here is a sample mc.menu file:
1362 A       Dump the currently selected file
1363         od -c %f
1365 B       Edit a bug report and send it to root
1366         vi /tmp/mail.$$
1367         mail -s "Midnight Commander bug" root < /tmp/mail.$$
1369 M       Read mail
1370         emacs -f rmail
1372 N       Read Usenet news
1373         emacs -f gnus
1375 H       Call the info hypertext browser
1376         info
1378 J       Copy current directory to other panel recursively
1379         tar cf - . | (cd %D && tar xvpf -)
1381 K       Make a release of the current subdirectory
1382         echo -n "Name of distribution file: "
1383         read tar
1384         ln -s %d `dirname %d`/$tar
1385         cd ..
1386         tar cvhf ${tar}.tar $tar
1388 = f *.tar.gz | f *.tgz & t n
1389 X       Extract the contents of a compressed tar file
1390         tar xzvf %f
1393 .B Default Conditions
1395 Each menu entry may be preceded by a condition. The condition must
1396 start from the first column with a '=' character. If the condition is
1397 true, the menu entry will be the default entry.
1400 Condition syntax:       = <sub-cond>
1401   or:                   = <sub-cond> | <sub-cond> ...
1402   or:                   = <sub-cond> & <sub-cond> ...
1404 Sub-condition is one of following:
1406   y <pattern>           syntax of current file matching pattern?
1407                         for edit menu only.
1408   f <pattern>           current file matching pattern?
1409   F <pattern>           other file matching pattern?
1410   d <pattern>           current directory matching pattern?
1411   D <pattern>           other directory matching pattern?
1412   t <type>              current file of type?
1413   T <type>              other file of type?
1414   x <filename>          is it executable filename?
1415   ! <sub-cond>          negate the result of sub-condition
1418 Pattern is a normal shell pattern or a regular expression, according
1419 to the shell patterns option. You can override the global value of
1420 the shell patterns option by writing "shell_patterns=x" on the first
1421 line of the menu file (where "x" is either 0 or 1).
1424 Type is one or more of the following characters:
1426   n     not directory
1427   r     regular file
1428   d     directory
1429   l     link
1430   c     char special
1431   b     block special
1432   f     fifo (pipe)
1433   s     socket
1434   x     executable
1435   t     tagged
1438 For example 'rlf' means either regular file, link or fifo. The 't'
1439 type is a little special because it acts on the panel instead of the
1440 file. The condition '=t t' is true if there are tagged files in the
1441 current panel and false if not.
1443 If the condition starts with '=?' instead of '=' a debug trace will be
1444 shown whenever the value of the condition is calculated.
1446 The conditions are calculated from left to right. This means
1448         = f *.tar.gz | f *.tgz & t n
1450 is calculated as
1452         ( (f *.tar.gz) | (f *.tgz) ) & (t n)
1455 Here is a sample of the use of conditions:
1458 = f *.tar.gz | f *.tgz & t n
1459 L       List the contents of a compressed tar-archive
1460         gzip -cd %f | tar xvf -
1463 .B Addition Conditions
1465 If the condition begins with '+' (or '+?') instead of '=' (or '=?') it
1466 is an addition condition. If the condition is true the menu entry will
1467 be included in the menu. If the condition is false the menu entry will
1468 not be included in the menu.
1470 You can combine default and addition conditions by starting condition
1471 with '+=' or '=+' (or '+=?' or '=+?' if you want debug trace). If you
1472 want to use two different conditions, one for adding and another for
1473 defaulting, you can precede a menu entry with two condition lines, one
1474 starting with '+' and another starting with '='.
1476 Comments are started with '#'. The additional comment lines must start
1477 with '#', space or tab.
1479 .SH "  Options Menu"
1480 The Midnight Commander has some options that may be toggled on and
1481 off in several dialogs which are accessible from this menu. Options
1482 are enabled if they have an asterisk or "x" in front of them.
1485 .\"LINK2"
1486 Configuration
1487 .\"Configuration"
1488 command pops up a dialog from which you can change most of settings of
1489 the Midnight Commander.
1492 .\"LINK2"
1493 Layout
1494 .\"Layout"
1495 command pops up a dialog from which you specify a bunch of options how mc
1496 looks like on the screen.
1499 .\"LINK2"
1500 Confirmation
1501 .\"Confirmation"
1502 command pops up a dialog from which you specify which actions you want to
1503 confirm.
1506 .\"LINK2"
1507 Display bits
1508 .\"Display bits"
1509 command pops up a dialog from which you may select which characters is your
1510 terminal able to display.
1513 .\"LINK2"
1514 Learn keys
1515 .\"Learn keys"
1516 command pops up a dialog from which you test some keys which are not working
1517 on some terminals and you may fix them.
1520 .\"LINK2"
1521 Virtual FS
1522 .\"Virtual FS"
1523 command pops up a dialog from which you specify some VFS related options.
1526 .\"LINK2"
1527 Save setup
1528 .\"Save Setup"
1529 command saves the current settings of the Left, Right and Options
1530 menus. A small number of other settings is saved, too.
1532 .SH "    Configuration"
1533 The options in this dialog are divided into three groups:
1534 Panel Options, Pause after run and Other Options.
1536 .B Panel Options
1538 .I Show Backup Files.
1539 If enabled, the Midnight Commander will show files ending with a tilde.
1540 Otherwise, they won't be shown (like GNU's ls option -B).
1542 .I Show Hidden Files.
1543 If enabled, the Midnight Commander will show all files that start with
1544 a dot (like ls -a).
1546 .I Mark moves down.
1547 If enabled, the selection bar will move down when you mark a file (with
1548 either C-t or the Insert key).
1550 .I Drop down menus.
1551 When this option is enabled, the pull down menus will be activated as
1552 soon as you press the
1553 .B F9
1554 key.  Otherwise, you will only get the menu title, and you will have
1555 to activate the menu either with the arrow keys or with the hotkeys.
1556 It is recommended if you are using hotkeys.
1558 .I Mix all files.
1559 If this option is enabled, all files and directories are shown mixed
1560 together.  If the option is off, directories (and links to directories)
1561 are shown at the beginning of the listing, and other files below.
1563 .I Fast directory reload.
1564 If this option is enabled, the Midnight Commander will use a trick to
1565 determine if the directory contents have changed.  The trick is to reload
1566 the directory only if the i-node of the directory has changed; this means
1567 that reloads only happen when files are created or deleted.  If what
1568 changes is the i-node for a file in the directory (file size changes,
1569 mode or owner changes, etc) the display is not updated.  In these cases,
1570 if you have the option on, you have to rescan the directory manually
1571 (with C-r).
1573 .B Pause after run
1575 After executing your commands, the Midnight Commander can pause, so
1576 that you can examine the output of the command.  There are three
1577 possible settings for this variable:
1579 .I Never
1580 Means that you do not want to see the output of your command.  If you
1581 are using the Linux or SCO console or an xterm, you will be able to see the
1582 output of the command by typing C-o.
1584 .I "On dumb terminals"
1585 You will get the pause message on terminals that are not capable of
1586 showing the output of the last command executed (any terminal that is
1587 not an xterm or the Linux console).
1589 .I Always
1590 The program will pause after executing all of your commands.
1592 .B Other Options
1594 .I Verbose operation.
1595 This toggles whether the file Copy, Rename and Delete operations are
1596 verbose (i.e., display a dialog box for each operation). If you have a
1597 slow terminal, you may wish to disable the verbose operation. It is
1598 automatically turned off if the speed of your terminal is less than
1599 9600 bps.
1601 .I Compute totals.
1602 If this option is enabled, the Midnight
1603 Commander computes total byte sizes and total number of files
1604 prior to any Copy, Rename and Delete operations. This will
1605 provide you with a more accurate progress bar at the expense
1606 of some speed. This option has no effect, if
1607 .I Verbose operation
1608 is disabled.
1610 .I Shell Patterns.
1611 By default the Select, Unselect and Filter commands will use shell-like
1612 regular expressions. The following conversions are performed to achieve
1613 this: the '*' is replaced by '.*' (zero or more characters); the '?'
1614 is replaced by '.' (exactly one character) and '.' by the literal
1615 dot. If the option is disabled, then the regular expressions are the
1616 ones described in ed(1).
1618 .I Auto Save Setup.
1619 If this option is enabled, when you exit the Midnight Commander the
1620 configurable options of the Midnight Commander are saved in the
1621 ~/.mc/ini file.
1623 .I Auto menus.
1624 If this option is enabled, the user menu will be invoked at startup.
1625 Useful for building menus for non-unixers.
1627 .I Use internal editor.
1628 If this option is enabled, the built-in file editor is used to edit
1629 files. If the option is disabled, the editor specified in the
1630 .B EDITOR
1631 environment variable is used.
1632 If no editor is specified,
1633 .B vi
1634 is used.  See the section on the
1635 .\"LINK2"
1636 internal file editor.
1637 .\"Internal File Editor"
1639 .I Use internal viewer.
1640 If this option is enabled, the built-in file viewer is used to view
1641 files. If the option is disabled, the pager specified in the
1642 .B PAGER
1643 environment variable is used.
1644 If no pager is specified, the
1645 .B view
1646 command is used.  See the section on the
1647 .\"LINK2"
1648 internal file viewer.
1649 .\"Internal File Viewer"
1651 .I Complete: show all.
1652 By default the Midnight Commander
1653 pops up all possible
1654 .\"LINK2"
1655 completions
1656 .\"Completion"
1657 if the completion is
1658 ambiguous if you press
1659 .B M-Tab
1660 for the second time, for the
1661 first time it just completes as much as possible and in
1662 the case of ambiguity beeps. If you want to see all the
1663 possible completions already after the first
1664 .B M-Tab
1665 pressing, enable this option.
1667 .I Rotating dash.
1668 If this option is enabled, the
1669 Midnight Commander shows a rotating dash in the upper right corner
1670 as a work in progress indicator.
1672 .I Lynx-like motion.
1673 If this option is enabled,
1674 you may use the arrows keys to automatically chdir if the
1675 current selection is a subdirectory and the shell command
1676 line is empty. By default, this setting is off.
1678 .I Cd follows links.
1679 This option, if set, causes the Midnight Commander to follow the
1680 logical chain of directories when changing current directory
1681 either in the panels, or using the cd command. This is the default
1682 behavior of bash. When unset, the Midnight Commander follows the
1683 real directory structure, so cd .. if you've entered that directory
1684 through a link will move you to the current directory's real parent
1685 and not to the directory where the link was present.
1687 .I Safe delete.
1688 If this option is enabled, deleting files
1689 unintentionally will get more difficult. The default
1690 selection in the confirmation dialog changes from the "Yes"
1691 to the "No" button and deletion of non empty directories has to be
1692 confirmed by entering the word
1693 .IR yes .
1694 By default this option is disabled.
1696 .SH "    Layout"
1697 The layout dialog gives you a possibility to change the general layout
1698 of screen. You can specify whether the menubar, the command prompt,
1699 the hintbar and the function keybar are visible. On the Linux or SCO console
1700 you can specify how many lines are shown in the output window.
1702 The rest of the screen area is used for the two directory panels. You
1703 can specify whether the area is split to the panels in vertical or
1704 horizontal direction. The split can be equal or you can specify an
1705 unequal split.
1707 By default all contents of the directory panels are displayed with
1708 the same color, but you can specify whether
1709 .I permissions
1711 .I file types
1712 are highlighted with special
1713 .\"LINK2"
1714 Colors.
1715 .\"Colors"
1716 If permission highlighting is enabled, the parts of the
1717 .I perm
1719 .I mode
1720 .\"LINK2"
1721 display fields
1722 .\"Listing Mode..."
1723 which are valid for the user running Midnight Commander
1724 are highlighted with the color defined with the
1725 .I selected
1726 keyword. If file type highlighting is enabled, files are colored according
1727 to their file type (e.g. directory, core file, executable, ...).
1729 If the
1730 .I Show Mini-Status
1731 option is enabled, one line of status
1732 information about the currently selected item is showed at the bottom
1733 of the panels.
1735 .SH "    Confirmation"
1736 In this menu you configure the confirmation options for file deletion,
1737 overwriting, execution by pressing enter and quitting the program.
1739 .SH "    Display bits"
1740 This is used to configure the range of visible characters on the
1741 screen.  This setting may be 7-bits if your terminal/curses supports
1742 only seven output bits, ISO-8859-1 displays all the characters in the
1743 ISO-8859-1 map and full 8 bits is for those terminals that can display
1744 full 8 bit characters.
1746 .SH "    Learn keys"
1747 This dialog allows you to test and redefine functional keys, cursor
1748 arrows and some other keys to make them work properly on your terminal.
1749 They often don't, since many terminal databases are incomplete or broken.
1751 You can move around with the Tab key and with the vi moving keys ('h'
1752 left, 'j' down, 'k' up and 'l' right).  Once you press any cursor movement
1753 key and it is recognized, you can use that key as well.
1755 You can test keys just by pressing each of them.  When you press a
1756 key and it is recognized properly, OK should appear next to the name
1757 of that key.  Once a key is marked OK it starts working as usually,
1758 e.g. F1 pressed the first time will just check that the F1 key works,
1759 but after that it will show help.  The same applies to the arrow keys.
1760 The Tab key should be working always.
1762 If some keys do not work properly then you won't see OK appear after
1763 pressing that key.  Then you may want to redefine it.  Do it by pressing
1764 the button with the name of that key (either by the mouse or by Enter
1765 or Space after selecting the button with Tab or arrows).  Then a message
1766 box will appear asking you to press that key.  Do it and wait until the
1767 message box disappears.  If you want to abort, just press Escape once
1768 and wait.
1770 When you finish with all the keys, you can Save them.  The definitions
1771 for the keys you have redefined will be written into the [terminal:TERM]
1772 section of your ~/.mc/ini file (where TERM is the name of your current
1773 terminal).  The definitions of the keys that were already working properly
1774 are not saved.
1776 .SH "    Virtual FS"
1777 This option gives you control over the settings of the
1778 .\"LINK2"
1779 Virtual File System
1780 .\"Virtual File System"
1781 information cache.
1783 The Midnight Commander keeps in memory the information
1784 related to some of the virtual file systems to speed up
1785 the access to the files in the file system (for example,
1786 directory listings fetched from ftp servers).
1788 Moreover in order to access the contents of compressed files
1789 (for example, compressed tar files) the Midnight Commander
1790 has to create a temporary uncompressed file on your disk.
1792 Since both the information in memory and the temporary files on
1793 disk take up resources, you may want to tune the parameters of
1794 the cached information to decrease your resource usage or to maximize
1795 the speed of access to frequently used file systems.
1797 The Tar file system is quite clever about how it handles
1798 tar files: it just loads the directory entries and when it
1799 needs to use the information contained in the tar file, it
1800 goes and grab it.
1802 In the wild, tar files are usually kept compressed (plain
1803 tar files are species in extinction), and because of the
1804 nature of those files (the directory entries for the tar
1805 files is not there waiting for us to be loaded), the tar
1806 file system has to uncompress the file
1807 on the disk in a temporary location and then access the
1808 uncompressed file as a regular tar file.
1810 Now, since we all love to browse files and tar files all
1811 over the disk, it's common that you will leave a tar file
1812 and the re-enter it later. Since uncompression is slow,
1813 the Midnight Commander will cache the information in
1814 memory for a limited amount of time, after you hit the
1815 timeout, all of the resources associated with the
1816 file system will be freed. The default timeout is set to
1817 one minute.
1820 .\"LINK2"
1821 FTP File System
1822 .\"FTP File System"
1823 keeps the directory listing it fetches from a ftp server
1824 in a cache.  The cache
1825 expire time is configurable with the
1826 .I ftpfs directory cache timeout
1827 option.
1828 A low value for this
1829 option may slow down every operation on the ftp file System
1830 because every operation is accompanied by a query of the
1831 ftp server.
1833 Moreover you can define a proxy host for doing ftp transfers
1834 and configure the Midnight Commander to always use the proxy host.
1836 the section on
1837 .\"LINK2"
1838 FTP File System
1839 .\"FTP File System"
1840 for more information.
1842 .SH "    Save Setup"
1843 At startup the Midnight Commander will try to load initialization
1844 information from the ~/.mc/ini file. If this file doesn't exist,
1845 it will load the information from the system-wide configuration file,
1846 located in @prefix@/share/mc/mc.ini. If the system-wide configuration
1847 file doesn't exist, MC uses the default settings.
1850 .I Save Setup
1851 command creates the ~/.mc/ini file by saving the current settings
1852 of the
1853 .\"LINK2"
1854 Left, Right
1855 .\"Left and Right Menus"
1857 .\"LINK2"
1858 Options
1859 .\"Options Menu"
1860 menus.
1862 If you activate the
1863 .I auto save setup
1864 option, MC will always save the current settings when exiting.
1866 There also exist settings which can't be changed from the menus. To
1867 change these settings you have to edit the setup file with your
1868 favorite editor. See the section on
1869 .\"LINK2"
1870 Special Settings
1871 .\"Special Settings"
1872 for more information.
1874 .SH ""
1875 .SH "Executing operating system commands"
1876 You may execute commands by typing them directly in the Midnight
1877 Commander's input line, or by selecting the program you want to
1878 execute with the selection bar in one of the panels and hitting Enter.
1880 If you press Enter over a file that is not executable, the Midnight
1881 Commander checks the extension of the selected file against the
1882 extensions in the
1883 .\"LINK2"
1884 Extensions File.
1885 .\"Extension File Edit"
1886 If a match is found then the code associated with that extension is
1887 executed. A very simple
1888 .\"LINK2"
1889 macro expansion
1890 .\"Macro Substitution"
1891 takes place before executing the command.
1893 .SH "  The cd internal command"
1895 .I cd
1896 command is interpreted by the Midnight Commander, it is not passed to
1897 the command shell for execution.  Thus it may not handle all of the
1898 nice macro expansion and substitution that your shell does, although it
1899 does some of them:
1901 .I Tilde substitution
1902 The (~) will be substituted with your home directory, if you append a
1903 username after the tilde, then it will be substituted with the login
1904 directory of the the specified user.
1906 For example, ~guest is the home directory for the user guest, while
1907 ~/guest is the directory guest in your home directory.
1909 .I Previous directory
1910 You can jump to the directory you were previously by using the special
1911 directory name '-' like this:
1912 .B cd -
1914 .I CDPATH directories
1915 If the directory specified to the
1916 .B cd
1917 command is not in the current directory, then The Midnight Commander
1918 uses the value in the environment variable
1919 .B CDPATH
1920 to search for the directory in any of the named directories.
1922 For example you could set your
1923 .B CDPATH
1924 variable to ~/src:/usr/src, allowing you to change your directory to
1925 any of the directories inside the ~/src and /usr/src directories, from
1926 any place in the file system by using it's relative name (for example
1927 cd linux could take you to /usr/src/linux).
1929 .SH "  Macro Substitution"
1931 When accessing a
1932 .\"LINK2"
1933 user menu,
1934 .\"Menu File Edit"
1935 or executing an
1936 .\"LINK2"
1937 extension dependent command,
1938 .\"Extension File Edit"
1939 or running a command from the command line input,
1940 a simple macro substitution takes place.
1942 The macros are:
1944 .I "%i"
1946 The indent of blank space, equal the cursor column
1947 position. For edit menu only.
1949 .I "%y"
1951 The syntax type of current file. For edit menu only.
1953 .I "%k"
1955 The block file name.
1957 .I "%e"
1959 The error file name.
1961 .I "%m"
1963 The current menu name.
1965 .I "%f"
1967 .I "%p"
1969 The current file name.
1971 .I "%x"
1973 The extension of current file name.
1975 .I "%b"
1977 The current file name without extension.
1979 .I "%d"
1981 The current directory name.
1983 .I "%F"
1985 The current file in the unselected panel.
1987 .I "%D"
1989 The directory name of the unselected panel.
1991 .I "%t"
1993 The currently tagged files.
1995 .I "%T"
1997 The tagged files in the unselected panel.
1999 .I "%u"
2001 .I "%U"
2003 Similar to the %t and %T macros, but in addition the files are
2004 untagged. You can use this macro only once per menu file entry or
2005 extension file entry, because next time there will be no tagged
2006 files.
2008 .I "%s"
2010 .I "%S"
2012 The selected files: The tagged files if there are any. Otherwise the
2013 current file.
2015 .I "%cd"
2017 This is a special macro that is used to change the current directory
2018 to the directory specified in front of it.  This is used primarily as
2019 an interface to the
2020 .\"LINK2"
2021 Virtual File System.
2022 .\"Virtual File System"
2024 .I "%view"
2026 This macro is used to invoke the internal viewer.  This macro can be
2027 used alone, or with arguments.  If you pass any arguments to this
2028 macro, they should be enclosed in brackets.
2030 The arguments are:
2031 .I ascii
2032 to force the viewer into ascii mode;
2033 .I hex
2034 to force the viewer into hex mode;
2035 .I nroff
2036 to tell the viewer that it should interpret the bold and underline
2037 sequences of nroff;
2038 .I unformatted
2039 to tell the viewer to not interpret nroff commands for making the text
2040 bold or underlined.
2042 .I "%%"
2044 The % character
2046 .I "%{some text}"
2048 Prompt for the substitution. An input box is shown and the text inside
2049 the braces is used as a prompt. The macro is substituted by the text
2050 typed by the user. The user can press ESC or F10 to cancel. This macro
2051 doesn't work on the command line yet.
2053 .I "%var{ENV:default}"
2055 If environment variable
2056 .I ENV
2057 is unset, the
2058 .I default
2059 is substituted.  Otherwise, the value of
2060 .I ENV
2061 is substituted.
2063 .SH "  The subshell support"
2064 The subshell support is a compile time option, that works with the
2065 shells: bash, tcsh and zsh.
2067 When the subshell code is activated the Midnight Commander will
2068 spawn a concurrent copy of your shell (the one defined in the
2069 .B SHELL
2070 variable and if it is not defined, then the one in the /etc/passwd
2071 file) and run it in a pseudo terminal, instead of invoking a new shell
2072 each time you execute a command, the command will be passed to the
2073 subshell as if you had typed it.  This also allows you to change the
2074 environment variables, use shell functions and define aliases that are
2075 valid until you quit the Midnight Commander.
2077 If you are using
2078 .B bash
2079 you can specify startup
2080 commands for the subshell in your ~/.mc/bashrc file and
2081 special keyboard maps in the ~/.mc/inputrc file.
2082 .B tcsh
2083 users may specify startup commands in the ~/.mc/tcshrc file.
2085 When the subshell code is used, you can suspend applications at any
2086 time with the sequence C-o and jump back to the Midnight Commander, if
2087 you interrupt an application, you will not be able to run other
2088 external commands until you quit the application you interrupted.
2090 An extra added feature of using the subshell is that the prompt
2091 displayed by the Midnight Commander is the same prompt that you are
2092 currently using in your shell.
2095 .\"LINK2"
2096 OPTIONS
2097 .\"OPTIONS"
2098 section has more information on how you can control the subshell code.
2100 .SH "Chmod"
2101 The Chmod window is used to change the attribute bits in a group of
2102 files and directories.  It can be invoked with the C-x c key combination.
2104 The Chmod window has two parts -
2105 .I Permissions
2107 .I File
2109 In the File section are displayed the name of the file or directory
2110 and its permissions in octal form, as well as its owner and group.
2112 In the Permissions section there is a set of check buttons which
2113 correspond to the file attribute bits.  As you change the attribute
2114 bits, you can see the octal value change in the File section.
2116 To move between the widgets (buttons and check buttons) use the
2117 .I arrow keys
2118 or the
2119 .I Tab
2120 key.  To change the state of the check buttons or to select a button
2122 .I Space.
2123 You can also use the hotkeys on the buttons to quickly activate them.
2124 Hotkeys are shown as highlighted letters on the buttons.
2126 To set the attribute bits, use the Enter key.
2128 When working with a group of files or directories, you just click on
2129 the bits you want to set or clear.  Once you have selected the bits
2130 you want to change, you select one of the action buttons (Set marked
2131 or Clear marked).
2133 Finally, to set the attributes exactly to those specified, you can use
2135 .B [Set all]
2136 button, which will act on all the tagged files.
2138 .B [Marked all]
2139 set only marked attributes to all selected files
2141 .B [Set marked]
2142 set marked bits in attributes of all selected files
2144 .B [Clean marked]
2145 clear marked bits in attributes of all selected files
2147 .B [Set]
2148 set the attributes of one file
2150 .B [Cancel]
2151 cancel the Chmod command
2153 .SH "Chown"
2154 The Chown command is used to change the owner/group of a file. The hot
2155 key for this command is C-x o.
2157 .SH "Advanced Chown"
2158 The Advanced Chown command is the
2159 .\"LINK2"
2160 Chmod
2161 .\"Chmod"
2163 .\"LINK2"
2164 Chown
2165 .\"Chown"
2166 command combined into one window. You can change the permissions and
2167 owner/group of files at once.
2169 .SH "File Operations"
2170 When you copy, move or delete files the Midnight Commander shows the
2171 file operations dialog. It shows the files currently being operated on
2172 and there are at most three progress bars. The file bar tells how big
2173 part of the current file has been copied so far. The count bar tells
2174 how many of tagged files have been handled so far. The bytes bar tells
2175 how big part of total size of the tagged files has been handled so
2176 far. If the verbose option is off the file and bytes bars are not
2177 shown.
2179 There are two buttons at the bottom of the dialog. Pressing the Skip
2180 button will skip the rest of the current file. Pressing the Abort
2181 button will abort the whole operation, the rest of the files are
2182 skipped.
2184 There are three other dialogs which you can run into during the file
2185 operations.
2187 The error dialog informs about error conditions and has three
2188 choices. Normally you select either the Skip button to skip the file
2189 or the Abort button to abort the operation altogether. You can also
2190 select the Retry button if you fixed the problem from another
2191 terminal.
2193 The replace dialog is shown when you attempt to copy or move a file on
2194 the top of an existing file. The dialog shows the dates and sizes of
2195 the both files. Press the Yes button to overwrite the file, the No
2196 button to skip the file, the alL button to overwrite all the files,
2197 the nonE button to never overwrite and the Update button to overwrite
2198 if the source file is newer than the target file. You can abort the
2199 whole operation by pressing the Abort button.
2201 The recursive delete dialog is shown when you try to delete a
2202 directory which is not empty. Press the Yes button to delete the
2203 directory recursively, the No button to skip the directory, the alL
2204 button to delete all the directories and the nonE button to skip all
2205 the non-empty directories. You can abort the whole operation by
2206 pressing the Abort button. If you selected the Yes or alL button you
2207 will be asked for a confirmation. Type "yes" only if you are really
2208 sure you want to do the recursive delete.
2210 If you have tagged files and perform an operation on them only the
2211 files on which the operation succeeded are untagged. Failed and
2212 skipped files are left tagged.
2214 .SH "Mask Copy/Rename"
2215 The copy/move operations lets you translate the names of files in an easy
2216 way. To do it, you have to specify the correct source mask and usually in
2217 the trailing part of the destination specify some wildcards.
2218 All the files matching the source mask are copied/renamed according to
2219 the target mask. If there are tagged files, only the tagged files
2220 matching the source mask are renamed.
2222 There are other options which you can set:
2224 Follow links tells whether make the symlinks and hardlinks in the source
2225 directory (recursively in subdirectories) new links in the target
2226 directory or whether would you like to copy their content.
2228 Dive into subdirs tells what to do if in the target
2229 directory exists a directory with the same name as the
2230 file/directory being copied. The default action is to copy
2231 it's content into that directory, by enabling this
2232 you can copy the source directory into that directory.
2233 Perhaps an example will help:
2235 You want to copy content of a directory foo to /bla/foo,
2236 which is an already existing directory. Normally (when
2237 Dive is not set), mc would copy it exactly into /bla/foo.
2238 By enabling this option you will copy the content into /bla/foo/foo,
2239 because the directory already exists.
2241 Preserve attributes tells whether to preserve the original files'
2242 permissions, timestamps and if you are root whether to preserve
2243 the original files' UID and GID. If this option is not set the current
2244 value of the umask will be respected.
2246 .B "Use shell patterns on"
2248 When the shell patterns option is on you can use the '*' and '?'
2249 wildcards in the source mask. They work like they do in the shell. In
2250 the target mask only the '*' and '\\<digit>' wildcards are allowed. The
2251 first '*' wildcard in the target mask corresponds to the first
2252 wildcard group in the source mask, the second '*' corresponds to the
2253 second group and so on. The '\\1' wildcard corresponds to the first
2254 wildcard group in the source mask, the '\\2' wildcard corresponds to
2255 the second group and so on all the way up to '\\9'. The '\\0' wildcard
2256 is the whole filename of the source file.
2258 Two examples:
2260 If the source mask is "*.tar.gz", the destination is "/bla/*.tgz" and the
2261 file to be copied is "foo.tar.gz", the copy will be "foo.tgz" in "/bla".
2263 Let's suppose you want to swap basename and extension so that "file.c"
2264 will become "c.file" and so on. The source mask for this is "*.*" and
2265 the destination is "\\2.\\1".
2267 .B "Use shell patterns off"
2269 When the shell patterns option is off the MC doesn't do automatic
2270 grouping anymore. You must use '\\(...\\)' expressions in the source
2271 mask to specify meaning for the wildcards in the target mask. This is
2272 more flexible but also requires more typing. Otherwise target masks
2273 are similar to the situation when the shell patterns option is on.
2275 Two examples:
2277 If the source mask is "^\\(.*\\)\\.tar\\.gz$", the destination is
2278 "/bla/*.tgz" and the file to be copied is "foo.tar.gz", the copy
2279 will be "/bla/foo.tgz".
2281 Let's suppose you want to swap basename and extension so that "file.c"
2282 will become "c.file" and so on. The source mask for this is
2283 "^\\(.*\\)\\.\\(.*\\)$" and the destination is "\\2.\\1".
2285 .B "Case Conversions"
2287 You can also change the case of the filenames.  If you use '\\u'
2288 or '\\l' in the target mask, the next character will be converted to
2289 uppercase or lowercase correspondingly.
2291 If you use '\\U' or '\\L' in the target mask, the next characters will
2292 be converted to uppercase or lowercase correspondingly up to the
2293 next '\\E' or next '\\U', '\\L' or the end of the file name.
2295 The '\\u' and '\\l' are stronger than '\\U' and '\\L'.
2297 For example, if the source mask is '*' (shell patterns on) or '^\\(.*\\)$'
2298 (shell patterns off) and the target mask is '\\L\\u*' the file names
2299 will be converted to have initial upper case and otherwise lower case.
2301 You can also use '\\' as a quote character. For example, '\\\\' is
2302 a backslash and '\\*' is an asterisk.
2304 .SH "Internal File Viewer"
2305 The internal file viewer provides two display modes: ASCII and hex.
2306 To toggle between modes, use the F4 key.  If you have the GNU gzip
2307 program installed, it will be used to automatically decompress the
2308 files on demand.
2310 The viewer will try to use the best method provided by your system or
2311 the file type to display the information.  The internal file viewer
2312 will interpret some string sequences to set the bold and underline
2313 attributes, thus making a pretty display of your files.
2315 When in hex mode, the search function accepts text in quotes and
2316 constant numbers.  Text in quotes is matched exactly after removing
2317 the quotes.  Each number matches one byte.  You can mix quoted text
2318 with constants like this:
2321 "String" -1 0xBB 012 "more text"
2324 Note that 012 is an octal number.  -1 is converted to 0xFF.
2326 Some internal details about the viewer: On systems that provide the
2327 mmap(2) system call, the program maps the file instead of loading it;
2328 if the system does not provide the mmap(2) system call or the file
2329 matches an action that requires a filter, then the viewer will use
2330 it's growing buffers, thus loading only those parts of the file that
2331 you actually access (this includes compressed files).
2333 Here is a listing of the actions associated with each key that the
2334 Midnight Commander handles in the internal file viewer.
2336 .B F1
2337 Invoke the builtin hypertext help viewer.
2339 .B F2
2340 Toggle the wrap mode.
2342 .B F4
2343 Toggle the hex mode.
2345 .B F5
2346 Goto line.  This will prompt you for a line number and will display
2347 that line.
2349 .B F6, /.
2350 Regular expression search.
2352 .B ?,
2353 Reverse regular expression search.
2355 .B F7
2356 Normal search / hex mode search.
2358 .B C-s, F17, n.
2359 Start normal search if there was no previous search expression else
2360 find next match.
2362 .B C-r.
2363 Start reverse search if there was no previous search expression else
2364 find next match.
2366 .B F8
2367 Toggle Raw/Parsed mode: This will show the file as found on disk or if
2368 a processing filter has been specified in the mc.ext file, then the
2369 output from the filter. Current mode is always the other than written
2370 on the button label, since on the button is the mode which you enter
2371 by that key.
2373 .B F9
2374 Toggle the format/unformat mode: when format mode is on the viewer
2375 will interpret some string sequences to show bold and underline with
2376 different colors. Also, on button label is the other mode than current.
2378 .B F10, Esc.
2379 Exit the internal file viewer.
2381 .B next-page, space, C-v.
2382 Scroll one page forward.
2384 .B prev-page, M-v, C-b, backspace.
2385 Scroll one page backward.
2387 .B down-key
2388 Scroll one line forward.
2390 .B up-key
2391 Scroll one line backward.
2393 .B C-l
2394 Refresh the screen.
2396 .B C-o
2397 Switch to the subshell and show the command screen.
2399 .B !
2400 Like C-o, but run a new shell if the subshell is not running.
2402 .B "[n] m"
2403 Set the mark n.
2405 .B "[n] r"
2406 Jump to the mark n.
2408 .B C-f
2409 Jump to the next file.
2411 .B C-b
2412 Jump to the previous file.
2414 .B M-r
2415 Toggle the ruler.
2417 It's possible to instruct the file viewer how to display a file, look
2418 at the
2419 .\"LINK2"
2420 Extension File Edit section
2421 .\"Extension File Edit"
2422 .SH "Internal File Editor"
2423 The internal file editor provides most of the features of
2424 common full screen editors. It is invoked using
2425 .B F4
2426 provided
2428 .I use_internal_edit
2429 option is set in the initialization file. It has an extendable file size
2430 limit of sixteen megabytes and edits binary files flawlessly.
2432 The features it presently supports are: Block
2433 copy, move, delete, cut, paste;
2434 .I "key for key undo";
2435 pull-down
2436 menus; file insertion; macro definition; regular expression
2437 search and replace (and our own scanf-printf search and
2438 replace); shift-arrow MSW-MAC text highlighting (for the
2439 linux console only); insert-overwrite toggle; and an option
2440 to pipe text blocks through shell commands like indent.
2442 The editor is very easy to use and requires no tutoring.
2443 To see what keys do what, just consult the appropriate
2444 pull-down menu. Other keys are: Shift movement
2445 keys do text highlighting.
2446 .B Ctrl-Ins
2447 copies to the file
2448 .B cooledit.clip and
2449 .B Shift-Ins
2450 pastes from cooledit.clip.
2451 .B Shift-Del
2452 cuts to
2453 .B cooledit.clip,
2455 .B Ctrl-Del
2456 deletes highlighted text. Mouse highlighting also works, and you
2457 can override the mouse as usual by holding down the shift key
2458 while dragging the mouse to let normal terminal mouse highlighting
2459 work.
2461 To define a macro, press
2462 .B Ctrl-R
2463 and then type out the key
2464 strokes you want to be executed. Press
2465 .B Ctrl-R
2466 again when finished. You can then assign the macro to any key you
2467 like by pressing that key. The macro is executed when you press
2468 .B Ctrl-A 
2469 and then the assigned key. The macro is also executed if
2470 you press Meta, Ctrl, or Esc and the assigned key, provided that the
2471 key is not used for any other function. Once defined, the macro
2472 commands go into the file
2473 .B .mc/cedit/cooledit.macros
2474 in your home directory. You can delete a macro by deleting the
2475 appropriate line in this file.
2477 .B F19
2478 will format the currently highlighted block (plain text or
2479 .B C
2481 .B C++
2482 code or another). This is controlled by the
2483 file
2484 .B @prefix@/share/mc/edit.indent.rc
2485 which is copied to
2486 .B .mc/cedit/edit.indent.rc
2487 in your home directory the first time you use it.
2489 You can use scanf search and replace to search and replace
2490 a C format string. First take a look at the
2491 .B sscanf
2493 .B sprintf
2494 man pages to see what a format string
2495 is and how it works. An example is as follows: Suppose you want
2496 to replace all occurrences of say, an open bracket, three
2497 comma separated numbers, and a close bracket, with the
2498 word
2499 .I apples,
2500 the third number, the word
2501 .I oranges
2502 and then the second number, I would fill in the Replace dialog
2503 box as follows:
2506  Enter search string
2507 (%d,%d,%d)
2508  Enter replace string
2509 apples %d oranges %d
2510  Enter replacement argument order
2514 The last line specifies that the third and then the second
2515 number are to be used in place of the first and second.
2517 It is advisable to use this feature with Prompt on replace on, because
2518 a match is thought to be found whenever the number of arguments found
2519 matches the number given, which is not always a real match. Scanf also
2520 treats whitespace as being elastic.  Note that the scanf format % is
2521 very useful for scanning strings, and whitespace.
2523 The editor also displays non-us characters (160+). When editing
2524 binary files, you should set
2525 .B display bits
2526 to 7 bits in the options menu to keep the spacing clean.
2528 .SH "Completion"
2529 Let the Midnight Commander type for you.
2531 Attempt to perform completion on the text before current position. MC
2532 attempts completion treating the text as variable (if the text begins with
2533 .B $
2534 ), username (if the text begins with
2535 .B ~
2536 ), hostname (if the text
2537 begins with
2538 .B @
2539 ) or command (if you are on the command line in the
2540 position where you might type a command, possible completions then include
2541 shell reserved words and shell builtin commands as well) in turn. If none
2542 of these produces a match, filename completion is attempted.
2544 Filename, username, variable and hostname completion works on all input
2545 lines, command completion is command line specific.
2546 If the completion is ambiguous (there are more different possibilities),
2547 MC beeps and the following action depends on the setting of the
2548 .I Complete: show all
2549 option in the
2550 .\"LINK2"
2551 Configuration
2552 .\"Configuration"
2553 dialog. If it is enabled, a list of all
2554 possibilities pops up next to the current position and you can select with
2555 the arrow keys and
2556 .B Enter
2557 the correct entry. You can also type the first letters in which the
2558 possibilities differ to move to a subset of all possibilities and complete
2559 as much as possible. If you press
2560 .B M-Tab
2561 again, only the subset will be shown in the listbox, otherwise the first
2562 item which matches all the previous characters will be highlighted. As soon
2563 as there is no ambiguity, dialog disappears, but you can hide it by
2564 canceling keys
2565 .B Esc,
2566 .B F10
2567 and left and right arrow keys. If
2568 .\"LINK2"
2569 Complete: show all
2570 .\"Configuration"
2571 is disabled, the dialog pops up only if you press
2572 .B M-Tab
2573 for the second time, for the first time MC just beeps.
2575 .SH "Virtual File System"
2576 The Midnight Commander is provided with a code layer to access the
2577 file system; this code layer is known as the virtual file system
2578 switch.  The virtual file system switch allows the Midnight Commander
2579 to manipulate files not located on the Unix file system.
2581 Currently the Midnight Commander is packaged with some Virtual File
2582 Systems (VFS): the local file system, used for accessing the regular
2583 Unix file system; the ftpfs, used to manipulate files on remote
2584 systems with the FTP protocol; the tarfs, used to manipulate tar and
2585 compressed tar files; the undelfs, used to recover deleted files on
2586 ext2 file systems (the default file system for Linux systems), fish
2587 (for manipulating files over shell connections such as rsh and ssh) and
2588 finally the mcfs (Midnight Commander file system), a network based
2589 file system.  If the code was compiled with smbfs support, you can
2590 manipulate files on remote systems with the SMB (CIFS) protocol.
2592 The VFS switch code will interpret all of the path names used and will
2593 forward them to the correct file system, the formats used for each one
2594 of the file systems is described later in their own section.
2596 .SH "  FTP File System"
2597 The ftpfs allows you to manipulate files on remote machines, to
2598 actually use it, you may try to use the panel command FTP link
2599 (accessible from the menubar) or you may directly change your current
2600 directory to it using the cd command to a path name that looks like this:
2602 .I /#ftp:[!][user[:pass]@]machine[:port][remote-dir]
2605 .I user, port
2607 .I remote-dir
2608 elements are optional.  If you specify the
2609 .I user
2610 element, then the Midnight Commander will try to logon on the remote
2611 machine as that user, otherwise it will use your login name.  The
2612 optional
2613 .I pass
2614 element, if present is the password used for the connection.  This is not
2615 recommended (nor keeping the password in your hotlist, unless you set the
2616 appropriate permissions there, and even then it may not be entirely safe).
2618 Examples:
2621     /#ftp:ftp.nuclecu.unam.mx/linux/local
2622     /#ftp:tsx-11.mit.edu/pub/linux/packages
2623     /#ftp:!behind.firewall.edu/pub
2624     /#ftp:guest@remote-host.com:40/pub
2625     /#ftp:miguel:xxx@server/pub
2628 To connect to sites behind a firewall, you will need to use the prefix
2629 /#ftp:! (i.e. add a bang character before the hostname) to make the
2630 Midnight Commander use a proxy host for doing the ftp transfer. You can
2631 define the proxy host in the
2632 .\"LINK2"
2633 Virtual File System
2634 .\"Virtual FS"
2635 dialog box.
2637 Another option to set is the
2638 .I Always use ftp proxy
2639 option in the
2640 .\"LINK2"
2641 Virtual File System
2642 .\"Virtual FS"
2643 dialog box.  This will configure the program
2644 to always use the proxy host.  If this variable is set, the program
2645 will do two things: consult the @prefix@/share/mc/mc.no_proxy file for
2646 lines containing host names that are local (if the host name starts
2647 with a dot, it is assumed to be a domain) and to assume that any
2648 hostnames without dots in their names are directly accessible.
2650 If you are using the ftpfs code with a filtering packet router that
2651 does not allow you to use the regular mode of opening files, you may
2652 want to force the program to use the passive-open mode.  To use this,
2653 set the ftpfs_use_passive_connections option in the initialization file.
2655 The Midnight Commander keeps the directory listing in a cache.  The cache
2656 expire time is configurable in the
2657 .\"LINK2"
2658 Virtual File System
2659 .\"Virtual FS"
2660 dialog box.  This has the funny behavior that even if you make changes to a
2661 directory, they will not be reflected in the directory listing until you
2662 force a cache reload with the C-r key.  This is a feature (when you think
2663 it's a bug, think about manipulating files on the other side of the Atlantic
2664 with ftpfs).
2666 .SH "  Tar File System"
2667 The tar file system provides you with read-only access to your tar
2668 files and compressed tar files by using the chdir command.  To change
2669 your directory to a tar file, you change your current directory to the
2670 tar file by using the following syntax:
2672 .I /filename.tar#utar/[dir-inside-tar]
2674 The mc.ext file already provides a shortcut for tar files, this means
2675 that usually you just point to a tar file and press return to enter
2676 into the tar file, see the
2677 .\"LINK2"
2678 Extension File Edit
2679 .\"Extension File Edit"
2680 section for details on how this is done.
2682 Examples:
2685     mc-3.0.tar.gz#utar/mc-3.0/vfs
2686     /ftp/GCC/gcc-2.7.0.tar#utar
2689 The latter specifies the full path of the tar archive.
2690 .SH "  FIle transfer over SHell filesystem"
2692 The fish file system is a network based file system that allows you to
2693 manipulate the files in a remote machine as if they were local. To use
2694 this, the other side has to either run fish server, or has to have
2695 bash-compatible shell.
2697 To connect to a remote machine, you just need to chdir
2698 into a special directory which name is in the following
2699 format:
2702 /#sh:[user@]machine[:options]/[remote-dir]
2705 .I user,
2706 .I options
2708 .I remote-dir
2709 elements are optional. If
2710 you specify the
2711 .I user
2712 element then the Midnight Commander
2713 will try to logon on the remote machine as that user,
2714 otherwise it will use your login name.
2717 .I options
2718 are 'C' - use compression and 'rsh' use rsh instead
2719 of ssh. If the
2720 .I remote-dir
2721 element is present, your current directory on the remote machine will
2722 be set to this one.
2724 Examples:
2727     /#sh:onlyrsh.mx:r/linux/local
2728     /#sh:joe@want.compression.edu:C/private
2729     /#sh:joe@noncompressed.ssh.edu/private
2732 .SH "  Network File System"
2733 The Midnight Commander file system is a network base file system that
2734 allows you to manipulate the files in a remote machine as if they
2735 were local.  To use this, the remote machine must be running the
2736 mcserv(8) server program.
2738 To connect to a remote machine, you just need to chdir into a special
2739 directory which name is in the following format:
2741 .I /#mc:[user@]machine[:port][remote-dir]
2744 .I user, port
2746 .I remote-dir
2747 elements are optional.  If you specify the
2748 .I user
2749 element then the Midnight Commander will try to logon on the remote
2750 machine as that user, otherwise it will use your login name.
2753 .I port
2754 element is used when the remote machine running on a special port
2755 (see the mcserv(8) manual page for more information about ports);
2756 finally, if the
2757 .I remote-dir
2758 element is present, your current directory on the remote machine will
2759 be set to this one.
2761 Examples:
2764     /#mc:ftp.nuclecu.unam.mx/linux/local
2765     /#mc:joe@foo.edu:11321/private
2768 .SH "  Undelete File System"
2769 On Linux systems, if you asked configure to use the ext2fs undelete
2770 facilities, you will have the undelete file system available.
2771 Recovery of deleted files is only available on ext2 file systems.  The
2772 undelete file system is just an interface to the ext2fs library to:
2773 retrieve all of the deleted files names on an ext2fs and provides and
2774 to extract the selected files into a regular partition.
2776 To use this file system, you have to chdir into the special file name
2777 formed by the "/#undel" prefix and the file name where the actual
2778 file system resides.
2780 For example, to recover deleted files on the second partition of the
2781 first SCSI disk on Linux, you would use the following path name:
2784     /#undel:sda2
2787 It may take a while for the undelfs to load the required information
2788 before you start browsing files there.
2790 .SH "  SMB File System"
2791 The smbfs allows you to manipulate files on remote machines with SMB
2792 (or CIFS) protocol.  These include Windows for Workgroups,
2793 Windows 9x, Windows NT, Windows 2000 and Samba.
2794 To actually use it, you may try
2795 to use the panel command "SMB link..."
2796 (accessible from the menubar) or you may directly change your current
2797 directory to it using the cd command to a path name that looks like this:
2799 .I /#smb:machine[/service][/remote-dir]
2802 .I service
2804 .I remote-dir
2805 elements are optional.
2807 .I username, domain
2809 .I password
2810 can be specified in input dialog.
2812 Examples:
2815     /#smb:machine/Share
2816     /#smb:other_machine
2819 .SH "Colors"
2820 The Midnight Commander will try to detect if your terminal supports
2821 color using the terminal database and your terminal name.  Sometimes
2822 it gets confused, so you may force color mode or disable color mode
2823 using the -c and -b flag respectively.
2825 If the program is compiled with the Slang screen manager instead of
2826 ncurses, it will also check the variable
2827 .B COLORTERM,
2828 if it is set, it has the same effect as the -c flag.
2830 You may specify terminals that always force color mode
2831 by adding the
2832 .I color_terminals
2833 variable to the Colors
2834 section of the initialization file. This will prevent the
2835 Midnight Commander from trying to detect if your terminal
2836 supports color. Example:
2838 [Colors]
2839 color_terminals=linux,xterm
2842 color_terminals=terminal-name1,terminal-name2...
2845 The program can be compiled with both ncurses and slang, ncurses does
2846 not provide a way to force color mode: ncurses uses just the
2847 information in the terminal database.
2849 The Midnight Commander provides a way to change the default colors.
2850 Currently the colors are configured using the environment variable
2851 .B MC_COLOR_TABLE
2852 or the Colors section in the initialization file.
2854 In the Colors section, the default color map is loaded from the
2855 .I base_color
2856 variable.  You can specify an alternate color map for a terminal by
2857 using the terminal name as the key in this section.  Example:
2860 [Colors]
2861 base_color=
2862 xterm=menu=magenta:marked=,magenta:markselect=,red
2865 The format for the color definition is:
2868   <keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
2871 The colors are optional, and the keywords are: normal, selected, marked,
2872 markselect, errors, input, reverse, gauge.  Menu colors are: menu,
2873 menusel, menuhot, menuhotsel.  Dialog colors are: dnormal, dfocus,
2874 dhotnormal, dhotfocus.  Help colors are: helpnormal, helpitalic,
2875 helpbold, helplink, helpslink.  Viewer color is: viewunderline.  Special
2876 highlighting colors are: executable, directory, link, device, special,
2877 core.  Editor colors are: editnormal, editbold, editmarked.
2879 .I input
2880 determines the color of input lines used in query dialogs.
2882 .I gauge
2883 determines the color of the filled part of the progress bar
2884 (gauge), which shows how many percent of files were copied
2885 etc. in a graphical way.
2887 The dialog boxes use the following colors:
2888 .I dnormal
2889 is used for the normal text,
2890 .I dfocus
2891 is the color used for the currently selected component,
2892 .I dhotnormal
2893 is the color used to differentiate the hotkey color in normal
2894 components, whereas the
2895 .I dhotfocus
2896 color is used for the highlighted color in the currently selected
2897 component.
2899 Menus use the same scheme but uses the menu, menusel, menuhot and
2900 menuhotsel tags instead.
2902 Help uses the following colors:
2903 .I helpnormal
2904 is used for normal text,
2905 .I helpitalic
2906 is used for text which is emphasized in italic in the manual page,
2907 .I helpbold
2908 is used for text which is emphasized in bold in the manual page,
2909 .I helplink
2910 is used for not selected hyperlinks and
2911 .I helpslink
2912 is used for selected hyperlink.
2914 Special highlight colors determine how files are displayed
2915 when file highlighting is enabled (see the section on
2916 .\"LINK2"
2917 Layout).
2918 .\"Layout"
2919 .I directory
2920 is used for directories or symbolic links to directories;
2921 .I executable
2922 for executable files;
2923 .I link
2924 is used for symbolic links which are neither stalled nor linked
2925 to a directory;
2926 .I stalledlink
2927 is used for stalled symbolic links;
2928 .I device
2929 - character and block devices;
2930 .I special
2931 is used for special files, such as pipes and sockets;
2932 .I core
2933 is for core files.
2935 The possible colors are: black, gray, red, brightred, green,
2936 brightgreen, brown, yellow, blue, brightblue, magenta, brightmagenta,
2937 cyan, brightcyan, lightgray and white. And there is a special keyword
2938 for transparent background. It is 'default'. The 'default' can only be
2939 used for background color. Example:
2941 [Colors]
2942 base_color=normal=white,default:marked=magenta,default
2945 .SH "Special Settings"
2946 Most of the settings of the Midnight Commander can be changed from the
2947 menus. However, there are a small number of settings which can only be
2948 changed by editing the setup file.
2950 These variables may be set in your ~/.mc/ini file:
2952 .I clear_before_exec.
2954 By default the Midnight Commander clears the screen before executing a
2955 command. If you would prefer to see the output of the command at the
2956 bottom of the screen, edit your ~/.mc/ini file and change the value of
2957 the field clear_before_exec to 0.
2959 .I confirm_view_dir.
2961 If you press F3 on a directory, normally MC enters that directory. If
2962 this flag is set to 1, then MC will ask for confirmation before
2963 changing the directory if you have files tagged.
2965 .I ftpfs_retry_seconds.
2967 This value is the number of seconds the Midnight Commander will wait
2968 before attempting to reconnect to an ftp server that has denied the login.
2969 If the value is zero, the login will no be retried.
2971 .I ftpfs_use_passive_connections.
2973 This option is off by default.  This makes the ftpfs code use the
2974 passive open mode for transferring files.  This is used by people that
2975 are behind a filtering packet router.  This option just works if you
2976 are not using an ftp proxy.
2978 .I max_dirt_limit.
2980 Specifies how many screen updates can be skipped at most in the internal
2981 file viewer.  Normally this value is not significant, because the code
2982 automatically adjusts the number of updates to skip according to the rate
2983 of incoming keystrokes.  However, on very slow machines or terminals
2984 with a fast keyboard auto repeat, a big value can make screen updates
2985 too jumpy.
2987 It seems that setting max_dirt_limit to 10 causes the best behavior,
2988 and that is the default value.
2990 .I mouse_move_pages.
2992 Controls whenever scrolling with the mouse is done by pages or line by
2993 line on the panels.
2995 .I mouse_move_pages_viewer.
2997 Controls if scrolling with the mouse is done by pages or line by line
2998 on the internal file viewer.
3000 .I old_esc_mode
3002 By default the Midnight Commander treats the ESC key as a key prefix
3003 (old_esc_mode=0), if you set this option (old_esc_mode=1), then the
3004 ESC key will act as a prefix key for one second, and if no extra keys
3005 have arrived, then the ESC key is interpreted as a cancel key (ESC
3006 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.
3016 .I panel_scroll_pages
3018 If set (the default), panel will scroll by half the display when the
3019 cursor reaches the end or the beginning of the panel, otherwise it
3020 will just scroll a file at a time.
3022 .I preserve_uidgid
3024 If this option is set (the default), when logged in as root the
3025 default will be to preserve the UID and the GID of files.  Some users
3026 prefer to disable this option, so that's why it's configurable.
3028 .I show_output_starts_shell
3030 This variable only works if you are not using the subshell support.
3031 When you use the C-o keystroke to go back to the user screen, if this
3032 one is set, you will get a fresh shell.  Otherwise, pressing any key
3033 will bring you back to the Midnight Commander.
3035 .I torben_fj_mode
3037 If this flag is set, then the home and end keys will work slightly
3038 different on the panels, instead of moving the selection to the first
3039 and last files in the panels, they will act as follows:
3041 The home key will: Go up to the middle line, if below it; else go to
3042 the top line unless it is already on the top line, in this case it
3043 will go to the first file in the panel.
3045 The end key has a similar behavior: Go down to the middle line, if
3046 over it; else go to the bottom line unless you already are at the
3047 bottom line, in such case it will move the selection to the last file
3048 name in the panel.
3050 .I use_file_to_guess_type
3052 If this variable is on (the default) it will spawn the file command to
3053 match the file types listed on the
3054 .\"LINK2"
3055 mc.ext file.
3056 .\"Extension File Edit"
3058 .I xterm_mode
3060 If this variable is on (default is off) when you browse the file
3061 system on a Tree panel, it will automatically reload the other panel
3062 with the contents of the selected directory.
3064 .SH "Terminal databases"
3065 The Midnight Commander provides a way to fix your system terminal
3066 database without requiring root privileges.  The Midnight Commander
3067 searches in the system initialization file (the mc.lib file located in
3068 the Midnight Commander library directory) and in the ~/.mc/ini file
3069 for the section "terminal:your-terminal-name" and then for the section
3070 "terminal:general", each line of the section contains a key symbol
3071 that you want to define, followed by an equal sign and the definition
3072 for the key.  You can use the special \\e form to represent the escape
3073 character and the ^x to represent the control-x character.
3075 The possible key symbols are:
3078 f0 to f20     Function keys f0-f20
3079 bs            backspace
3080 home          home key
3081 end           end key
3082 up            up arrow key
3083 down          down arrow key
3084 left          left arrow key
3085 right         right arrow key
3086 pgdn          page down key
3087 pgup          page up key
3088 insert        the insert character
3089 delete        the delete character
3090 complete      to do completion
3093 For example, to define the key insert to be the Escape + [ + O + p, you
3094 set this in the ini file:
3097 insert=\\e[Op
3101 .I complete
3102 key symbol represents the escape sequences used to invoke the
3103 completion process, this is invoked with M-tab, but you can define
3104 other keys to do the same work (on those keyboard with tons of nice
3105 and unused keys everywhere).
3107 .SH ""
3108 .SH "FILES"
3110 The program will retrieve all of its information relative to the
3111 MC_DATADIR environment variable, if this variable is not set, then it will
3112 fall back to the @prefix@/share/mc directory.
3114 @prefix@/share/mc/mc.hlp
3116 The help file for the program.
3118 @prefix@/share/mc/mc.ext
3120 The default system-wide extensions file.
3122 ~/.mc/bindings
3124 User's own extension, view configuration and edit configuration
3125 file.  They override the contents of the system wide files if present.
3127 @prefix@/share/mc/mc.ini
3129 The default system-wide setup for the Midnight Commander, used only if
3130 the user doesn't have his own ~/.mc/ini file.
3132 @prefix@/share/mc/mc.lib
3134 Global settings for the Midnight Commander.  Settings in this file
3135 affect all users, whether they have ~/.mc/ini or not.  Currently, only
3136 .\"LINK2"
3137 terminal settings
3138 .\"Terminal databases"
3139 are loaded from mc.lib.
3141 ~/.mc/ini
3143 User's own setup. If this file is present then the setup is loaded
3144 from here instead of the system-wide startup file.
3146 @prefix@/share/mc/mc.hint
3148 This file contains the hints (cookies) displayed by the program.
3150 @prefix@/share/mc/mc.menu
3152 This file contains the default system-wide applications menu.
3154 ~/.mc/menu
3156 User's own application menu. If this file is present it is used
3157 instead of the system-wide applications menu.
3159 ~/.mc/Tree
3161 The directory list for the directory tree and tree view features.
3163 \&./.mc.menu
3165 Local user-defined menu. If this file
3166 is present it is used instead of the home or system-wide
3167 applications menu.
3169 .\"SKIP_SECTION"
3170 .SH "LICENSE"
3171 This program is distributed under the terms of the GNU General Public
3172 License as published by the Free Software Foundation. See the built-in
3173 help for details on the License and the lack of warranty.
3174 .SH "AVAILABILITY"
3175 The latest version of this program can be found at
3176 ftp://ftp.gnome.org/mirror/gnome.org/stable/sources/mc/ and on the
3177 mirrors listed on the GNOME site http://www.gnome.org/.
3178 .SH "SEE ALSO"
3179 ed(1), gpm(1), mcserv(8), terminfo(1), view(1), sh(1), bash(1),
3180 tcsh(1), zsh(1).
3183 The Midnight Commander page on the World Wide Web:
3184         http://www.gnome.org/mc/
3187 .SH "AUTHORS"
3188 Miguel de Icaza (miguel@ximian.com), Janne Kukonlehto
3189 (jtklehto@paju.oulu.fi), Radek Doulik (rodo@ucw.cz), Fred
3190 Leeflang (fredl@nebula.ow.org), Dugan Porter (dugan@b011.eunet.es),
3191 Jakub Jelinek (jj@sunsite.mff.cuni.cz), Ching Hui
3192 (mr854307@cs.nthu.edu.tw), Andrej Borsenkow (borsenkow.msk@sni.de),
3193 Norbert Warmuth (nwarmuth@privat.circular.de),
3194 Mauricio Plaza (mok@roxanne.nuclecu.unam.mx), Paul Sheer
3195 (psheer@icon.co.za), Pavel Machek (pavel@ucw.cz) and Pavel Roskin
3196 (proski@gnu.org) are the developers of this package.
3197 Alessandro Rubini (rubini@ipvvis.unipv.it) has been especially helpful
3198 debugging and enhancing the program's mouse support, John Davis
3199 (davis@space.mit.edu) also made his S-Lang library available to us
3200 under the GPL and answered my questions about it, and the following
3201 people have contributed code and many bug fixes (in alphabetical
3202 order):
3204 Adam Tla/lka (atlka@sunrise.pg.gda.pl),
3205 alex@bcs.zp.ua (Alex I. Tkachenko), Antonio Palama,
3206 DOS port (palama@posso.dm.unipi.it), Erwin van Eijk
3207 (wabbit@corner.iaf.nl), Gerd Knorr (kraxel@cs.tu-berlin.de),
3208 Jean-Daniel Luiset (luiset@cih.hcuge.ch), Jon Stevens
3209 (root@dolphin.csudh.edu), Juan Francisco Grigera, Win32 port
3210 (j-grigera@usa.net), Juan Jose Ciarlante (jjciarla@raiz.uncu.edu.ar),
3211 Ilya Rybkin (rybkin@rouge.phys.lsu.edu), Marcelo Roccasalva
3212 (mfroccas@raiz.uncu.edu.ar), Massimo Fontanelli (MC8737@mclink.it),
3213 Sergey Ya. Korshunoff (root@seyko.msk.su), Thomas Pundt
3214 (pundtt@math.uni-muenster.de), Timur Bakeyev
3215 (timur@goff.comtat.kazan.su), Tomasz Cholewo
3216 (tjchol01@mecca.spd.louisville.edu), Torben Fjerdingstad
3217 (torben.fjerdingstad@uni-c.dk), Vadim Sinolitis (vvs@nsrd.npi.msu.su)
3218 and Wim Osterholt (wim@djo.wtm.tudelft.nl).
3220 .SH "BUGS"
3221 See the file TODO in the distribution for information on what
3222 remains to be done.
3224 If you want to report a problem with the program, please send mail to
3225 this address: mc-devel@gnome.org.
3227 Provide a detailed description of the bug, the version of the program
3228 you are running (mc -V display this information), the operating system
3229 you are running the program on and if the program crashes, we would
3230 appreciate a stack trace.