home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / mc454src.zip / mc-4.5.4.src / mc-4.5.4 / src / mc.hlp < prev    next >
Text File  |  1999-01-04  |  121KB  |  3,274 lines

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