fix include file case
[reactos.git] / rosapps / mc / src / mc.hlp
1 \ 4[Contents]
2 Topics:
3
4 \ 1 DESCRIPTION \ 2DESCRIPTION\ 3
5 \ 1 OPTIONS \ 2OPTIONS\ 3
6 \ 1 Overview \ 2Overview\ 3
7 \ 1 Mouse Support \ 2Mouse Support\ 3
8
9 \ 1 Keys \ 2Keys\ 3
10 \ 1 Miscellaneous Keys \ 2Miscellaneous Keys\ 3
11 \ 1 Directory Panels \ 2Directory Panels\ 3
12 \ 1 Shell Command Line \ 2Shell Command Line\ 3
13 \ 1 General Movement Keys \ 2General Movement Keys\ 3
14 \ 1 Input Line Keys \ 2Input Line Keys\ 3
15
16 \ 1 Menu Bar \ 2Menu Bar\ 3
17 \ 1 Left and Right Menus \ 2Left and Right Menus\ 3
18 \ 1 Listing Mode... \ 2Listing Mode...\ 3
19 \ 1 Sort Order... \ 2Sort Order...\ 3
20 \ 1 Filter... \ 2Filter...\ 3
21 \ 1 Reread \ 2Reread\ 3
22 \ 1 File Menu \ 2File Menu\ 3
23 \ 1 Quick cd \ 2Quick cd\ 3
24 \ 1 Command Menu \ 2Command Menu\ 3
25 \ 1 Directory Tree \ 2Directory Tree\ 3
26 \ 1 Find File \ 2Find File\ 3
27 \ 1 External panelize \ 2External panelize\ 3
28 \ 1 Hotlist \ 2Hotlist\ 3
29 \ 1 Extension File Edit \ 2Extension File Edit\ 3
30 \ 1 Background jobs \ 2Background jobs\ 3
31 \ 1 Menu File Edit \ 2Menu File Edit\ 3
32 \ 1 Options Menu \ 2Options Menu\ 3
33 \ 1 Configuration \ 2Configuration\ 3
34 \ 1 Display bits \ 2Display bits\ 3
35 \ 1 Confirmation \ 2Confirmation\ 3
36 \ 1 Learn keys \ 2Learn keys\ 3
37 \ 1 Virtual FS \ 2Virtual FS\ 3
38 \ 1 Layout \ 2Layout\ 3
39 \ 1 Save Setup \ 2Save Setup\ 3
40
41 \ 1 Executing operating system commands \ 2Executing operating system commands\ 3
42 \ 1 The cd internal command \ 2The cd internal command\ 3
43 \ 1 Macro Substitution \ 2Macro Substitution\ 3
44 \ 1 The subshell support \ 2The subshell support\ 3
45 \ 1 Controlling Midnight Commander \ 2Controlling Midnight Commander\ 3
46 \ 1 Chmod \ 2Chmod\ 3
47 \ 1 Chown \ 2Chown\ 3
48 \ 1 File Operations \ 2File Operations\ 3
49 \ 1 Mask Copy/Rename \ 2Mask Copy/Rename\ 3
50 \ 1 Internal File Viewer \ 2Internal File Viewer\ 3
51 \ 1 Internal File Editor \ 2Internal File Editor\ 3
52 \ 1 Completion \ 2Completion\ 3
53 \ 1 Virtual File System \ 2Virtual File System\ 3
54 \ 1 FTP File System \ 2FTP File System\ 3
55 \ 1 Tar File System \ 2Tar File System\ 3
56 \ 1 Network File System \ 2Network File System\ 3
57 \ 1 Undelete File System \ 2Undelete File System\ 3
58 \ 1 Colors \ 2Colors\ 3
59 \ 1 Special Settings \ 2Special Settings\ 3
60 \ 1 Terminal databases \ 2Terminal databases\ 3
61
62 \ 1 FILES \ 2FILES\ 3
63 \ 1 AVAILABILITY \ 2AVAILABILITY\ 3
64 \ 1 SEE ALSO \ 2SEE ALSO\ 3
65 \ 1 AUTHORS \ 2AUTHORS\ 3
66 \ 1 BUGS \ 2BUGS\ 3
67 \ 1 License \ 2License\ 3
68 \ 1 QueryBox \ 2QueryBox\ 3
69 \ 1 How to use help \ 2How to use help\ 3
70 \ 4[DESCRIPTION]
71 DESCRIPTION
72
73 The Midnight Commander is a directory browser/file manager
74 for Unix-like operating systems.\ 4[OPTIONS]
75 OPTIONS
76
77
78 \14"-a"\v Disables the usage of graphic characters for line
79 drawing.
80
81 \14"-b"\v Forces black and white display.
82
83 \14"-c"\v Force color mode, please check the section \ 1Colors\ 2Colors\ 3 for
84 more information.
85
86 \14"-C arg"\v Used to specify a different color set in the
87 command line. The format of arg is documented in the
88 \ 1Colors\ 2Colors\ 3 section.
89
90 \14"-d"\v Disables mouse support.
91
92 \14"-f"\v Displays the compiled-in search paths for Midnight
93 Commander files.
94
95 \14"-k"\v Reset softkeys to their default from the
96 termcap/terminfo database. Only useful on HP terminals
97 when the function keys don't work.
98
99 \14"-l file" \v Save the ftpfs dialog with the server in file.
100
101 \14"-P"\v At program end, the Midnight Commander will print the
102 last working directory; this, along with the shell
103 function below, will allow you to browse through your
104 directories and automatically move to the last directory
105 you were in (thanks to Torben Fjerdingstad and Sergey for
106 contributing this function and the code which implements
107 this option).
108
109 bash and zsh users:
110
111 mc ()
112 {
113 MC=/tmp/mc$$-"$RANDOM"
114 @prefix@/bin/mc -P "$@" > "$MC"
115 cd "`cat $MC`"
116 rm "$MC"
117 unset MC;
118 }
119
120 tcsh users:
121 alias mc 'setenv MC `@prefix@/bin/mc -P \!*`; cd $MC; unsetenv MC'
122
123 I know the bash function could be shorter for zsh and bash
124 but the backquotes on bash won't accept your suspension
125 the program with C-z.
126
127 \14"-s"\v Turns on the slow terminal mode, in this mode the
128 program will not draw expensive line drawing characters
129 and will toggle verbose mode off.
130
131 \14"-t"\v Used only if the code was compiled with Slang and
132 terminfo: it makes the Midnight Commander use the value of
133 the \bTERMCAP\v variable for the terminal information instead
134 of the information on the system wide terminal database
135
136 \14"-u"\v Disables the use of a concurrent shell (only makes
137 sense if the Midnight Commander has been built with
138 concurrent shell support).
139
140 \14"-U"\v Enables the use of the concurrent shell support (only
141 makes sense if the Midnight Commander was built with the
142 subshell support set as an optional feature).
143
144 \14"-v file"\v Enters the internal viewer to view the file
145 specified.
146
147 \14"-V"\v Displays the version of the program.
148
149 \14"-x"\v Forces xterm mode. Used when running on xterm-capable
150 terminals (two screen modes, and able to send mouse escape
151 sequences).
152
153 If specified, the first path name is the directory to show
154 in the selected panel; the second path name is the
155 directory to be shown in the other panel.
156
157 \ 4[Overview]
158 Overview
159
160 The screen of the Midnight Commander is divided into four
161 parts. Almost all of the screen space is taken up by two
162 directory panels. By default, the second bottommost line
163 of the screen is the shell command line, and the bottom
164 line shows the function key labels. The topmost line is
165 the \ 1menu bar line.\ 2Menu Bar\ 3 The menu bar line may not be visible,
166 but appears if you click the topmost line with the mouse
167 or press the F9 key.
168
169 The Midnight Commander provides a view of two directories
170 at the same time. One of the panels is the current panel
171 (a selection bar is in the current panel). Almost all
172 operations take place on the current panel. Some file
173 operations like Rename and Copy by default use the
174 directory of the unselected panel as a destination (don't
175 worry, they always ask you for confirmation first). For
176 more information, see the sections on the \ 1Directory
177 Panels,\ 2Directory Panels\ 3 the \ 1Left and Right Menus\ 2Left and Right Menus\ 3 and the \ 1File Menu.\ 2File Menu\ 3
178
179 You can execute system commands from the Midnight
180 Commander by simply typing them. Everything you type will
181 appear on the shell command line, and when you press Enter
182 the Midnight Commander will execute the command line you
183 typed; read the \ 1Shell Command Line\ 2Shell Command Line\ 3 and \ 1Input Line Keys\ 2Input Line Keys\ 3
184 sections to learn more about the command line.
185
186 \ 4[Mouse Support]
187 Mouse Support
188
189 The Midnight Commander comes with mouse support. It is
190 activated whenever you are running on an \bxterm(1)\v terminal
191 (it even works if you take a telnet or rlogin connection
192 to another machine from the xterm) or if you are running
193 on a Linux console and have the \bgpm\v mouse server running.
194
195 When you left click on a file in the directory panels,
196 that file is selected; if you click with the right button,
197 the file is marked (or unmarked, depending on the previous
198 state).
199
200 Double-clicking on a file will try to execute the command
201 if it is an executable program; and if the \ 1extension file\ 2Extension File
202 Edit\ 3has a program specified for the file's extension, the
203 specified program is executed.
204
205 Also, it is possible to execute the commands assigned to
206 the function key labels by clicking on them.
207
208 If a mouse button is clicked on the top frame line of the
209 directory panel, it is scrolled one pageful backward.
210 Correspondingly, a click on the bottom frame line will
211 cause a scroll of one pageful forward. This frame line
212 method works also in the \ 1Help Viewer\ 2Help\ 3 and the \ 1Directory
213 Tree.\ 2Directory Tree\ 3
214
215 The default auto repeat rate for the mouse buttons is 400
216 milliseconds. This may be changed to other values by
217 editing the \ 1~/.mc/ini\ 2Save Setup\ 3 file and changing the
218 \14mouse_repeat_rate\v parameter.
219
220 If you are running the Commander with the mouse support,
221 you can bypass the Commander and get the default mouse
222 behavior (cutting and pasting text) by holding down the
223 Shift key.\ 4[]
224
225
226 \ 4[Keys]
227 Keys
228
229 Some commands in the Midnight Commander involve the use of
230 the \14Control\v (sometimes labeled CTRL or CTL) and the \14Meta\v
231 (sometimes labeled ALT or even Compose) keys. In this
232 manual we will use the following abbreviations:
233
234 C-<chr> means hold the Control key while typing the
235 character <chr>. Thus C-f would be: hold the Control key
236 and type f.
237
238 M-<chr> means hold the Meta or Alt key down while typing
239 <chr>. If there is no Meta or Alt key, type ESC, release
240 it, then type the character <chr>.
241
242 All input lines in the Midnight Commander use an
243 approximation to the GNU Emacs editor's key bindings.
244
245 There are many sections which tell about the keys. The
246 following are the most important.
247
248 The \ 1File Menu\ 2File Menu\ 3 section documents the keyboard shortcuts
249 for the commands appearing in the File menu. This section
250 includes the function keys. Most of these commands perform
251 some action, usually on the selected file or the tagged
252 files.
253
254 The \ 1Directory Panels\ 2Directory Panels\ 3 section documents the keys which
255 select a file or tag files as a target for a later action
256 (the action is usually one from the file menu).
257
258 The \ 1Shell Command Line\ 2Shell Command Line\ 3 section list the keys which are
259 used for entering and editing command lines. Most of these
260 copy file names and such from the directory panels to the
261 command line (to avoid excessive typing) or access the
262 command line history.
263
264 \ 1Input Line Keys\ 2Input Line Keys\ 3 are used for editing input lines. This
265 means both the command line and the input lines in the
266 query dialogs.
267
268 \ 4[Miscellaneous Keys]
269 Miscellaneous Keys
270
271 Here are some keys which don't fall into any of the other
272 categories:
273
274 \bEnter.\v If there is some text in the command line (the one
275 at the bottom of the panels), then that command is
276 executed. If there is no text in the command line then if
277 the selection bar is over a directory the Midnight
278 Commander does a \bchdir(2)\v to the selected directory and
279 reloads the information on the panel; if the selection is
280 an executable file then it is executed. Finally, if the
281 extension of the selected file name matches one of the
282 extensions in the \ 1extensions file\ 2Extension File Edit\ 3 then the corresponding
283 command is executed.
284
285 \bC-l.\v Repaint all the information in the Midnight
286 Commander.
287
288 \bC-x c.\v Run the \ 1Chmod\ 2Chmod\ 3 command on a file or on the tagged
289 files.
290
291 \bC-x o.\v Run the \ 1Chown\ 2Chown\ 3 command on the current file or on the
292 tagged files.
293
294 \bC-x l.\v Run the link command.
295
296 \bC-x s.\v Run the symbolic link command.
297
298 \bC-x i.\v Set the other panel display mode to information.
299
300 \bC-x q.\v Set the other panel display mode to quick view.
301
302 \bC-x !.\v Execute the \ 1External panelize\ 2External panelize\ 3 command.
303
304 \bC-x h\v Run the \ 1add directory to hotlist\ 2Hotlist\ 3 command.
305
306 \bM-!,\v Executes the Filtered view command, described in the
307 \ 1view command.\ 2Internal File Viewer\ 3
308
309 \bM-?,\v Executes the \ 1Find file\ 2Find File\ 3 command.
310
311 \bM-c,\v Pops up the \ 1quick cd\ 2Quick cd\ 3 dialog.
312
313 \bC-o,\v When the program is being run in the Linux or SCO
314 console or under an xterm, it will show you the output of
315 the previous command. When ran on the Linux console, the
316 Midnight Commander uses an external program (cons.saver)
317 to handle saving and restoring of information on the
318 screen.
319
320 When the subshell support is compiled in, you can type C-o
321 at any time and you will be taken back to the Midnight
322 Commander main screen, to return to your application just
323 type C-o. If you have an application suspended by using
324 this trick, you won't be able to execute other programs
325 from the Midnight Commander until you terminate the
326 suspended application.
327
328 \ 4[Directory Panels]
329 Directory Panels
330
331 This section lists the keys which operate on the directory
332 panels. If you want to know how to change the appearance
333 of the panels take a look at the section on \ 1Left and Right
334 Menus.\ 2Left and Right Menus\ 3
335
336 \bTab, C-i.\v Change the current panel. The old other panel
337 becomes the new current panel and the old current panel
338 becomes the new other panel. The selection bar moves from
339 the old current panel to the new current panel.
340
341 \bInsert, C-t.\v To tag files you may use the Insert key (the
342 kich1 terminfo sequence) or the C-t (Control-t) sequence.
343 To untag files, just retag a tagged file.
344
345 \bM-g, M-h (or M-r), M-j.\v Used to select the top file in a
346 panel, the middle file and the bottom one, respectively.
347
348 \bC-s, M-s.\v Start a filename search in the directory
349 listing. When the search is active the keypresses will be
350 added to the search string instead of the command line. If
351 the \14"Show mini-status"\v option is enabled the search string
352 is shown on the mini-status line. When typing, the
353 selection bar will move to the next file starting with the
354 typed letters. The \14"backspace" or DEL \v keys can be used to
355 correct typing mistakes. If C-s is pressed again, the next
356 match is searched for.
357
358 \bM-t\v Toggle the current display listing to show the next
359 display listing mode. With this it is possible to quickly
360 switch from long listing to regular listing and the user
361 defined listing mode.
362
363 \bC-\\ (control-backslash).\v Show the \ 1directory hotlist\ 2Hotlist\ 3 and
364 change to the selected directory.
365
366 \b+ (plus).\v This is used to select (tag) a group of files.
367 The Midnight Commander will prompt for a regular
368 expression describing the group. When \14Shell Patterns \v are
369 enabled, the regular expression is much like the regular
370 expressions in the shell (* standing for zero or more
371 characters and ? standing for one character). If \14Shell
372 Patterns\v is off, then the tagging of files is done with
373 normal regular expressions (see ed (1)).
374
375 If the expression starts or ends with a slash (/), then it
376 will select directories instead of files.
377
378 \b\\ (backslash).\v Use the "\" key to unselect a group of
379 files. This is the opposite of the Plus key.
380
381 \bup-key, C-p.\v Move the selection bar to the previous entry
382 in the panel.
383
384 \bdown-key, C-n.\v Move the selection bar to the next entry in
385 the panel.
386
387 \bhome, a1, M-<.\v Move the selection bar to the first entry
388 in the panel.
389
390 \bend, c1, M->.\v Move the selection bar to the last entry in
391 the panel.
392
393 \bnext-page, C-v.\v Move the selection bar one page down.
394
395 \bprev-page, M-v.\v Move the selection bar one page up.
396
397 \bM-o,\v If the other panel is a listing panel and you are
398 standing on a directory in the current panel, then the
399 other panel contents are set to the contents of the
400 currently selected directory (like Emacs' dired C-o key)
401 otherwise the other panel contents are set to the parent
402 dir of the current dir.
403
404 \bC-PageUp, C-PageDown\v Only when ran on the Linux console:
405 does a chdir to ".." and to the currently selected
406 directory respectively.
407
408 \ 4[Shell Command Line]
409 Shell Command Line
410
411 This section lists keys which are useful to avoid
412 excessive typing when entering shell commands.
413
414 \bM-Enter.\v Copy the currently selected file name to the
415 command line.
416
417 \bC-Enter.\v Same a M-Enter, this one only works on the Linux
418 console.
419
420 \bM-Tab.\v Does the filename, command, variable, username and
421 hostname \ 1completion\ 2Completion\ 3 for you.
422
423 \bC-x t, C-x C-t.\v Copy the tagged files (or if there are no
424 tagged files, the selected file) of the current panel (C-x
425 t) or of the other panel (C-x C-t) to the command line.
426
427 \bC-x p, C-x C-p. \v The first key sequence copies the current
428 path name to the command line, and the second one copies
429 the unselected panel's path name to the command line.
430
431 \bC-q.\v The quote command can be used to insert characters
432 that are otherwise interpreted by the Midnight Commander
433 (like the '+' symbol)
434
435 \bM-p, M-n.\v Use these keys to browse through the command
436 history. M-p takes you to the last entry, M-n takes you to
437 the next one.
438
439 \bM-h.\v Displays the history for the current input line.
440
441 \ 4[General Movement Keys]
442 General Movement Keys
443
444 The help viewer, the file viewer and the directory tree
445 use common code to handle moving. Therefore they accept
446 exactly the same keys. Each of them also accepts some keys
447 of its own.
448
449 Other parts of the Midnight Commander use some of the same
450 movement keys, so this section may be of use for those
451 parts too.
452
453 \bUp, C-p.\v Moves one line backward.
454
455 \bDown, C-n.\v Moves one line forward.
456
457 \bPrev Page, Page Up, M-v.\v Moves one pageful backward.
458
459 \bNext Page, Page Down, C-v.\v Moves one pageful forward.
460
461 \bHome, A1.\v Moves to the beginning.
462
463 \bEnd, C1.\v Move to the end.
464
465 The help viewer and the file viewer accept the following
466 keys in addition the to ones mentioned above:
467
468 \bb, C-b, C-h, Backspace, Delete.\v Moves one pageful
469 backward.
470
471 \bSpace bar.\v Moves one pageful forward.
472
473 \bu, d.\v Moves one half of a page backward or forward.
474
475 \bg, G.\v Moves to the beginning or to the end.
476
477 \ 4[Input Line Keys]
478 Input Line Keys
479
480 The input lines (they are used for the \ 1command line\ 2Shell Command Line\ 3 and
481 for the query dialogs in the program) accept these keys:
482
483 \bC-a\v puts the cursor at the beginning of line.
484
485 \bC-e\v puts the cursor at the end of the line.
486
487 \bC-b, move-left\v move the cursor one position left.
488
489 \bC-f, move-right\v move the cursor one position right.
490
491 \bM-f\v moves one word forward.
492
493 \bM-b\v moves one word backward.
494
495 \bC-h, backspace\v delete the previous character.
496
497 \bC-d, Delete\v delete the character in the point (over the
498 cursor).
499
500 \bC-@\v sets the mark for cutting.
501
502 \bC-w\v copies the text between the cursor and the mark to a
503 kill buffer and removes the text from the input line.
504
505 \bM-w\v copies the text between the cursor and the mark to a
506 kill buffer.
507
508 \bC-y\v yanks back the contents of the kill buffer.
509
510 \bC-k\v kills the text from the cursor to the end of the line.
511
512 \bM-p, M-n\v Use these keys to browse through the command
513 history. M-p takes you to the last entry, M-n takes you to
514 the next one.
515
516 \bM-C-h, M-Backspace\v delete one word backward.
517
518 \bM-Tab\v does the filename, command, variable, username and
519 hostname \ 1completion\ 2Completion\ 3 for you.
520
521 \ 4[]
522
523
524 \ 4[Menu Bar]
525 Menu Bar
526
527 The menu bar pops up when you press F9 or click the mouse
528 on the top row of the screen. The menu bar has five menus:
529 "Left", "File", "Command", "Options" and "Right".
530
531 The \ 1Left and Right Menus\ 2Left and Right Menus\ 3 allow you to modify the
532 appearance of the left and right directory panels.
533
534 The \ 1File Menu\ 2File Menu\ 3 lists the actions you can perform on the
535 currently selected file or the tagged files.
536
537 The \ 1Command Menu\ 2Command Menu\ 3 lists the actions which are more general
538 and bear no relation to the currently selected file or the
539 tagged files.
540
541 \ 4[Left and Right Menus]
542 Left and Right Menus
543
544 The outlook of the directory panels can be changed from
545 the \b"Left"\v and \b"Right"\v menus.
546
547 \ 4[Listing Mode...]
548 Listing Mode...
549
550 The listing mode view is used to display a listing of
551 files, there are four different listing modes available:
552 \bFull,\v \bBrief,\v \bLong,\v and \bUser.\v The full directory view shows
553 the file name, the size of the file and the modification
554 time.
555
556 The brief view shows only the file name and it has two
557 columns (therefore showing twice as many files as other
558 views). The long view is similar to the output of \b"ls -l"\v
559 command. The long view takes the whole screen width.
560
561 If you choose the "User" display format, then you have to
562 specify the display format.
563
564 The user display format must start with a panel size
565 specifier. This may be "half" or "full", and they specify
566 a half screen panel and a full screen panel respectively.
567
568 After the panel size, you may specify the two columns mode
569 on the panel, this is done by adding the number "2" to the
570 user format string.
571
572 After this you add the name of the fields with an optional
573 size specifier. This are the available fields you may
574 display:
575
576 \bname,\v displays the file name.
577
578 \bsize,\v displays the file size.
579
580 \bbsize,\v is an alternative form of the <bf/size/ format. It
581 displays the size of the files and for directories it just
582 shows SUB-DIR or UP--DIR.
583
584 \btype,\v displays a one character field type. This character
585 is a superset of what is displayed by ls with the -F flag.
586 An asterisk for executable files, a slash for directories,
587 an at-sign for links, an equal sign for sockets, a hyphen
588 for character devices, a plus sign for block devices, a
589 pipe for fifos, a tilde for symbolic links to directories
590 and an exclamation mark for stalled symlinks (links that
591 point nowhere).
592
593 \bmtime,\v file's last modification time.
594
595 \batime,\v file's last access time.
596
597 \bctime,\v file's creation time.
598
599 \bperm,\v a string representing the current permission bits of
600 the file.
601
602 \bmode,\v an octal value with the current permission bits of
603 the file.
604
605 \bnlink,\v the number of links to the file. \bngid,\v the GID
606 (numeric).
607
608 \bnuid,\v the UID (numeric).
609
610 \bowner,\v the owner of the file.
611
612 \bgroup,\v the group of the file.
613
614 \binode,\v the inode of the file.
615
616 Also you may use these field names for arranging the
617 display:
618
619 \bspace,\v a space in the display format.
620
621 \bmark,\v An asterisk if the file is tagged, a space if it's
622 not.
623
624 \b|,\v This character is used to add a vertical line to the
625 display format.
626
627 To force one field to a fixed size (a size specifier), you
628 just add a ':' and then the number of characters you want
629 the field to have, if the number is followed by the symbol
630 '+', then the size specifies the minimum field size, if
631 the program finds out that there is more space on the
632 screen, it will then expand this field.
633
634 For example, the \bFull\v display corresponds to this format:
635
636 half type,name,|,size,|,mtime
637
638 And the \bLong\v display corresponds to this format:
639
640 full
641 perm,space,nlink,space,owner,space,group,space,size,space,
642 mtime,space,name
643
644 This is a nice user display format:
645
646 half name,|,size:7,|,type,mode:3
647
648 Panels may also be set to the following modes:
649
650 \b"Info"\v The info view display information related to the
651 currently selected file and if possible information about
652 the current file system.
653
654 \b"Tree" \v The tree view is quite similar to the \ 1directory
655 tree\ 2Directory Tree\ 3 feature. See the section about it for more
656 information.
657
658 \b"Quick View"\v In this mode, the panel will switch to a
659 reduced \ 1viewer\ 2Internal File Viewer\ 3 that displays the contents of the
660 currently selected file, if you select the panel (with the
661 tab key or the mouse), you will have access to the usual
662 viewer commands.
663
664 \ 4[Sort Order...]
665 Sort Order...
666
667 The eight sort orders are by name, by extension, by
668 modification time, by access time, and by inode
669 information modification time, by size, by inode and
670 unsorted. In the Sort order dialog box you can choose the
671 sort order and you may also specify if you want to sort in
672 reverse order by checking the reverse box.
673
674 By default directories are sorted before files but this
675 can be changed from the \ 1Options menu\ 2Options Menu\ 3 (option \b"Mix all
676 files"\v ).
677
678 \ 4[Filter...]
679 Filter...
680
681 The filter command allows you to specify a shell pattern
682 (for example \b"*.tar.gz"\v ) which the files must match to be
683 shown. Regardless of the filter pattern, the directories
684 and the links to directories are always shown in the
685 directory panel.
686
687 \ 4[Reread]
688 Reread
689
690 The reread command reload the list of files in the
691 directory. It is useful if other processes have created or
692 removed files. If you have panelized file names in a panel
693 this will reload the directory contents and remove the
694 panelized information (See the section \ 1External panelize\ 2External panelize\ 3
695 for more information).
696
697 \ 4[File Menu]
698 File Menu
699
700 The Midnight Commander uses the F1 - F10 keys as keyboard
701 shortcuts for commands appearing in the file menu. The
702 escape sequences for the Fkeys are terminfo capabilities
703 kf1 trough kf10. On terminals without function key
704 support, you can achieve the same functionality by
705 pressing the ESC key and then a number in the range 1
706 through 9 and 0 (corresponding to F1 to F9 and F10
707 respectively).
708
709 The File menu has the following commands (keyboard
710 shortcuts in parentheses):
711
712 \bHelp (F1)\v
713
714 Invokes the built-in hypertext help viewer. Inside the
715 \ 1help viewer,\ 2Help\ 3 you can use the Tab key to select the next
716 link and the Enter key to follow that link. The keys Space
717 and Backspace are used to move forward and backward in a
718 help page. Press F1 again to get the full list of accepted
719 keys.
720
721 \bMenu (F2)\v
722
723 Invoke the \ 1user menu.\ 2Menu File Edit\ 3 The user menu provides an easy way
724 to provide users with a menu and add extra features to the
725 Midnight Commander.
726
727 \bView (F3, Shift-F3)\v
728
729 View the currently selected file. By default this invokes
730 the \ 1Internal File Viewer\ 2Internal File Viewer\ 3 but if the option "Use internal
731 view" is off, it invokes an external file viewer specified
732 by the \bPAGER \v environment variable. If \bPAGER\v is undefined,
733 the "view" command is invoked. If you use Shift-F3
734 instead, the viewer will be invoked without doing any
735 formatting or pre processing to the file.
736
737 \bFiltered View (M-!)\v
738
739 this command prompts for a command and it's arguments (the
740 argument defaults to the currently selected file name),
741 the output from such command is shown in the internal file
742 viewer.
743
744 \bEdit (F4)\v
745
746 Currently it invokes the \bvi \v editor, or the editor
747 specified in the \bEDITOR\v environment variable, or the
748 \ 1Internal File Editor\ 2Internal File Editor\ 3 if the use_internal_edit option is
749 on.
750
751 \bCopy (F5)\v
752
753 Pop up an input dialog with destination that defaults to
754 the directory in the non-selected panel and copies the
755 currently selected file (or the tagged files, if there is
756 at least one file tagged) to the directory specified by
757 the user in the input dialog. During this process, you can
758 press C-c or ESC to abort the operation. For details about
759 source mask (which will be usually either * or ^\(.*\)$
760 depending on setting of Use shell patterns) and possible
761 wildcards in the destination see \ 1Mask copy/rename.\ 2Mask Copy/Rename\ 3
762
763 On some systems, it is possible to do the copy in the
764 background by clicking on the background button (or
765 pressing M-b in the dialog box). The \ 1Background Jobs\ 2Background Jobs\ 3 is
766 used to control the background process.
767
768 \bLink (C-x l)\v
769
770 Create a hard link to the current file.
771
772 \bSymLink (C-x s)\v
773
774 Create a symbolic link to the current file. To those of
775 you who don't know what links are: creating a link to a
776 file is a bit like copying the file, but both the source
777 filename and the destination filename represent the same
778 file image. For example, if you edit one of these files,
779 all changes you make will appear in both files. Some
780 people call links aliases or shortcuts.
781
782 A hard link appears as a real file. After making it, there
783 is no way of telling which one is the original and which
784 is the link. If you delete either one of them the other
785 one is still intact. It is very difficult to notice that
786 the files represent the same image. Use hard links when
787 you don't even want to know.
788
789 A symbolic link is a reference to the name of the original
790 file. If the original file is deleted the symbolic link is
791 useless. It is quite easy to notice that the files
792 represent the same image. The Midnight Commander shows an
793 "@"-sign in front of the file name if it is a symbolic
794 link to somewhere (except to directory, where it shows a
795 tilde (~)). The original file which the link points to is
796 shown on mini-status line if the \14"Show mini-status"\v option
797 is enabled. Use symbolic links when you want to avoid the
798 confusion that can be caused by hard links.
799
800 \bRename/Move (F6)\v
801
802 Pop up an input dialog that defaults to the directory in
803 the non-selected panel and moves the currently selected
804 file (or the tagged files if there is at least one tagged
805 file) to the directory specified by the user in the input
806 dialog. During the process, you can press C-c or ESC to
807 abort the operation. For more details look at Copy
808 operation above, most of the things are quite similar.
809
810 On some systems, it is possible to do the copy in the
811 background by clicking on the background button (or
812 pressing M-b in the dialog box). The \ 1Background Jobs\ 2Background Jobs\ 3 is
813 used to control the background process.
814
815 \bMkdir (F7)\v
816
817 Pop up an input dialog and creates the directory
818 specified.
819
820 \bDelete (F8)\v
821
822 Delete the currently selected file or the tagged files in
823 the currently selected panel. During the process, you can
824 press C-c or ESC to abort the operation.
825
826 \bQuick cd (M-c)\v Use the \ 1quick cd\ 2Quick cd\ 3 command if you have full
827 command line and want to cd somewhere.
828
829 \bSelect group (+)\v
830
831 This is used to select (tag) a group of files. The
832 Midnight Commander will prompt for a regular expression
833 describing the group. When \14Shell Patterns \v are enabled,
834 the regular expression is much like the filename globbing
835 in the shell (* standing for zero or more characters and ?
836 standing for one character). If \14Shell Patterns\v is off,
837 then the tagging of files is done with normal regular
838 expressions (see ed (1)).
839
840 To mark directories instead of files, the expression must
841 start or end with a '/'.
842
843 \bUnselect group (\\)\v
844
845 Used for unselecting a group of files. This is the
846 opposite of the \14"Select group"\v command.
847
848 \bQuit (F10, Shift-F10)\v
849
850 Terminate the Midnight Commander. Shift-F10 is used when
851 you want to quit and you are using the shell wrapper.
852 Shift-F10 will not take you to the last directory you
853 visited with the Midnight Commander, instead it will stay
854 at the directory where you started the Midnight Commander.
855
856 \ 4[Quick cd]
857 Quick cd
858
859 This command is useful if you have a full command line and
860 want to \ 1cd\ 2The cd internal command\ 3 somewhere without having to yank and paste
861 the command line. This command pops up a small dialog,
862 where you enter everything you would enter after \bcd \v on
863 the command line and then you press enter. This features
864 all the things that are already in the \ 1internal cd
865 command.\ 2The cd internal command\ 3
866
867 \ 4[Command Menu]
868 Command Menu
869
870 The \ 1Directory tree\ 2Directory Tree\ 3 command shows a tree figure of the
871 directories.
872
873 The \ 1Find file\ 2Find File\ 3 command allows you to search for a specific
874 file. The "Swap panels" command swaps the contents of the
875 two directory panels.
876
877 The "Panels on/off" command shows the output of the last
878 shell command. This works only on xterm and on Linux and
879 SCO console.
880
881 The Compare directories (C-x d) command compares the
882 directory panels with each other. You can then use the
883 Copy (F5) command to make the panels identical. There are
884 three compare methods. The quick method compares only file
885 size and file date. The thorough method makes a full
886 byte-by-byte compare. The thorough method is not available
887 if the machine does not support the mmap(2) system call.
888 The size-only compare method just compares the file sizes
889 and does not check the contents or the date times, it just
890 checks the file size.
891
892 The Command history command shows a list of typed
893 commands. The selected command is copied to the command
894 line. The command history can also be accessed by typing
895 M-p or M-n.
896
897 The \ 1Directory hotlist (C-\)\ 2Hotlist\ 3 command makes changing of the
898 current directory to often used directories faster.
899
900 The \ 1External panelize\ 2External panelize\ 3 allows you to execute an external
901 program, and make the output of that program the contents
902 of the current panel.
903
904 \ 1Extension file edit\ 2Extension File Edit\ 3 command allows you to specify
905 programs to executed when you try to execute, view, edit
906 and do a bunch of other thing on files with certain
907 extensions (filename endings). The \ 1Menu file edit\ 2Menu File Edit\ 3
908 command may be used for editing the user menu (which
909 appears by pressing F2).
910
911 \ 4[Directory Tree]
912 Directory Tree
913
914 The Directory Tree command shows a tree figure of the
915 directories. You can select a directory from the figure
916 and the Midnight Commander will change to that directory.
917
918 There are two ways to invoke the tree. The real directory
919 tree command is available from Commands menu. The other
920 way is to select tree view from the Left or Right menu.
921
922 To get rid of long delays the Midnight Commander creates
923 the tree figure by scanning only a small subset of all the
924 directories. If the directory which you want to see is
925 missing, move to its parent directory and press C-r (or
926 F2).
927
928 You can use the following keys:
929
930 \ 1General movement keys\ 2General Movement Keys\ 3 are accepted.
931
932 \bEnter.\v In the directory tree, exits the directory tree and
933 changes to this directory in the current panel. In the
934 tree view, changes to this directory in the other panel
935 and stays in tree view mode in the current panel.
936
937 \bC-r, F2 (Rescan).\v Rescan this directory. Use this when the
938 tree figure is out of date: it is missing subdirectories
939 or shows some subdirectories which don't exist any more.
940
941 \bF3 (Forget).\v Delete this directory from the tree figure.
942 Use this to remove clutter from the figure. If you want
943 the directory back to the tree figure press F2 in its
944 parent directory.
945
946 \bF4 (Static/Dynamic).\v Toggle between the dynamic navigation
947 mode (default) and the static navigation mode.
948
949 In the static navigation mode you can use the Up and Down
950 keys to select a directory. All known directories are
951 shown.
952
953 In the dynamic navigation mode you can use the Up and Down
954 keys to select a sibling directory, the Left key to move
955 to the parent directory, and the Right key to move to a
956 child directory. Only the parent, sibling and children
957 directories are shown, others are left out. The tree
958 figure changes dynamically as you traverse.
959
960 \bF5 (Copy).\v Copy the directory.
961
962 \bF6 (RenMov).\v Move the directory.
963
964 \bF7 (Mkdir).\v Make a new directory below this directory.
965
966 \bF8 (Delete).\v Delete this directory from the file system.
967
968 \bC-s, M-s.\v Search the next directory matching the search
969 string. If there is no such directory these keys will move
970 one line down.
971
972 \bC-h, Backspace.\v Delete the last character of the search
973 string.
974
975 \bAny other character.\v Add the character to the search
976 string and move to the next directory which starts with
977 these characters. In the tree view you must first activate
978 the search mode by pressing C-s. The search string is
979 shown in the mini status line.
980
981 The following actions are available only in the directory
982 tree. They aren't supported in the tree view.
983
984 \bF1 (Help).\v Invoke the help viewer and show this section.
985
986 \bEsc, F10.\v Exit the directory tree. Do not change the
987 directory.
988
989 The mouse is supported. A double-click behaves like Enter.
990 See also the section on \ 1mouse support.\ 2Mouse Support\ 3
991
992 \ 4[Find File]
993 Find File
994
995 The Find File feature first asks for the start directory
996 for the search and the filename to be searched for. By
997 pressing the Tree button you can select the start
998 directory from the \ 1directory tree\ 2Directory Tree\ 3 figure.
999
1000 The contents field accepts regular expressions similar to
1001 egrep(1). That means you have to escape characters with a
1002 special meaning to egrep with "\", e.g. if you search for
1003 "strcmp (" you will have to input "strcmp \(" (without the
1004 double quotes).
1005
1006 You can start the search by pressing the Ok button. During
1007 the search you can stop from the Stop button and continue
1008 from the Start button.
1009
1010 You can browse the filelist with the up and down arrow
1011 keys. The Chdir button will change to the directory of the
1012 currently selected file. The Again button will ask for the
1013 parameters for a new search. The Quit button quits the
1014 search operation. The Panelize button will place the found
1015 files to the current directory panel so that you can do
1016 additional operations on them (view, copy, move, delete
1017 and so on). After panelizing you can press C-r to return
1018 to the normal file listing.
1019
1020 It is possible to have a list of directories that the Find
1021 File command should skip during the search (for example,
1022 you may want to avoid searches on a CDROM or on a NFS
1023 directory that is mounted across a slow link).
1024
1025 Directories to be skipped should be set on the variable
1026 \bfind_ignore_dirs \v in the \bMisc \v section of your ~/.mc/ini
1027 file.
1028
1029 Directory components should be separated with a colon,
1030 here is an example:
1031
1032 [Misc]
1033 find_ignore_dirs=/cdrom:/nfs/wuarchive:/afs
1034
1035 You may consider using the \ 1External panelize\ 2External panelize\ 3 command for
1036 some operations. Find file command is for simple queries
1037 only, while using External panelize you can do as
1038 mysterious searches as you would like.
1039
1040 \ 4[External panelize]
1041 External panelize
1042
1043 The External panelize allows you to execute an external
1044 program, and make the output of that program the contents
1045 of the current panel.
1046
1047 For example, if you want to manipulate in one of the
1048 panels all the symbolic links in the current directory,
1049 you can use external panelization to run the following
1050 command:
1051
1052 find . -type l -print
1053 Upon command completion, the directory contents of the
1054 panel will no longer be the directory listing of the
1055 current directory, but all the files that are symbolic
1056 links.
1057
1058 If you want to panelize all of the files that have been
1059 downloaded from your ftp server, you can use this awk
1060 command to extract the file name from the transfer log
1061 files:
1062
1063 awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
1064
1065 You may want to save often used panelize commands under a
1066 descriptive name, so that you can recall them quickly. You
1067 do this by typing the command on the input line and
1068 pressing Add new button. Then you enter a name under which
1069 you want the command to be saved. Next time, you just
1070 choose that command from the list and do not have to type
1071 it again.
1072
1073 \ 4[Hotlist]
1074 Hotlist
1075
1076 The Directory hotlist command shows the labels of the
1077 directories in the directory hotlist. The Midnight
1078 Commander will change to the directory corresponding to
1079 the selected label. From the hotlist dialog, you can
1080 remove already created label/directory pairs and add new
1081 one. For adding you may want to use a standalone Add to
1082 hotlist command (C-x h), which adds the current directory
1083 into the directory hotlist, as well. The user is prompted
1084 for a label for the directory.
1085
1086 This makes cd to often used directories faster. You may
1087 consider using the CDPATH variable as described in
1088 \ 1internal cd command\ 2The cd internal command\ 3 description.
1089
1090 \ 4[Extension File Edit]
1091 Extension File Edit
1092
1093 This will invoke your editor on the file ~/.mc/ext. The
1094 format of this file is as follows (the format has changed
1095 with version 3.0):
1096
1097 All lines starting with # or empty lines are thrown away.
1098
1099 Lines starting in the first column should have following
1100 format:
1101
1102 \14keyword/descNL,\v i.e. everything after \14keyword/\v until new
1103 line is \14desc\v
1104
1105 keyword can be:
1106
1107 \14shell\v (desc is then any extension (no wildcards), i.e.
1108 matches all the files *desc . Example: .tar matches *.tar)
1109
1110 \14regex\v (desc is a regular expression)
1111
1112 \14type\v (file matches this if `file %f` matches regular
1113 expression desc (the filename: part from `file %f` is
1114 removed))
1115
1116 \14default\v (matches any file no matter what desc is)
1117
1118 Other lines should start with a space or tab and should be
1119 of the format:
1120
1121 \14keyword=commandNL\v (with no spaces around =), where \14keyword\v
1122 should be:
1123
1124 \14Open\v (if the user presses Enter or doubleclicks it), \14View\v
1125 (F3), \14Edit\v (F4), \14Drop\v (user drops some files on it) or any
1126 other user defined name (those will be listed in the
1127 extension dependent pop-up menu). \14Icon\v name is reserved
1128 for future use by mc.
1129
1130 \14command\v is any one-line shell command, with the simple
1131 \ 1macro substitution.\ 2Macro Substitution\ 3
1132
1133 Target are evaluated from top to bottom (order is thus
1134 important). If some actions are missing, search continues
1135 as if this target didn't match (i.e. if a file matches the
1136 first and second entry and View action is missing in the
1137 first one, then on pressing F3 the View action from the
1138 second entry will be used. default should catch all the
1139 actions.
1140
1141 \ 4[Background jobs]
1142 Background jobs
1143
1144 This lets you control the state of any background Midnight
1145 Commander process (only copy and move files operations can
1146 be done in the background). You can stop, restart and kill
1147 a background job from here.
1148
1149 \ 4[Menu File Edit]
1150 Menu File Edit
1151
1152 The user menu is a menu of useful actions that can be
1153 customized by the user. When you access the user menu, the
1154 file .mc.menu from the current directory is used if it
1155 exists, but only if it is owned by user or root and is not
1156 world-writable. If no such file found, ~/.mc/menu is tried
1157 in the same way, and otherwise mc uses the default
1158 system-wide menu @prefix@/lib/mc/mc.menu.
1159
1160 The format of the menu file is very simple. Lines that
1161 start with anything but space or tab are considered
1162 entries for the menu (in order to be able to use it like a
1163 hot key, the first character should be a letter). All the
1164 lines that start with a space or a tab are the commands
1165 that will be executed when the entry is selected.
1166
1167 When an option is selected all the command lines of the
1168 option are copied to a temporary file in the temporary
1169 directory (usually /usr/tmp) and then that file is
1170 executed. This allows the user to put normal shell
1171 constructs in the menus. Also simple macro substitution
1172 takes place before executing the menu code. For more
1173 information, see \ 1macro substitution.\ 2Macro Substitution\ 3
1174
1175 Here is a sample mc.menu file:
1176
1177 A Dump the currently selected file
1178 od -c %f
1179
1180 B Edit a bug report and send it to root
1181 vi /tmp/mail.$$
1182 mail -s "Midnight Commander bug" root < /tmp/mail.$$
1183
1184 M Read mail
1185 emacs -f rmail
1186
1187 N Read Usenet news
1188 emacs -f gnus
1189
1190 H Call the info hypertext browser
1191 info
1192
1193 J Copy current directory to other panel recursively
1194 tar cf - . | (cd %D && tar xvpf -)
1195
1196 K Make a release of the current subdirectory
1197 echo -n "Name of distribution file: "
1198 read tar
1199 ln -s %d `dirname %d`/$tar
1200 cd ..
1201 tar cvhf ${tar}.tar $tar
1202
1203 = f *.tar.gz | f *.tgz & t n
1204 X Extract the contents of a compressed tar file
1205 tar xzvf %f
1206
1207 \bDefault Conditions\v
1208
1209 Each menu entry may be preceded by a condition. The
1210 condition must start from the first column with a '='
1211 character. If the condition is true, the menu entry will
1212 be the default entry.
1213
1214 Condition syntax: = <sub-cond>
1215 or: = <sub-cond> | <sub-cond> ...
1216 or: = <sub-cond> & <sub-cond> ...
1217
1218 Sub-condition is one of following:
1219
1220 f <pattern> current file matching pattern?
1221 F <pattern> other file matching pattern?
1222 d <pattern> current directory matching pattern?
1223 D <pattern> other directory matching pattern?
1224 t <type> current file of type?
1225 T <type> other file of type?
1226 ! <sub-cond> negate the result of sub-condition
1227
1228 Pattern is a normal shell pattern or a regular expression,
1229 according to the shell patterns option. You can override
1230 the global value of the shell patterns option by writing
1231 "shell_patterns=x" on the first line of the menu file
1232 (where "x" is either 0 or 1).
1233
1234 Type is one or more of the following characters:
1235
1236 n not directory
1237 r regular file
1238 d directory
1239 l link
1240 c char special
1241 b block special
1242 f fifo
1243 s socket
1244 x executable
1245 t tagged
1246
1247 For example 'rlf' means either regular file, link or fifo.
1248 The 't' type is a little special because it acts on the
1249 panel instead of the file. The condition '=t t' is true if
1250 there are tagged files in the current panel and false if
1251 not.
1252
1253 If the condition starts with '=?' instead of '=' a debug
1254 trace will be shown whenever the value of the condition is
1255 calculated.
1256
1257 The conditions are calculated from left to right. This
1258 means
1259 = f *.tar.gz | f *.tgz & t n
1260 is calculated as
1261 ( (f *.tar.gz) | (f *.tgz) ) & (t n)
1262
1263 Here is a sample of the use of conditions:
1264
1265 = f *.tar.gz | f *.tgz & t n
1266 L List the contents of a compressed tar-archive
1267 gzip -cd %f | tar xvf -
1268
1269 \bAddition Conditions\v
1270
1271 If the condition begins with '+' (or '+?') instead of '='
1272 (or '=?') it is an addition condition. If the condition is
1273 true the menu entry will be included in the menu. If the
1274 condition is false the menu entry will not be included in
1275 the menu.
1276
1277 You can combine default and addition conditions by
1278 starting condition with '+=' or '=+' (or '+=?' or '=+?' if
1279 you want debug trace). If you want to use two different
1280 conditions, one for adding and another for defaulting, you
1281 can precede a menu entry with two condition lines, one
1282 starting with '+' and another starting with '='.
1283
1284 Comments are started with '#'. The additional comment
1285 lines must start with '#', space or tab.
1286
1287 \ 4[Options Menu]
1288 Options Menu
1289
1290 The \ 1Configuration\ 2Configuration\ 3 command pops up a dialog from which you
1291 can change most of settings of the Midnight Commander.
1292
1293 The \ 1Display bits\ 2Display bits\ 3 command pops up a dialog from which you
1294 may select which characters is your terminal able to
1295 display.
1296
1297 The \ 1Confirmation\ 2Confirmation\ 3 command pops up a dialog from which you
1298 specify which actions you want to confirm.
1299
1300 The \ 1Learn keys\ 2Learn keys\ 3 command pops up a dialog from which you
1301 test some keys which are not working on some terminals and
1302 you may fix them.
1303
1304 The \ 1Virtual FS\ 2Virtual FS\ 3 command pops up a dialog from which you
1305 specify some VFS related options.
1306
1307 The \ 1Layout\ 2Layout\ 3 command pops up a dialog from which you specify
1308 a bunch of options how mc looks like on the screen.
1309
1310 The \ 1Save setup\ 2Save Setup\ 3 command saves the current settings of the
1311 Left, Right and Options menus. A small number of other
1312 settings is saved, too.
1313
1314 \ 4[Configuration]
1315 Configuration
1316
1317 The program has some options that may be toggled on and
1318 off from the Configuration dialog. Options are enabled if
1319 they have an asterisk or "x" in front of them. These
1320 options are divided into three groups: Screen Colors,
1321 Panel Options and Other Options.
1322
1323 \bScreen Colors\v
1324
1325 You can select whether your display supports color or not.
1326 Normally this information is in the terminfo database. If
1327 you want to know how to change individual colors see the
1328 section on \ 1Colors.\ 2Colors\ 3
1329
1330 \bPanel Options\v
1331
1332 \14Show Backup Files.\v By default the Midnight Commander
1333 doesn't show files ending in '~' (like GNU's ls option
1334 -B).
1335
1336 \14Show Hidden Files.\v By default the Midnight Commander will
1337 show all files that start with a dot (like ls -a).
1338
1339 \14Mark moves down.\v By default when you mark a file (with
1340 either C-t or the Insert key) the selection bar will move
1341 down.
1342
1343 \14Show Mini-Status.\v If enabled, show one line of status
1344 information at the bottom of the panels about the
1345 currently selected item.
1346
1347 \14Mix all files.\v When this option is enabled, all files and
1348 directories are shown mixed together. If the option is
1349 off, directories (and links to directories) are shown at
1350 the beginning of the listing, and other files afterwards.
1351
1352 \14Fast directory reload.\v This option is off by default. If
1353 you activate the fast reload, the Midnight Commander will
1354 use a trick to determine if the directory contents have
1355 changed. The trick is to reload the directory only if the
1356 i-node of the directory has changed; this means that
1357 reloads only happen when files are created or deleted. If
1358 what changes is the i-node for a file in the directory
1359 (file size changes, mode or owner changes, etc) the
1360 display is not updated. In these cases, if you have the
1361 option on, you have to rescan the directory manually (with
1362 C-r).
1363
1364 \bOther Options\v
1365
1366 \14Verbose operation.\v This toggles whether the file Copy,
1367 Rename and Delete operations are verbose (i.e., display a
1368 dialog box for each operation). If you have a slow
1369 terminal, you may wish to disable the verbose operation.
1370 It is automatically turned off if the speed of your
1371 terminal is less than 9600 bps.
1372
1373 \14Pause after run.\v After executing your commands, the
1374 Midnight Commander can pause, so that you can examine the
1375 output of the command. There are three possible settings
1376 for this variable: \14Never\v Means that you do not want to see
1377 the output of your command. If you are using the Linux or
1378 SCO console or an xterm, you will be able to see the
1379 output of the command by typing C-o. \14"On dumb terminals"\v
1380 You will get the pause message on terminals that are not
1381 capable of showing the output of the last command executed
1382 (any terminal that is not an xterm or the Linux console).
1383 \14Always\v The program will pause after executing all of your
1384 commands.
1385
1386 \14Shell Patterns.\v By default the Select, Unselect and Filter
1387 commands will use shell-like regular expressions. The
1388 following conversions are performed to achieve this: the
1389 '*' is replaced by '.*' (zero or more characters); the '?'
1390 is replaced by '.' (exactly one character) and '.' by the
1391 literal dot. If the option is disabled, then the regular
1392 expressions are the ones described in ed(1).
1393
1394 \14Auto Save Setup.\v If this option is enabled, when you exit
1395 the Midnight Commander the configurable options of the
1396 Midnight Commander are saved in the ~/.mc/ini file.
1397
1398 \14Auto menus.\v If this option is enabled, the user menu will
1399 be invoked at startup. Useful for building menus for
1400 non-unixers.
1401
1402 \14Use internal editor.\v If this option is enabled, the
1403 built-in file editor is used to edit files. If the option
1404 is disabled, the editor specified in the \bEDITOR\v
1405 environment variable is used. If no editor is specified,
1406 \bvi\v is used. See the section on the \ 1internal file editor.\ 2Internal File Editor\ 3
1407
1408 \14Use internal viewer.\v If this option is enabled, the
1409 built-in file viewer is used to view files. If the option
1410 is disabled, the pager specified in the \bPAGER\v environment
1411 variable is used. If no pager is specified, the \bview\v
1412 command is used. See the section on the \ 1internal file
1413 viewer.\ 2Internal File Viewer\ 3
1414
1415 \14Confirm Delete.\v This option is toggled on by default, and
1416 will cause the Midnight Commander to ask for confirmation
1417 when deleting a single file.
1418
1419 \14Cd follows links.\v This option, if set, causes the Midnight
1420 Commander to follow the logical chain of directories when
1421 changing current directory either in the panels, or using
1422 the cd command. This is the default behavior of bash. When
1423 unset, the Midnight Commander follows the real directory
1424 structure, so cd .. if you've entered that directory
1425 through a link will move you to the current directory's
1426 real parent and not to the directory where the link was
1427 present.
1428
1429 \ 4[Display bits]
1430 Display bits
1431
1432 This is used to configure the range of visible characters
1433 on the screen. This setting may be 7-bits if your
1434 terminal/curses supports only seven output bits,
1435 ISO-8859-1 displays all the characters in the ISO-8859-1
1436 map and full 8 bits is for those terminals that can
1437 display full 8 bit characters.
1438
1439 \ 4[Confirmation]
1440 Confirmation
1441
1442 In this menu you configure the confirmation options for
1443 file deletion, overwriting, execution by pressing enter
1444 and quitting the program.
1445
1446 \ 4[Learn keys]
1447 Learn keys
1448
1449 This dialog lets you test if your keys F1-F20, Home, End,
1450 etc. work properly on your terminal. They often don't,
1451 since many terminal databases are broken.
1452
1453 You can move around with the Tab key, with the vi moving
1454 keys ('h' left, 'j' down, 'k' up and 'l' right) and after
1455 you press any arrow key once (this will mark it OK), then
1456 you can use that key as well.
1457
1458 You test them just by pressing each of them. As soon as
1459 you press a key and the key works properly, OK should
1460 appear next to the name of that key. Once a key is marked
1461 OK it starts to work as usually, e.g. F1 for the first
1462 time will just check that F1 works OK, but from that time
1463 on it will show help. The same applies to the arrow keys.
1464 Tab key should be working always.
1465
1466 If some keys do not work properly, then you won't see OK
1467 after the key name after you have pressed that key. You
1468 may then want to fix it. You do it by pressing the button
1469 of that key (either by mouse or using Tab and Enter). Then
1470 a red message will appear and you will be asked to type
1471 that key. If you want to abort this, press just Esc and
1472 wait until the message disappears. Otherwise type the key
1473 you're asked to type and also wait until the dialog
1474 disappears.
1475
1476 When you finish with all the keys, you may want either to
1477 Save your key fixes into your ~/.mc/ini file into the
1478 [terminal:TERM] section (where TERM is the name of your
1479 current terminal) or to discard them. If all your keys
1480 were working properly and you had not to fix any key, then
1481 (of course) no saving will occur.
1482
1483 \ 4[Virtual FS]
1484 Virtual FS
1485
1486 This option gives you control over the settings of the
1487 \ 1Virtual File System \ 2Virtual File System\ 3 information cache.
1488
1489 The Midnight Commander keeps in memory the information
1490 related to some of the virtual file systems to speed up
1491 the access to the files in the file system. Since the
1492 information that must be kept may be large (for example,
1493 compressed tar files may be kept in RAM for faster
1494 access), you may want to tune the parameters of the cached
1495 information to decrease your memory usage or to maximize
1496 the speed of access to frequently used file systems.
1497
1498 The Tar file system is quite clever about how it handles
1499 tar files: it just loads the directory entries and when it
1500 needs to use the information contained in the tar file, it
1501 goes and grab it.
1502
1503 In the wild, tar files are usually kept compressed (plain
1504 tar files are species in extinction), and because of the
1505 nature of those files (the directory entries for the tar
1506 files is not there waiting for us to be loaded), the tar
1507 file system has two choices: load the complete,
1508 uncompressed tar file into memory or uncompress the file
1509 in the disk in a temporary location and then access the
1510 uncompressed file as a regular tar file.
1511
1512 In this dialog box you tell the Midnight Commander which
1513 sizes for compressed tar files you will tolerate to load
1514 into your precious memory. The default setting is set to
1515 one megabyte, this means that compressed tar files whose
1516 size is at most one megabyte will be loaded into core,
1517 otherwise a temporary uncompressed tar file will be
1518 created to access the contents (all of this is transparent
1519 to the user).
1520
1521 The program will let you add a suffix to specify the units
1522 of the number you typed in, use 'k' for kilobyte and 'm'
1523 for megabyte. Our routine does not accept floating point
1524 numbers, so you can't use ".5 m" to specify 512 kilobytes,
1525 you will have to use "512 k" instead.
1526
1527 Now, since we all love to browse files and tar files all
1528 over the disk, it's common that you will leave a tar file
1529 and the re-enter it later. Since uncompression is slow,
1530 the Midnight Commander will cache the information in
1531 memory for a limited amount of time, after you hit the
1532 timeout, all of the memory resources associated with the
1533 file system will be freed. The default timeout is set to
1534 one minute.
1535
1536 \ 4[Layout]
1537 Layout
1538
1539 The layout dialog gives you a possibility to change the
1540 general layout of screen. You can specify whether the
1541 menubar, the command prompt, the hintbar and the function
1542 keybar are visible. On the Linux or SCO console you can
1543 specify how many lines are shown in the output window.
1544
1545 The rest of the screen area is used for the two directory
1546 panels. You can specify whether the area is split to the
1547 panels in vertical or horizontal direction. The split can
1548 be equal or you can specify an unequal split.
1549
1550 \ 4[Save Setup]
1551 Save Setup
1552
1553 At startup the Midnight Commander will try to load
1554 initialization information from the ~/.mc/ini file. If
1555 this file doesn't exist, it will load the information from
1556 the system-wide configuration file, located in
1557 @prefix@/lib/mc/mc.ini. If the system-wide configuration
1558 file doesn't exist, MC uses the default settings.
1559
1560 The \14Save Setup\v command creates the ~/.mc/ini file by
1561 saving the current settings of the \ 1Left, Right\ 2Left and Right Menus\ 3 and
1562 \ 1Options\ 2Options Menu\ 3 menus.
1563
1564 If you activate the \14auto save setup\v option, MC will always
1565 save the current settings when exiting.
1566
1567 There also exist settings which can't be changed from the
1568 menus. To change these settings you have to edit the setup
1569 file with your favorite editor. See the section on \ 1Special
1570 Settings\ 2Special Settings\ 3 for more information.
1571
1572 \ 4[]
1573
1574
1575 \ 4[Executing operating system commands]
1576 Executing operating system commands
1577
1578 You may execute commands by typing them directly in the
1579 Midnight Commander's input line, or by selecting the
1580 program you want to execute with the selection bar in one
1581 of the panels and hitting Enter.
1582
1583 If you press Enter over a file that is not executable, the
1584 Midnight Commander checks the extension of the selected
1585 file against the extensions in the \ 1Extensions File.\ 2Extension File Edit\ 3 If a
1586 match is found then the code associated with that
1587 extension is executed. A very simple \ 1macro expansion\ 2Macro Substitution\ 3
1588 takes place before executing the command.
1589
1590 \ 4[The cd internal command]
1591 The cd internal command
1592
1593 The \14cd\v command is interpreted by the Midnight Commander,
1594 it is not passed to the command shell for execution. Thus
1595 it may not handle all of the nice macro expansion and
1596 substitution that your shell does, although it does some
1597 of them:
1598
1599 \14Tilde substitution\v The (~) will be substituted with your
1600 home directory, if you append a username after the tilde,
1601 then it will be substituted with the login directory of
1602 the the specified user.
1603
1604 For example, ~guest is the home directory for the user
1605 guest, while ~/guest is the directory guest in your home
1606 directory.
1607
1608 \14Previous directory\v You can jump to the directory you were
1609 previously by using the special directory name '-' like
1610 this: \bcd -\v
1611
1612 \14CDPATH directories\v If the directory specified to the \bcd \v
1613 command is not in the current directory, then The Midnight
1614 Commander uses the value in the environment variable
1615 \bCDPATH\v to search for the directory in any of the named
1616 directories.
1617
1618 For example you could set your \bCDPATH\v variable to
1619 ~/src:/usr/src, allowing you to change your directory to
1620 any of the directories inside the ~/src and /usr/src
1621 directories, from any place in the file system by using
1622 it's relative name (for example cd linux could take you to
1623 /usr/src/linux).
1624
1625 \ 4[Macro Substitution]
1626 Macro Substitution
1627
1628
1629 When accessing a \ 1user menu, \ 2Menu File Edit\ 3 or executing an \ 1extension
1630 dependent command,\ 2Extension File Edit\ 3 or running a command from the command
1631 line input, a simple macro substitution takes place.
1632
1633 The macros are:
1634
1635 \14"%f"\v The current file name.
1636
1637 \14"%d"\v The current directory name.
1638
1639 \14"%F"\v The current file in the unselected panel.
1640
1641 \14"%D"\v The directory name of the unselected panel.
1642
1643 \14"%t"\v The currently tagged files.
1644
1645 \14"%T"\v The tagged files in the unselected panel.
1646
1647 \14"%u"\v and \14"%U"\v Similar to the %t and %T macros, but in
1648 addition the files are untagged. You can use this macro
1649 only once per menu file entry or extension file entry,
1650 because next time there will be no tagged files.
1651
1652 \14"%s"\v and \14"%S"\v The selected files: The tagged files if
1653 there are any. Otherwise the current file.
1654
1655 \14"%q"\v Dropped files. In all places except in the Drop
1656 action of the \ 1mc.ext file,\ 2Extension File Edit\ 3 this will become a null
1657 string, in the Drop action it will be replaced with a
1658 space separated list of files that were dropped on the
1659 file.
1660
1661 \14"%cd"\v This is a special macro that is used to change the
1662 current directory to the directory specified in front of
1663 it. This is used primarily as an interface to the \ 1Virtual
1664 File System.\ 2Virtual File System\ 3
1665
1666 \14"%view"\v This macro is used to invoke the internal viewer.
1667 This macro can be used alone, or with arguments. If you
1668 pass any arguments to this macro, they should be enclosed
1669 in brackets. The arguments are: \14ascii\v to force the viewer
1670 into ascii mode; \14hex\v to force the viewer into hex mode;
1671 \14nroff\v to tell the viewer that it should interpret the bold
1672 and underline sequences of nroff; \14unformated\v to tell the
1673 viewer to not interpret nroff commands for making the text
1674 bold or underlined.
1675
1676 \14"%%"\v The % character
1677
1678 \14"%{some text}"\v Prompt for the substitution. An input box
1679 is shown and the text inside the braces is used as a
1680 prompt. The macro is substituted by the text typed by the
1681 user. The user can press ESC or F10 to cancel. This macro
1682 doesn't work on the command line yet.
1683
1684 \ 4[The subshell support]
1685 The subshell support
1686
1687 The subshell support is a compile time option, that works
1688 with the shells: bash, tcsh and zsh.
1689
1690 When the subshell code is activated the Midnight Commander
1691 will spawn a concurrent copy of your shell (the one
1692 defined in the \bSHELL\v variable and if it is not defined,
1693 then the one in the /etc/passwd file) and run it in a
1694 pseudo terminal, instead of invoking a new shell each time
1695 you execute a command, the command will be passed to the
1696 subshell as if you had typed it. This also allows you to
1697 change the environment variables, use shell functions and
1698 define aliases that are valid until you quit the Midnight
1699 Commander.
1700
1701 If you are using \bbash\v you can specify startup commands for
1702 the subshell in your ~/.mc/bashrc file and special
1703 keyboard maps in the ~/.mc/inputrc file. \btcsh \v users may
1704 specify startup commands in the ~/.mc/tcshrc file.
1705
1706 When the subshell code is used, you can suspend
1707 applications at any time with the sequence C-o and jump
1708 back to the Midnight Commander, if you interrupt an
1709 application, you will not be able to run other external
1710 commands until you quit the application you interrupted.
1711
1712 An extra added feature of using the subshell is that the
1713 prompt displayed by the Midnight Commander is the same
1714 prompt that you are currently using in your shell.
1715
1716 The OPTIONS section has more information on how you can
1717 control the subshell code.
1718
1719 \ 4[Controlling Midnight Commander]
1720 Controlling Midnight Commander
1721
1722 The Midnight Commander defines an environment variable
1723 MC_CONTROL_FILE. The commands executed by MC may give
1724 instructions to MC by writing to the file specified by
1725 this variable. This is only available if you compiled your
1726 copy of the Midnight Commander with the WANT_PARSE option.
1727
1728 The following instructions are supported.
1729
1730 clear_tags Clear all tags.
1731 tag <filename> Tag specified file.
1732 untag <filename> Untag specified file.
1733 select <filename> Move pointer to file.
1734 change_panel Switch between panels.
1735 cd <path> Change directory.
1736
1737 If the first letter of the instruction is in lower case it
1738 operates on the current panel. If the letter is in upper
1739 case the instruction operates on the other panel. The
1740 additional letters must be in lower case. Instructions
1741 must be separated by exactly one space, tab or newline.
1742 The instructions don't work in the Info, Tree and Quick
1743 views. The first error causes the rest to be ignored.
1744
1745 \ 4[Chmod]
1746 Chmod
1747
1748 The Chmod window is used to change the attribute bits in a
1749 group of files and directories. It can be invoked with the
1750 C-x c key combination.
1751
1752 The Chmod window has two parts - \14Permissions\v and \14File\v
1753
1754 In the File section are displayed the name of the file or
1755 directory and its permissions in octal form, as well as
1756 its owner and group.
1757
1758 In the Permissions section there is a set of check buttons
1759 which correspond to the file attribute bits. As you change
1760 the attribute bits, you can see the octal value change in
1761 the File section.
1762
1763 To move between the widgets (buttons and check buttons)
1764 use the \14arrow keys\v or the \14Tab\v key. To change the state of
1765 the check buttons or to select a button use \14Space.\v You can
1766 also use the hotkeys on the buttons to quickly activate
1767 that selection (they are the highlit letters on the
1768 buttons).
1769
1770 To set the attribute bits, use the Enter key.
1771
1772 When working with a group of files or directories, you
1773 just click on the bits you want to set or clear. Once you
1774 have selected the bits you want to change, you select one
1775 of the action buttons (Set marked or Clear marked).
1776
1777 Finally, to set the attributes exactly to those specified,
1778 you can use the \b[Set all]\v button, which will act on all
1779 the tagged files.
1780
1781 \b[Marked all]\v set only marked attributes to all selected
1782 files
1783
1784 \b[Set marked]\v set marked bits in attributes of all selected
1785 files
1786
1787 \b[Clean marked]\v clear marked bits in attributes of all
1788 selected files
1789
1790 \b[Set]\v set the attributes of one file
1791
1792 \b[Cancel]\v cancel the Chmod command
1793
1794 \ 4[Chown]
1795 Chown
1796
1797 The Chown command is used to change the owner/group of a
1798 file. The hot key for this command is C-x o.
1799
1800 \ 4[File Operations]
1801 File Operations
1802
1803 When you copy, move or delete files the Midnight Commander
1804 shows the file operations dialog. It shows the files
1805 currently being operated on and there are at most three
1806 progress bars. The file bar tells how big part of the
1807 current file has been copied so far. The count bar tells
1808 how many of tagged files have been handled so far. The
1809 bytes bar tells how big part of total size of the tagged
1810 files has been handled so far. If the verbose option is
1811 off the file and bytes bars are not shown.
1812
1813 There are two buttons at the bottom of the dialog.
1814 Pressing the Skip button will skip the rest of the current
1815 file. Pressing the Abort button will abort the whole
1816 operation, the rest of the files are skipped.
1817
1818 There are three other dialogs which you can run into
1819 during the file operations.
1820
1821 The error dialog informs about error conditions and has
1822 three choices. Normally you select either the Skip button
1823 to skip the file or the Abort button to abort the
1824 operation altogether. You can also select the Retry button
1825 if you fixed the problem from another terminal.
1826
1827 The replace dialog is shown when you attempt to copy or
1828 move a file on the top of an existing file. The dialog
1829 shows the dates and sizes of the both files. Press the Yes
1830 button to overwrite the file, the No button to skip the
1831 file, the alL button to overwrite all the files, the nonE
1832 button to never overwrite and the Update button to
1833 overwrite if the source file is newer than the target
1834 file. You can abort the whole operation by pressing the
1835 Abort button.
1836
1837 The recursive delete dialog is shown when you try to
1838 delete a directory which is not empty. Press the Yes
1839 button to delete the directory recursively, the No button
1840 to skip the directory, the alL button to delete all the
1841 directories and the nonE button to skip all the non-empty
1842 directories. You can abort the whole operation by pressing
1843 the Abort button. If you selected the Yes or alL button
1844 you will be asked for a confirmation. Type "yes" only if
1845 you are really sure you want to do the recursive delete.
1846
1847 If you have tagged files and perform an operation on them
1848 only the files on which the operation succeeded are
1849 untagged. Failed and skipped files are left tagged.
1850
1851 \ 4[Mask Copy/Rename]
1852 Mask Copy/Rename
1853
1854 The copy/move operations lets you translate the names of
1855 files in an easy way. To do it, you have to specify the
1856 correct source mask and usually in the trailing part of
1857 the destination specify some wildcards. All the files
1858 matching the source mask are copied/renamed according to
1859 the target mask. If there are tagged files, only the
1860 tagged files matching the source mask are renamed.
1861
1862 There are other option which you can set:
1863
1864 Follow links tells whether make the symlinks and hardlinks
1865 in the source directory (recursively in subdirectories)
1866 new links in the target directory or whether would you
1867 like to copy their content.
1868
1869 Dive into subdirs tells what to do if in the target
1870 directory exists a directory with the same name as the
1871 file/directory being copied. The default action is to copy
1872 it's content into that directory, by enabling this you can
1873 copy the source directory into that directory. Perhaps an
1874 example will help:
1875
1876 You want to copy content of a directory foo to /bla/foo,
1877 which is an already existing directory. Normally (when
1878 Dive is not set), mc would copy it exactly into /bla/foo.
1879 By enabling this option you will copy the content into
1880 /bla/foo/foo, because the directory already exists.
1881
1882 Preserve attributes tells whether to preserve the original
1883 files' permissions, timestamps and if you are root whether
1884 to preserve the original files' UID and GID. If this
1885 option is not set the current value of the umask will be
1886 respected.
1887
1888 \b"Use shell patterns on"\v
1889
1890 When the shell patterns option is on you can use the '*'
1891 and '?' wildcards in the source mask. They work like they
1892 do in the shell. In the target mask only the '*' and
1893 '\<digit>' wildcards are allowed. The first '*' wildcard
1894 in the target mask corresponds to the first wildcard group
1895 in the source mask, the second '*' corresponds to the
1896 second group and so on. The '\1' wildcard corresponds to
1897 the first wildcard group in the source mask, the '\2'
1898 wildcard corresponds to the second group and so on all the
1899 way up to '\9'. The '\0' wildcard is the whole filename of
1900 the source file.
1901
1902 Two examples:
1903
1904 If the source mask is "*.tar.gz", the destination is
1905 "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
1906 the copy will be "foo.tgz" in "/bla".
1907
1908 Let's suppose you want to swap basename and extension so
1909 that "file.c" will become "c.file" and so on. The source
1910 mask for this is "*.*" and the destination is "\2.\1".
1911
1912 \b"Use shell patterns off"\v
1913
1914 When the shell patterns option is off the MC doesn't do
1915 automatic grouping anymore. You must use '\(...\)'
1916 expressions in the source mask to specify meaning for the
1917 wildcards in the target mask. This is more flexible but
1918 also requires more typing. Otherwise target masks are
1919 similar to the situation when the shell patterns option is
1920 on.
1921
1922 Two examples:
1923
1924 If the source mask is "^\(.*\)\.tar\.gz$", the destination
1925 is "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
1926 the copy will be "/bla/foo.tgz".
1927
1928 Let's suppose you want to swap basename and extension so
1929 that "file.c" will become "c.file" and so on. The source
1930 mask for this is "^\(.*\)\.\(.*\)$" and the destination is
1931 "\2.\1".
1932
1933 \b"Case Conversions"\v
1934
1935 You can also change the case of the filenames. If you use
1936 '\u' or '\l' in the target mask the next character will be
1937 converted to uppercase or lowercase correspondingly.
1938
1939 If you use '\U' or '\L' in the target mask the next
1940 characters will be converted to uppercase or lowercase
1941 correspondingly up to the next '\E' or next '\U', '\L' or
1942 the end of the file name.
1943
1944 The '\u' and '\l' are stronger than '\U' and '\L'.
1945
1946 For example, if the source mask is '*' (shell patterns on)
1947 or '^\(.*\)$' (shell patterns off) and the target mask is
1948 '\L\u*' the file names will be converted to have initial
1949 upper case and otherwise lower case.
1950
1951 You can also use '\' as a quote character. For example,
1952 '\\' is a backslash and '\*' is an asterisk.
1953
1954 \ 4[Internal File Viewer]
1955 Internal File Viewer
1956
1957 The internal file viewer provides two display modes: ASCII
1958 and hex. To toggle between modes, use the F4 key. If you
1959 have the GNU gzip program installed, it will be used to
1960 automatically decompress the files on demand.
1961
1962 The viewer will try to use the best method provided by
1963 your system or the file type to display the information.
1964 The internal file viewer will interpret some string
1965 sequences to set the bold and underline attributes, thus
1966 making a pretty display of your files.
1967
1968 When in hex mode, the search function accepts text in
1969 quotes as well as hexadecimal constants.
1970
1971 You can mix quoted text with constants like this: "String"
1972 0xFE 0xBB "more text". Text between constants and quoted
1973 text is just ignored.
1974
1975 Some internal details about the viewer: On systems that
1976 provide the mmap(2) system call, the program maps the file
1977 instead of loading it; if the system does not provide the
1978 mmap(2) system call or the file matches an action that
1979 requires a filter, then the viewer will use it's growing
1980 buffers, thus loading only those parts of the file that
1981 you actually access (this includes compressed files).
1982
1983 Here is a listing of the actions associated with each key
1984 that the Midnight Commander handles in the internal file
1985 viewer.
1986
1987 \bF1\v Invoke the builtin hypertext help viewer.
1988
1989 \bF2\v Toggle the wrap mode.
1990
1991 \bF4\v Toggle the hex mode.
1992
1993 \bF5\v Goto line. This will prompt you for a line number and
1994 will display that line.
1995
1996 \bF6, /. \v Regular expression search.
1997
1998 \b?,\v Reverse regular expression search.
1999
2000 \bF7\v Normal search / hex mode search.
2001
2002 \bC-s.\v Start normal search if there was no previous search
2003 expression else find next match.
2004
2005 \bC-r.\v Start reverse search if there was no previous search
2006 expression else find next match.
2007
2008 \bn.\v Find next match.
2009
2010 \bF8\v Toggle Raw/Parsed mode: This will show the file as
2011 found on disk or if a processing filter has been specified
2012 in the mc.ext file, then the output from the filter.
2013 Current mode is always the other than written on the
2014 button label, since on the button is the mode which you
2015 enter by that key.
2016
2017 \bF9\v Toggle the format/unformat mode: when format mode is on
2018 the viewer will interpret some string sequences to show
2019 bold and underline with different colors. Also, on button
2020 label is the other mode than current.
2021
2022 \bF10, Esc.\v Exit the internal file viewer.
2023
2024 \bnext-page, space, C-v.\v Scroll one page forward.
2025
2026 \bprev-page, M-v, C-b, backspace.\v Scroll one page backward.
2027
2028 \bdown-key\v Scroll one line forward.
2029
2030 \bup-key\v Scroll one line backward.
2031
2032 \bC-l\v Refresh the screen.
2033
2034 \b!\v Spawn a shell in the currently working directory.
2035
2036 \b"[n] m"\v Set the mark n.
2037
2038 \b"[n] r"\v Jump to the mark n.
2039
2040 \bC-f\v Jump to the next file.
2041
2042 \bC-b \v Jump to the previous file.
2043
2044 \bM-r \v Toggle the ruler.
2045
2046 It's possible to instruct the file viewer how to display a
2047 file, look at the \ 1Extension File Edit section\ 2Extension File Edit\ 3\ 4[Internal File Editor]
2048 Internal File Editor
2049
2050 The internal file editor provides most of the features of
2051 common full screen editors. It is invoked using \bF4\v
2052 provided the \14use_internal_edit\v option is set in the
2053 initialization file. It has an extensible file size limit
2054 of sixteen megabytes and edits binary files flawlessly.
2055
2056 The features it presently supports are: Block copy, move,
2057 delete, cut, paste; \14"key for key undo"; \v pull-down menus;
2058 file insertion; macro definition; regular expression
2059 search and replace (and our own scanf-printf search and
2060 replace); shift-arrow MSW-MAC text highlighting (for the
2061 linux console only); insert-overwrite toggle; and an
2062 option to pipe text blocks through shell commands like
2063 indent.
2064
2065 The editor is very easy to use and requires no tutoring.
2066 To see what keys do what, just consult the appropriate
2067 pull-down menu. Other keys are: Shift movement keys do
2068 text highlighting. \bCtrl-Ins\v copies to the file
2069 \bcooledit.clip and \v \bShift-Ins\v pastes from cooledit.clip.
2070 \bShift-Del \v cuts to \bcooledit.clip, \v and \bCtrl-Del\v deletes
2071 highlighted text. The completion key also does a Return
2072 with an automatic indent. Mouse highlighting also works,
2073 and you can override the mouse as usual by holding down
2074 the shift key while dragging the mouse to let normal
2075 terminal mouse highlighting work.
2076
2077 To define a macro, press \bCtrl-R\v and then type out the key
2078 strokes you want to be executed. Press \bCtrl-R\v again when
2079 finished. You can then assign the macro to any key you
2080 like by pressing that key. The macro is executed when you
2081 press \bCtrl-A and then the assigned key. The macro is also
2082 executed if\v you press Meta, Ctrl, or Esc and the assigned
2083 key, provided that the key is not used for any other
2084 function. Once defined, the macro commands go into the
2085 file \bcedit/cooledit.macros\v in your home directory. You can
2086 delete a macro by deleting the appropriate line in this
2087 file.
2088
2089 \bF19 will format C code when it is highlighted. For this\v to
2090 work, make an executable file called \bcedit/edit.indent.rc\v
2091 in your home directory containing the following:
2092
2093 #!/bin/sh
2094 /usr/bin/indent -kr -pcs ~/cedit/cooledit.block >& /dev/null
2095 cat /dev/null > ~/cedit/cooledit.error
2096
2097 You can use scanf search and replace to search and replace
2098 a C format string. First take a look at the \bsscanf\v and
2099 \bsprintf man pages to see what a format string\v is and how
2100 it works. An example is as follows: Suppose you want to
2101 replace all occurences of say, an open bracket, three
2102 comma seperated numbers, and a close bracket, with the
2103 word \14apples, \v the third number, the word \14oranges\v and then
2104 the second number, I would fill in the Replace dialog box
2105 as follows:
2106
2107 Enter search string
2108 (%d,%d,%d)
2109 Enter replace string
2110 apples %d oranges %d
2111 Enter replacement argument order
2112 3,2
2113
2114 The last line specifies that the third and then the second
2115 number are to be used in place of the first and second.
2116
2117 It is advisable to use this feature with Prompt on replace
2118 on, because a match is thought to be found whenever the
2119 number of arguments found matches the number given, which
2120 is not always a real match. Scanf also treats whitespace
2121 as being elastic. Note that the scanf format % is very
2122 useful for scanning strings, and whitespace.
2123
2124 The editor also displays non-us characters (160+). When
2125 editing binary files, you should set \bdisplay bits\v to 7
2126 bits in the options menu to keep the spacing clean.
2127
2128 See also the file \bREADME.edit\v in the source tree for some
2129 more info.
2130
2131 \ 4[Completion]
2132 Completion
2133
2134
2135 Let the Midnight Commander type for you.
2136
2137 Attempt to perform completion on the text before current
2138 position. MC attempts completion treating the text as
2139 variable (if the text begins with \b$\v ), username (if the
2140 text begins with \b~\v ), hostname (if the text begins with \b@\v
2141 ) or command (if you are on the command line in the
2142 position where you might type a command, possible
2143 completions then include shell reserved words and shell
2144 builtin commands as well) in turn. If none of these
2145 produces a match, filename completion is attempted.
2146
2147 Filename, username, variable and hostname completion works
2148 on all input lines, command completion is command line
2149 specific. If the completion is ambiguous (there are more
2150 different possibilities), MC beeps and the following
2151 action depends on the setting of the \ 1show_all_if_ambiguous\ 2Special
2152 Settings\ 3variable in the Initialization file. If it is nonzero, a
2153 list of all possibilities pops up next to the current
2154 position and you can select with the arrow keys and \bEnter\v
2155 the correct entry. You can also type the first letters in
2156 which the possibilities differ to move to a subset of all
2157 possibilities and complete as much as possible. If you
2158 press \bM-Tab\v again, only the subset will be shown in the
2159 listbox, otherwise the first item which matches all the
2160 previous characters will be highlighted. As soon as there
2161 is no ambiguity, dialog disappears, but you can hide it by
2162 canceling keys \bEsc,\v \bF10\v and left and right arrow keys. If
2163 \ 1show_all_if_ambiguous\ 2Special Settings\ 3 is set to zero, the dialog pops up
2164 only if you press \bM-Tab\v for the second time, for the first
2165 time MC just beeps.
2166
2167 \ 4[Virtual File System]
2168 Virtual File System
2169
2170 The Midnight Commander is provided with a code layer to
2171 access the file system; this code layer is known as the
2172 virtual file system switch. The virtual file system switch
2173 allows the Midnight Commander to manipulate files not
2174 located on the Unix file system.
2175
2176 Currently the Midnight Commander is packaged with five
2177 Virtual File Systems (VFS): the local file system, used
2178 for accessing the regular Unix file system; the ftpfs,
2179 used to manipulate files on remote systems with the FTP
2180 protocol; the tarfs, used to manipulate tar and compressed
2181 tar files; the undelfs, used to recover deleted files on
2182 ext2 file systems (the default file system for Linux
2183 systems) and finally the mcfs (Midnight Commander file
2184 system), a network based file system.
2185
2186 The VFS switch code will interpret all of the path names
2187 used and will forward them to the correct file system, the
2188 formats used for each one of the file systems is described
2189 later in their own section.
2190
2191 \ 4[FTP File System]
2192 FTP File System
2193
2194 The ftpfs allows you to manipulate files on remote
2195 machines, to actually use it, you may try to use the panel
2196 command FTP link (accessible from the menubar) or you may
2197 directly change your current directory to it using the cd
2198 command to a path name that looks like this:
2199
2200 \14ftp://[!][user[:pass]@]machine[:port][remote-dir]\v
2201
2202 The, \14user, port\v and \14remote-dir\v elements are optional. If
2203 you specify the \14user\v element, then the Midnight Commander
2204 will try to logon on the remote machine as that user,
2205 otherwise it will use your login name. The optional \14pass\v
2206 element, if present is the password used for the
2207 connection. This use is not recomented (nor keeping this
2208 in your hotlist, unless you set the appropiate permissions
2209 there, and then, it may not be entirely safe anyways).
2210
2211 Examples:
2212
2213 ftp://ftp.nuclecu.unam.mx/linux/local
2214 ftp://tsx-11.mit.edu/pub/linux/packages
2215 ftp://!behind.firewall.edu/pub
2216 ftp://guest@remote-host.com:40/pub
2217 ftp://miguel:xxx@server/pub
2218
2219 To connect to sites behind a firewall, you will need to
2220 use the prefix ftp://! (ie, with a bang character after
2221 the double slash) to make the Midnight Commander use a
2222 proxy host for doing the ftp transfer. You can define the
2223 proxy host in the \ 1Virtual File System\ 2Virtual FS\ 3 dialog box.
2224
2225 Another option is to set the \14ftpfs_always_use_proxy\v
2226 parameter in the initialization file. This will configure
2227 the program to always use the proxy host. If this variable
2228 is set, the program will do two things: consult the
2229 @prefix@/lib/mc.no_proxy file for lines containing host
2230 names that are local (if the host name starts with a dot,
2231 it is assumed to be a domain) and to assume that any
2232 hostnames without dots in their names are directly
2233 accessible.
2234
2235 If you are using the ftpfs code with a filtering packet
2236 router that does not allow you to use the regular mode of
2237 opening files, you may want to force the program to use
2238 the passive-open mode. To use this, set the
2239 ftpfs_use_passive_connections option.
2240
2241 The Midnight Commander keeps the directory listing in a
2242 cache. The cache expire time is configurable in the
2243 \ 1Virtual File System \ 2Virtual FS\ 3 dialog box. This has the funny
2244 behavior that even if you make changes to a directory,
2245 they will not be reflected in the directory listing until
2246 you force a cache reload with the C-r key. This is a
2247 feature (when you think it's a bug, think about
2248 manipulating files on the other side of the Atlantic with
2249 ftpfs).
2250
2251 \ 4[Tar File System]
2252 Tar File System
2253
2254 The tar file system provides you with read-only access to
2255 your tar files and compressed tar files by using the chdir
2256 command. To change your directory to a tar file, you
2257 change your current directory to the tar file by using the
2258 following syntax:
2259
2260 \14tar:filename.tar[dir-inside-tar]\v
2261
2262 The mc.ext file already provides a shortcut for tar files,
2263 this means that usually you just point to a tar file and
2264 press return to enter into the tar file, see the \ 1Extension
2265 File Edit \ 2Extension File Edit\ 3 section for details on how this is done.
2266
2267 Examples:
2268
2269 tar:mc-3.0.tar.gz/mc-3.0/vfs
2270 tar:/ftp/GCC/gcc-2.7.0.tar
2271
2272 The latter specifies the full path of the tar archive.
2273
2274 \ 4[Network File System]
2275 Network File System
2276
2277 The Midnight Commander file system is a network base file
2278 system that allows you to manipulate the files in a remote
2279 machine as if they were local. To use this, the remote
2280 machine must be running the mcserv(8) server program.
2281
2282 To connect to a remote machine, you just need to chdir
2283 into a special directory which name is in the following
2284 format:
2285
2286 \14mc:[user@]machine[:port][remote-dir]\v
2287
2288 The, \14user, port\v and \14remote-dir\v elements are optional. If
2289 you specify the \14user\v element then the Midnight Commander
2290 will try to logon on the remote machine as that user,
2291 otherwise it will use your login name.
2292
2293 The \14port\v element is used when the remote machine running
2294 on a special port (see the mcserv(8) manual page for more
2295 information about ports); finally, if the \14remote-dir\v
2296 element is present, your current directory on the remote
2297 machine will be set to this one.
2298
2299 Examples:
2300
2301 mc:ftp.nuclecu.unam.mx/linux/local
2302 mc:joe@foo.edu:11321/private
2303
2304 \ 4[Undelete File System]
2305 Undelete File System
2306
2307 On Linux systems, if you asked configure to use the ext2fs
2308 undelete facilities, you will have the undelete file
2309 system available. Recovery of deleted files is only
2310 available on ext2 file systems. The undelete file system
2311 is just an interface to the ext2fs library to: retrieve
2312 all of the deleted files names on an ext2fs and provides
2313 and to extract the selected files into a regular
2314 partition.
2315
2316 To use this file system, you have to chdir into the
2317 special file name formed by the "undel:" prefix and the
2318 file name where the actual file system resides.
2319
2320 For example, to recover deleted files on the second
2321 partition of the first scsi disk on Linux, you would use
2322 the following path name:
2323
2324 undel:/dev/sda2
2325
2326 It may take a while for the undelfs to load the required
2327 information before you start browsing files there.
2328
2329 \ 4[Colors]
2330 Colors
2331
2332 The Midnight Commander will try to detect if your terminal
2333 supports color using the terminal database and your
2334 terminal name. Sometimes it gets confused, so you may
2335 force color mode or disable color mode using the -c and -b
2336 flag respectively.
2337
2338 If the program is compiled with the Slang screen manager
2339 instead of ncurses, it will also check the variable
2340 \bCOLORTERM,\v if it is set, it has the same effect as the -c
2341 flag.
2342
2343 You may specify terminals that always force color mode by
2344 adding the \14color_terminals\v variable to the Colors section
2345 of the initialization file. This will prevent the Midnight
2346 Commander from trying to detect if your terminal supports
2347 color. Example:
2348 [Colors]
2349 color_terminals=linux,xterm
2350 color_terminals=terminal-name1,terminal-name2...
2351
2352 The program can be compiled with both ncurses and slang,
2353 ncurses does not provide a way to force color mode:
2354 ncurses uses just the information in the terminal
2355 database.
2356
2357 The Midnight Commander provides a way to change the
2358 default colors. Currently the colors are configured using
2359 the environment variable \bMC_COLOR_TABLE \v or the Colors
2360 section in the initialization file.
2361
2362 In the Colors section, the default color map is loaded
2363 from the \14base_color \v variable. You can specify an
2364 alternate color map for a terminal by using the terminal
2365 name as the key in this section. Example:
2366
2367 [Colors]
2368 base_color=
2369 xterm=menu=magenta:marked=,magenta:markselect=,red
2370
2371 The format for the color definition is:
2372
2373 <keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
2374
2375 The colors are optional, and the keywords are: normal,
2376 selected, marked, markselect, errors, input, reverse menu,
2377 menusel, menuhot, menuhotsel, gauge; the dialog colors
2378 are: dnormal, dfocus, dhotnormal, dhotfocus; Help colors
2379 are: helpnormal, helpitalic, helpbold, helplink,
2380 helpslink; Viewer color is: viewunderline; Special
2381 highlighting mode: executable, directory, link, device,
2382 special.
2383
2384 The dialog boxes use the following colors: \14dnormal \v is
2385 used for the normal text, \14dfocus\v is the color used for the
2386 currently selected component, \14dhotnormal\v is the color used
2387 to differentiate the hotkey color in normal components,
2388 whereas the \14dhotfocus\v color is used for the highlighted
2389 color in the currently selected component.
2390
2391 Menus use the same scheme but uses the menu, menusel,
2392 menuhot and menuhotsel tags instead.
2393
2394 Help uses the following colors: \14helpnormal\v is used for
2395 normal text, \14helpitalic\v is used for text which is
2396 emphasized in italic in the manual page, \14helpbold\v is used
2397 for text which is emphasized in bold in the manual page,
2398 \14helplink\v is used for not selected hyperlinks and \14helpslink\v
2399 is used for selected hyperlink.
2400
2401 \14gauge\v determines color of filled part of the progress bar
2402 (gauge), which shows how many percent of files were copied
2403 etc. in a graphical way.
2404
2405 For file type highlighting mode \14directory\v specifies the
2406 color in which directories are shown; \14executable\v for
2407 executable files; \14link \v is used to represent links; \14device
2408 \vfor character and block devices; \14special\v is for special
2409 files, such as FIFO and IPC sockets; \14core\v is for core
2410 files (see also the option \bhighlight_mode\v at the section
2411 on \ 1Special Settings).\ 2Special Settings\ 3
2412
2413 The possible colors are: black, gray, red, brightred,
2414 green, brightgreen, brown, yellow, blue, brightblue,
2415 magenta, brightmagenta, cyan, brightcyan, lightgray and
2416 white.
2417
2418 \ 4[Special Settings]
2419 Special Settings
2420
2421 Most of the settings of the Midnight Commander can be
2422 changed from the menus. However, there are a small number
2423 of settings which can only be changed by editing the setup
2424 file.
2425
2426 These variables may be set in your ~/.mc/ini file:
2427
2428 \14clear_before_exec.\v By default the Midnight Commander
2429 clears the screen before executing a command. If you would
2430 prefer to see the output of the command at the bottom of
2431 the screen, edit your ~/mc.ini file and change the value
2432 of the field clear_before_exec to 0.
2433
2434 \14confirm_view_dir.\v If you press F3 on a directory, normally
2435 MC enters that directory. If this flag is set to 1, then
2436 MC will ask for confirmation before changing the directory
2437 if you have files tagged.
2438
2439 \14drop_menus.\v If this variable is set, when you press the F9
2440 key, the pull down menus will be activated, else, you will
2441 only be presented with the menu title, and you will have
2442 to select the entry with the arrow keys or the first
2443 letter and from there select your option in the menu.
2444
2445 \14ftpfs_retry_seconds.\v This value is the number of seconds
2446 the Midnight Commander will wait before attempting a
2447 reconnection to an ftp server that has denied the login.
2448 If the value is zero, the the program will not retry the
2449 login.
2450
2451 \14ftpfs_use_passive_connections.\v This option is by off
2452 default. This makes the ftpfs code use the passive open
2453 mode for transfering files. This is used by people that
2454 are behind a filtering packet router. This option just
2455 works if you are not using an ftp proxy.
2456
2457 \14max_dirt_limit.\v Specifies how many screen updates can be
2458 skipped at most in the internal file viewer. Normally this
2459 value is not significant, because the code automatically
2460 adjusts the number of updates to skip according to the
2461 rate of incoming keypresses. However, on very slow
2462 machines or terminals with a fast keyboard auto repeat, a
2463 big value can make screen updates too jumpy. It seems that
2464 setting max_dirt_limit to 10 causes the best behavior, and
2465 that is the default value.
2466
2467 \14mouse_move_pages.\v Controls whenever scrolling with the
2468 mouse is done by pages or line by line on the panels.
2469
2470 \14mouse_move_pages_viewer.\v Controls if scrolling with the
2471 mouse is done by pages or line by line on the internal
2472 file viewer.
2473
2474 \14navigate_with_arrows.\v If this setting is turned on, then
2475 you may use the arrows keys to automatically chdir if the
2476 current selection is a subdirectory and the shell command
2477 line is empty. By default, this setting is off.
2478
2479 \14nice_rotating_dash\v When on, this flag causes the commander
2480 to show a rotating dash as a work in progress indicator.
2481
2482 \14old_esc_mode\v By default the Midnight Commander treats the
2483 ESC key as a key prefix (old_esc_mode=0), if you set this
2484 option (old_esc_mode=1), then the ESC key will act as a
2485 prefix key for one second, and if no extra keys have
2486 arrived, then the ESC key is interpreted as a cancel key
2487 (ESC ESC).
2488
2489
2490 \14only_leading_plus_minus\v set special treatment for '+',
2491 '-', '*' in command line (select, unselect, reverse
2492 selection) only if command line is empty. No need to quote
2493 this characters in the middle of the command line. But we
2494 can not change selection when command line is not empty.
2495 \14panel_scroll_pages\v If set (the default), panel will scroll
2496 by half the display when the cursor reaches the end or the
2497 beginning of the panel, otherwise it will just scroll a
2498 file at a time.
2499
2500 \14preserve_uidgid\v If this option is set (the default), when
2501 logged in as root the default will be to preserve the UID
2502 and the GID of files. Some users prefer to disable this
2503 option, so that's why it's configurable.
2504
2505 \14show_output_starts_shell\v This variable only works if you
2506 are not using the subshell support. When you use the C-o
2507 keystroke to go back to the user screen, if this one is
2508 set, you will get a fresh shell. Otherwise, pressing any
2509 key will bring you back to the Midnight Commander.
2510
2511 \14show_all_if_ambiguous.\v By default the Midnight Commander
2512 pops up all possible \ 1completions\ 2Completion\ 3 if the completion is
2513 ambiguous if you press \bM-Tab\v for the second time, for the
2514 first time it just completes as much as possible and in
2515 the case of ambiguity beeps. If you want to see all the
2516 possible completions already after the first \bM-Tab\v
2517 pressing, set this option to 1.
2518
2519 \14torben_fj_mode\v If this flag is set, then the home and end
2520 keys will work slightly different on the panels, instead
2521 of moving the selection to the first and last files in the
2522 panels, they will act as follows: The home key will: Go up
2523 to the middle line, if below it; else go to the top line
2524 unless it is already on the top line, in this case it will
2525 go to the first file in the panel. The end key has a
2526 similar behavior: Go down to the middle line, if over it;
2527 else go to the bottom line unless you already are at the
2528 bottom line, in such case it will move the selection to
2529 the last file name in the panel.
2530
2531 \14highlight_mode \v By default all information on panels
2532 displayed with the same color. If this variable is set to
2533 1, then \14perm\v or \14mode\v tokens in display format get ability
2534 to show access rights of the user to the shown file.
2535 Appropriate triplet of reading, writing and execution
2536 rights highlighted with the yellow ( \14selected\v ) color. In
2537 addition, if the variable is equal to 2, then all lines
2538 are displaying by the color according to their type (see
2539 \ 1Colors).\ 2Colors\ 3 Permissions highlighting also works in this mode.
2540
2541 \14use_file_to_guess_type\v If this variable is on (the
2542 default) it will spawn the file command to match the file
2543 types listed on the \ 1mc.ext file.\ 2Extension File Edit\ 3
2544
2545 \14xterm_mode\v If this variable is on (default is off) when
2546 you browse the file system on a Tree panel, it will
2547 automatically reload the other panel with the contents of
2548 the selected directory.
2549
2550 \ 4[Terminal databases]
2551 Terminal databases
2552
2553 The Midnight Commander provides a way to fix your system
2554 terminal database without requiring root privileges. The
2555 Midnight Commander searches in the system initialization
2556 file (the mc.lib file located in the Midnight Commander
2557 library directory) or in the ~/.mc/ini file for the
2558 section "terminal:your-terminal-name" and then for the
2559 section "terminal:general", each line of the section
2560 contains a key symbol that you want to define, followed by
2561 an equal sign and the definition for the key. You can use
2562 the special \E form to represent the escape character and
2563 the ^x to represent the control-x character.
2564
2565 The possible key symbols are:
2566
2567 f0 to f20 Function keys f0-f20
2568 bs backspace
2569 home home key
2570 end end key
2571 up up arrow key
2572 down down arrow key
2573 left left arrow key
2574 right right arrow key
2575 pgdn page down key
2576 pgup page up key
2577 insert the insert character
2578 delete the delete character
2579 complete to do completion
2580
2581 For example, to define the key insert to be the Escape + [
2582 + O + p, you set this in the ini file:
2583
2584 insert=\\E[Op
2585
2586 The \14complete\v key symbol represents the escape sequences
2587 used to invoke the completion process, this is invoked
2588 with M-tab, but you can define other keys to do the same
2589 work (on those keyboard with tons of nice and unused keys
2590 everywhere).
2591
2592 \ 4[]
2593
2594
2595 \ 4[FILES]
2596 FILES
2597
2598 @prefix@/lib/mc.hlp The help file for the program.
2599
2600 @prefix@/lib/mc/mc.ext The default system-wide extensions
2601 file.
2602
2603 ~/.mc/ext User's own extension, view configuration and
2604 edit configuration file. They override the contents of the
2605 system wide files if present.
2606
2607 @prefix@/lib/mc/mc.ini The default system-wide setup for
2608 the Midnight Commander, used only if the user lacks his
2609 own ~/.mc/ini file.
2610
2611 @prefix@/lib/mc/mc.lib Global settings for the Midnight
2612 Commander. Settings in this file are global to any
2613 Midnight Commander, it is useful to define site-global
2614 terminal settings.
2615
2616 ~/.mc/ini User's own setup. If this file is present then
2617 the setup is loaded from here instead of the system-wide
2618 startup file.
2619
2620 @prefix@/lib/mc/mc.hint This file contains the hints
2621 (cookies) displayed by the program.
2622
2623 @prefix@/lib/mc/mc.menu This file contains the default
2624 system-wide applications menu.
2625
2626 ~/.mc/menu User's own application menu. If this file is
2627 present it is used instead of the system-wide applications
2628 menu.
2629
2630 ~/.mc/tree The directory list for the directory tree and
2631 tree view features. Each line is one entry. The lines
2632 starting with a slash are full directory names. The lines
2633 starting with a number have that many characters equal to
2634 the previous directory. If you want you may create this
2635 file by giving the command "find / -type d -print | sort >
2636 ~/.mc.tree". Normally there is no sense in doing it
2637 because the Midnight Commander automatically updates this
2638 file for you.
2639
2640 Local user-defined menu. If this file is present it is
2641 used instead of the home or system-wide applications menu.
2642
2643 \ 4[AVAILABILITY]
2644 AVAILABILITY
2645
2646 The latest version of this program can be found at
2647 ftp.nuclecu.unam.mx in the directory /linux/local and from
2648 Europe at sunsite.mff.cuni.cz in the directory /GNU/mc and
2649 at ftp.teuto.de in the directory /lmb/mc.\ 4[SEE ALSO]
2650 SEE ALSO
2651
2652 ed(1), gpm(1), mcserv(8), terminfo(1), view(1), sh(1),
2653 bash(1), tcsh(1), zsh(1).
2654
2655 The Midnight Commander page on the World Wide Web:
2656 http://mc.blackdown.org/mc
2657
2658 \ 4[AUTHORS]
2659 AUTHORS
2660
2661 Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx), Janne
2662 Kukonlehto (jtklehto@paju.oulu.fi), Radek Doulik
2663 (rodo@earn.cvut.cz), Fred Leeflang (fredl@nebula.ow.org),
2664 Dugan Porter (dugan@b011.eunet.es), Jakub Jelinek
2665 (jj@sunsite.mff.cuni.cz), Ching Hui
2666 (mr854307@cs.nthu.edu.tw), Andrej Borsenkow
2667 (borsenkow.msk@sni.de), Norbert Warmuth
2668 (nwarmuth@privat.circular.de), Mauricio Plaza
2669 (mok@roxanne.nuclecu.unam.mx) and Paul Sheer
2670 (psheer@icon.co.za) are the developers of this package;
2671 Alessandro Rubini (rubini@ipvvis.unipv.it) has been
2672 especially helpful debugging and enhancing the program's
2673 mouse support, John Davis (davis@space.mit.edu) also made
2674 his S-Lang library available to us under the GPL and
2675 answered my questions about it, and the following people
2676 have contributed code and many bug fixes (in alphabetical
2677 order):
2678
2679 Adam Tla/lka (atlka@sunrise.pg.gda.pl), alex@bcs.zp.ua
2680 (Alex I. Tkachenko), Antonio Palama, DOS port
2681 (palama@posso.dm.unipi.it), Erwin van Eijk
2682 (wabbit@corner.iaf.nl), Gerd Knorr
2683 (kraxel@cs.tu-berlin.de), Jean-Daniel Luiset
2684 (luiset@cih.hcuge.ch), Jon Stevens
2685 (root@dolphin.csudh.edu), Juan Francisco Grigera, Win32
2686 port (j-grigera@usa.net), Juan Jose Ciarlante
2687 (jjciarla@raiz.uncu.edu.ar), Ilya Rybkin
2688 (rybkin@rouge.phys.lsu.edu), Marcelo Roccasalva
2689 (mfroccas@raiz.uncu.edu.ar), Massimo Fontanelli
2690 (MC8737@mclink.it), Pavel Roskin
2691 (pavel.roskin@ecsoft.co.uk), Sergey Ya. Korshunoff
2692 (root@seyko.msk.su), Thomas Pundt
2693 (pundtt@math.uni-muenster.de), Timur Bakeyev
2694 (timur@goff.comtat.kazan.su), Tomasz Cholewo
2695 (tjchol01@mecca.spd.louisville.edu), Torben Fjerdingstad
2696 (torben.fjerdingstad@uni-c.dk), Vadim Sinolitis
2697 (vvs@nsrd.npi.msu.su) and Wim Osterholt
2698 (wim@djo.wtm.tudelft.nl).
2699
2700 \ 4[BUGS]
2701 BUGS
2702
2703 See the file TODO in the distribution for information on
2704 what remains to be done.
2705
2706 If you want to report a problem with the program, please
2707 send mail to this address:
2708 mc-bugs@roxanne.nuclecu.unam.mx.
2709
2710 Provide a detailed description of the bug, the version of
2711 the program you are running (mc -V display this
2712 information), the operating system you are running the
2713 program on and if the program crashes, we would appreciate
2714 a stack trace.
2715
2716 \ 4[main]
2717 \ e \ 5lqwqk k k \ 6
2718 \ 5x x x . x . x \ 6
2719 \ 5x x x k lqu wqk k lqw tqk n \ 6
2720 \ 5x x x x x x x x x x x x x x \ 6
2721 \ 5v v v mqv v v v mqu v v mj\ 6
2722 \ 5qqqqqq\ 6\bCommander\v\ 5qj\ 6 \a
2723 \ f\10\f
2724
2725 Version \a
2726
2727 \11This is the main help screen for the \bGNU Midnight Commander\v.
2728
2729 To learn more on how to use the interactive help facility
2730 just tap \ 1enter\ 2How to use help\ 3. You may like to go directly to the
2731 help \ 1contents\ 2Contents\ 3.
2732
2733 The Midnight Commander is written by its \ 1authors\ 2AUTHORS\ 3.
2734
2735 The Midnight Commander comes with ABSOLUTELY NO \ 1WARRANTY\ 2Warranty\ 3.
2736 This is free software, and you are welcome to redistribute
2737 it under certain \ 1conditions\ 2License\ 3.\ 4[License]
2738
2739 GNU GENERAL PUBLIC LICENSE
2740 Version 2, June 1991
2741
2742 Copyright (C) 1989, 1991 Free Software Foundation,
2743 Inc. 675 Mass Ave, Cambridge, MA 02139, USA.
2744
2745 Everyone is permitted to copy and distribute verbatim
2746 copies of this license document, but changing it is not
2747 allowed.
2748
2749 Preamble
2750
2751 The licenses for most software are designed to take away
2752 your freedom to share and change it. By contrast, the GNU
2753 General Public License is intended to guarantee your
2754 freedom to share and change free software--to make sure
2755 the software is free for all its users. This General
2756 Public License applies to most of the Free Software
2757 Foundation's software and to any other program whose
2758 authors commit to using it. (Some other Free Software
2759 Foundation software is covered by the GNU Library General
2760 Public License instead.) You can apply it to your
2761 programs, too.
2762
2763 When we speak of free software, we are referring to
2764 freedom, not price. Our General Public Licenses are
2765 designed to make sure that you have the freedom to
2766 distribute copies of free software (and charge for this
2767 service if you wish), that you receive source code or can
2768 get it if you want it, that you can change the software or
2769 use pieces of it in new free programs; and that you know
2770 you can do these things.
2771
2772 To protect your rights, we need to make restrictions
2773 that forbid anyone to deny you these rights or to ask you
2774 to surrender the rights. These restrictions translate to
2775 certain responsibilities for you if you distribute copies
2776 of the software, or if you modify it.
2777
2778 For example, if you distribute copies of such a program,
2779 whether gratis or for a fee, you must give the recipients
2780 all the rights that you have. You must make sure that
2781 they, too, receive or can get the source code. And you
2782 must show them these terms so they know their rights.
2783
2784 We protect your rights with two steps: (1) copyright the
2785 software, and (2) offer you this license which gives you
2786 legal permission to copy, distribute and/or modify the
2787 software.
2788
2789 Also, for each author's protection and ours, we want to
2790 make certain that everyone understands that there is no
2791 warranty for this free software. If the software is
2792 modified by someone else and passed on, we want its
2793 recipients to know that what they have is not the
2794 original, so that any problems introduced by others will
2795 not reflect on the original authors' reputations.
2796
2797 Finally, any free program is threatened constantly by
2798 software patents. We wish to avoid the danger that
2799 redistributors of a free program will individually obtain
2800 patent licenses, in effect making the program proprietary.
2801 To prevent this, we have made it clear that any patent
2802 must be licensed for everyone's free use or not licensed
2803 at all.
2804
2805 The precise terms and conditions for copying,
2806 distribution and modification follow.
2807 \f
2808 GNU GENERAL PUBLIC LICENSE
2809 TERMS AND CONDITIONS FOR COPYING,
2810 DISTRIBUTION AND MODIFICATION
2811
2812 0. This License applies to any program or other work
2813 which contains a notice placed by the copyright holder
2814 saying it may be distributed under the terms of this
2815 General Public License. The "Program", below, refers to
2816 any such program or work, and a "work based on the
2817 Program" means either the Program or any derivative work
2818 under copyright law: that is to say, a work containing the
2819 Program or a portion of it, either verbatim or with
2820 modifications and/or translated into another language.
2821 (Hereinafter, translation is included without limitation
2822 in the term "modification".) Each licensee is addressed
2823 as "you".
2824
2825 Activities other than copying, distribution and
2826 modification are not covered by this License; they are
2827 outside its scope. The act of running the Program is not
2828 restricted, and the output from the Program is covered
2829 only if its contents constitute a work based on the
2830 Program (independent of having been made by running the
2831 Program). Whether that is true depends on what the
2832 Program does.
2833
2834 1. You may copy and distribute verbatim copies of the
2835 Program's source code as you receive it, in any medium,
2836 provided that you conspicuously and appropriately publish
2837 on each copy an appropriate copyright notice and
2838 disclaimer of warranty; keep intact all the notices that
2839 refer to this License and to the absence of any warranty;
2840 and give any other recipients of the Program a copy of
2841 this License along with the Program.
2842
2843 You may charge a fee for the physical act of transferring
2844 a copy, and you may at your option offer warranty
2845 protection in exchange for a fee.
2846
2847 2. You may modify your copy or copies of the Program or
2848 any portion of it, thus forming a work based on the
2849 Program, and copy and distribute such modifications or
2850 work under the terms of Section 1 above, provided that you
2851 also meet all of these conditions:
2852
2853 a) You must cause the modified files to carry
2854 prominent notices stating that you changed the files and
2855 the date of any change.
2856
2857 b) You must cause any work that you distribute or
2858 publish, that in whole or in part contains or is derived
2859 from the Program or any part thereof, to be licensed as a
2860 whole at no charge to all third parties under the terms of
2861 this License.
2862
2863 c) If the modified program normally reads commands
2864 interactively when run, you must cause it, when started
2865 running for such interactive use in the most ordinary way,
2866 to print or display an announcement including an
2867 appropriate copyright notice and a notice that there is no
2868 warranty (or else, saying that you provide a warranty) and
2869 that users may redistribute the program under these
2870 conditions, and telling the user how to view a copy of
2871 this License. (Exception: if the Program itself is
2872 interactive but does not normally print such an
2873 announcement, your work based on the Program is not
2874 required to print an announcement.)
2875
2876 These requirements apply to the modified work as a whole.
2877 If identifiable sections of that work are not derived from
2878 the Program, and can be reasonably considered independent
2879 and separate works in themselves, then this License, and
2880 its terms, do not apply to those sections when you
2881 distribute them as separate works. But when you
2882 distribute the same sections as part of a whole which is a
2883 work based on the Program, the distribution of the whole
2884 must be on the terms of this License, whose permissions
2885 for other licensees extend to the entire whole, and thus
2886 to each and every part regardless of who wrote it.
2887
2888 Thus, it is not the intent of this section to claim rights
2889 or contest your rights to work written entirely by you;
2890 rather, the intent is to exercise the right to control the
2891 distribution of derivative or collective works based on
2892 the Program.
2893
2894 In addition, mere aggregation of another work not based on
2895 the Program with the Program (or with a work based on the
2896 Program) on a volume of a storage or distribution medium
2897 does not bring the other work under the scope of this
2898 License.
2899
2900 3. You may copy and distribute the Program (or a work
2901 based on it, under Section 2) in object code or executable
2902 form under the terms of Sections 1 and 2 above provided
2903 that you also do one of the following:
2904
2905 a) Accompany it with the complete corresponding
2906 machine-readable source code, which must be distributed
2907 under the terms of Sections 1 and 2 above on a medium
2908 customarily used for software interchange; or,
2909
2910 b) Accompany it with a written offer, valid for at
2911 least three years, to give any third party, for a charge
2912 no more than your cost of physically performing source
2913 distribution, a complete machine-readable copy of the
2914 corresponding source code, to be distributed under the
2915 terms of Sections 1 and 2 above on a medium customarily
2916 used for software interchange; or,
2917
2918 c) Accompany it with the information you received as
2919 to the offer to distribute corresponding source code.
2920 (This alternative is allowed only for noncommercial
2921 distribution and only if you received the program in
2922 object code or executable form with such an offer, in
2923 accord with Subsection b above.)
2924
2925 The source code for a work means the preferred form of the
2926 work for making modifications to it. For an executable
2927 work, complete source code means all the source code for
2928 all modules it contains, plus any associated interface
2929 definition files, plus the scripts used to control
2930 compilation and installation of the executable. However,
2931 as a special exception, the source code distributed need
2932 not include anything that is normally distributed (in
2933 either source or binary form) with the major components
2934 (compiler, kernel, and so on) of the operating system on
2935 which the executable runs, unless that component itself
2936 accompanies the executable.
2937
2938 If distribution of executable or object code is made by
2939 offering access to copy from a designated place, then
2940 offering equivalent access to copy the source code from
2941 the same place counts as distribution of the source code,
2942 even though third parties are not compelled to copy the
2943 source along with the object code.
2944
2945 4. You may not copy, modify, sublicense, or distribute
2946 the Program except as expressly provided under this
2947 License. Any attempt otherwise to copy, modify,
2948 sublicense or distribute the Program is void, and will
2949 automatically terminate your rights under this License.
2950 However, parties who have received copies, or rights, from
2951 you under this License will not have their licenses
2952 terminated so long as such parties remain in full
2953 compliance.
2954
2955 5. You are not required to accept this License, since
2956 you have not signed it. However, nothing else grants you
2957 permission to modify or distribute the Program or its
2958 derivative works. These actions are prohibited by law if
2959 you do not accept this License. Therefore, by modifying
2960 or distributing the Program (or any work based on the
2961 Program), you indicate your acceptance of this License to
2962 do so, and all its terms and conditions for copying,
2963 distributing or modifying the Program or works based on
2964 it.
2965
2966 6. Each time you redistribute the Program (or any work
2967 based on the Program), the recipient automatically
2968 receives a license from the original licensor to copy,
2969 distribute or modify the Program subject to these terms
2970 and conditions. You may not impose any further
2971 restrictions on the recipients' exercise of the rights
2972 granted herein. You are not responsible for enforcing
2973 compliance by third parties to this License.
2974
2975 7. If, as a consequence of a court judgment or
2976 allegation of patent infringement or for any other reason
2977 (not limited to patent issues), conditions are imposed on
2978 you (whether by court order, agreement or otherwise) that
2979 contradict the conditions of this License, they do not
2980 excuse you from the conditions of this License. If you
2981 cannot distribute so as to satisfy simultaneously your
2982 obligations under this License and any other pertinent
2983 obligations, then as a consequence you may not distribute
2984 the Program at all. For example, if a patent license
2985 would not permit royalty-free redistribution of the
2986 Program by all those who receive copies directly or
2987 indirectly through you, then the only way you could
2988 satisfy both it and this License would be to refrain
2989 entirely from distribution of the Program.
2990
2991 If any portion of this section is held invalid or
2992 unenforceable under any particular circumstance, the
2993 balance of the section is intended to apply and the
2994 section as a whole is intended to apply in other
2995 circumstances.
2996
2997 It is not the purpose of this section to induce you to
2998 infringe any patents or other property right claims or to
2999 contest validity of any such claims; this section has the
3000 sole purpose of protecting the integrity of the free
3001 software distribution system, which is implemented by
3002 public license practices. Many people have made generous
3003 contributions to the wide range of software distributed
3004 through that system in reliance on consistent application
3005 of that system; it is up to the author/donor to decide if
3006 he or she is willing to distribute software through any
3007 other system and a licensee cannot impose that choice.
3008
3009 This section is intended to make thoroughly clear what is
3010 believed to be a consequence of the rest of this License.
3011
3012 8. If the distribution and/or use of the Program is
3013 restricted in certain countries either by patents or by
3014 copyrighted interfaces, the original copyright holder who
3015 places the Program under this License may add an explicit
3016 geographical distribution limitation excluding those
3017 countries, so that distribution is permitted only in or
3018 among countries not thus excluded. In such case, this
3019 License incorporates the limitation as if written in the
3020 body of this License.
3021
3022 9. The Free Software Foundation may publish revised
3023 and/or new versions of the General Public License from
3024 time to time. Such new versions will be similar in spirit
3025 to the present version, but may differ in detail to
3026 address new problems or concerns.
3027
3028 Each version is given a distinguishing version number. If
3029 the Program specifies a version number of this License
3030 which applies to it and "any later version", you have the
3031 option of following the terms and conditions either of
3032 that version or of any later version published by the Free
3033 Software Foundation. If the Program does not specify a
3034 version number of this License, you may choose any version
3035 ever published by the Free Software Foundation.
3036
3037 10. If you wish to incorporate parts of the Program into
3038 other free programs whose distribution conditions are
3039 different, write to the author to ask for permission. For
3040 software which is copyrighted by the Free Software
3041 Foundation, write to the Free Software Foundation; we
3042 sometimes make exceptions for this. Our decision will be
3043 guided by the two goals of preserving the free status of
3044 all derivatives of our free software and of promoting the
3045 sharing and reuse of software generally.
3046
3047 [Warranty]
3048 NO WARRANTY
3049
3050 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,
3051 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT
3052 PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED
3053 IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
3054 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
3055 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED
3056 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
3057 FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
3058 QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
3059 SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
3060 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3061
3062 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
3063 AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY
3064 OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM
3065 AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
3066 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
3067 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY
3068 TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
3069 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED
3070 BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO
3071 OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
3072 OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
3073 DAMAGES.
3074
3075 END OF TERMS AND CONDITIONS
3076
3077 How to Apply These Terms to Your New Programs
3078
3079 If you develop a new program, and you want it to be of
3080 the greatest possible use to the public, the best way to
3081 achieve this is to make it free software which everyone
3082 can redistribute and change under these terms.
3083
3084 To do so, attach the following notices to the program.
3085 It is safest to attach them to the start of each source
3086 file to most effectively convey the exclusion of warranty;
3087 and each file should have at least the "copyright" line
3088 and a pointer to where the full notice is found.
3089
3090 <one line to give the program's name and a brief idea of
3091 what it does.>
3092 Copyright (C) 19yy <name of author>
3093
3094 This program is free software; you can redistribute it
3095 and/or modify it under the terms of the GNU General Public
3096 License as published by the Free Software Foundation;
3097 either version 2 of the License, or (at your option) any
3098 later version.
3099
3100 This program is distributed in the hope that it will
3101 be useful, but WITHOUT ANY WARRANTY; without even the
3102 implied warranty of MERCHANTABILITY or FITNESS FOR A
3103 PARTICULAR PURPOSE. See the GNU General Public License
3104 for more details.
3105
3106 You should have received a copy of the GNU General
3107 Public License along with this program; if not, write to
3108 the Free Software Foundation, Inc., 675 Mass Ave,
3109 Cambridge, MA 02139, USA.
3110
3111 Also add information on how to contact you by electronic
3112 and paper mail.
3113
3114 If the program is interactive, make it output a short
3115 notice like this when it starts in an interactive mode:
3116
3117 Gnomovision version 69, Copyright (C) 19yy name of author
3118 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
3119 type `show w'. This is free software, and you are welcome
3120 to redistribute it under certain conditions; type `show c'
3121 for details.
3122
3123 The hypothetical commands `show w' and `show c' should
3124 show the appropriate parts of the General Public License.
3125 Of course, the commands you use may be called something
3126 other than `show w' and `show c'; they could even be
3127 mouse-clicks or menu items--whatever suits your program.
3128
3129 You should also get your employer (if you work as a
3130 programmer) or your school, if any, to sign a "copyright
3131 disclaimer" for the program, if necessary. Here is a
3132 sample; alter the names:
3133
3134 Yoyodyne, Inc., hereby disclaims all copyright interest
3135 in the program `Gnomovision' (which makes passes at
3136 compilers) written by James Hacker.
3137
3138 <signature of Ty Coon>, 1 April 1989
3139 Ty Coon, President of Vice
3140
3141 This General Public License does not permit incorporating
3142 your program into proprietary programs. If your program
3143 is a subroutine library, you may consider it more useful
3144 to permit linking proprietary applications with the
3145 library. If this is what you want to do, use the GNU
3146 Library General Public License instead of this License.
3147
3148 \ 4[QueryBox]
3149
3150 In the query dialog box you can use the arrow keys or the
3151 first letter to select an item or click with the mouse on
3152 the button.
3153
3154 \ 4[How to use help]
3155
3156 You can use the cursor keys or mouse to navigate in the
3157 help viewer.
3158 Press down arrow to move to the next item or scroll down.
3159 Press up arrow to move to the previous item or scroll up.
3160 Press right arrow to follow the current link.
3161 Press left arrow to go back in the history of nodes that
3162 you have visited.
3163
3164 If you terminal doesn't support the cursor keys you can
3165 use the space bar to scroll forward and the 'b' key scroll
3166 back. Use the TAB key to move to the next item and press
3167 ENTER to follow the current link. The 'l' (last) key may
3168 be used to go back in the history of nodes that you have
3169 visited. Press ESC to exit the help viewer.
3170
3171 The left mouse button will follow the link or scroll. The
3172 right mouse button can be used to go back in the history
3173 of nodes.
3174
3175 The full key list of the help viewer:
3176
3177 \ 1General movement keys\ 2General Movement Keys\ 3 are accepted.
3178
3179 tab Move to the next item.
3180 M-tab Move to the previous item.
3181 down Move to the next item or scroll a line down.
3182 up Move to the previous item or scroll a line up.
3183 right, enter Follow the current link.
3184 left, l Go back in the history of visited nodes.
3185 F1 Show the help for the help viewer.
3186 n Go to the next node.
3187 p Go to the previous node.
3188 c Go to the Contents node.
3189 F10, esc Exit the help viewer.
3190 \ 4
3191 Local variables:
3192 fill-column: 58
3193 end: