| 1 | .TH MCDIFF 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander" |
| 2 | .SH NAME |
| 3 | mcdiff \- Internal diff viewer of GNU Midnight Commander. |
| 4 | .SH USAGE |
| 5 | .B mcdiff |
| 6 | [\-bcCdfhstVx?] file1 file2 |
| 7 | .SH DESCRIPTION |
| 8 | .LP |
| 9 | mcdiff is a link to |
| 10 | .BR mc , |
| 11 | the main GNU Midnight Commander executable. Executing GNU Midnight |
| 12 | Commander under this name requests starting the internal diff viewer |
| 13 | which compares |
| 14 | .I file1 |
| 15 | and |
| 16 | .I file2 |
| 17 | specified on the command line. |
| 18 | .SH OPTIONS |
| 19 | .TP |
| 20 | .I "\-b" |
| 21 | Force black and white display. |
| 22 | .TP |
| 23 | .I "\-c" |
| 24 | Force color mode on terminals where |
| 25 | .B mcdiff |
| 26 | defaults to black and white. |
| 27 | .TP |
| 28 | .I "\-C <keyword>=<fgcolor>,<bgcolor>,<attributes>:<keyword>= ..." |
| 29 | Specify a different color set. See the |
| 30 | .B Colors |
| 31 | section in mc(1) for more information. |
| 32 | .TP |
| 33 | .I "\-d" |
| 34 | Disable mouse support. |
| 35 | .TP |
| 36 | .I "\-f" |
| 37 | Display the compiled\-in search paths for Midnight Commander files. |
| 38 | .TP |
| 39 | .I "\-t" |
| 40 | Used only if the code was compiled with S\-Lang and terminfo: it makes |
| 41 | the Midnight Commander use the value of the |
| 42 | .B TERMCAP |
| 43 | variable for the terminal information instead of the information on |
| 44 | the system wide terminal database |
| 45 | .TP |
| 46 | .I "\-V" |
| 47 | Displays the version of the program. |
| 48 | .TP |
| 49 | .I "\-x" |
| 50 | Forces xterm mode. Used when running on xterm\-capable terminals (two |
| 51 | screen modes, and able to send mouse escape sequences). |
| 52 | .PP |
| 53 | .SH COLORS |
| 54 | The default colors may be changed by appending to the |
| 55 | .B MC_COLOR_TABLE |
| 56 | environment variable. Foreground and background colors pairs may be |
| 57 | specified for example with: |
| 58 | .PP |
| 59 | .nf |
| 60 | MC_COLOR_TABLE="$MC_COLOR_TABLE:\\ |
| 61 | normal=lightgray,black:\\ |
| 62 | selected=black,green" |
| 63 | .fi |
| 64 | .PP |
| 65 | .SH FILES |
| 66 | .I %prefix%/share/mc/mc.hlp |
| 67 | .IP |
| 68 | The help file for the program. |
| 69 | .PP |
| 70 | .I %prefix%/share/mc/mc.ini |
| 71 | .IP |
| 72 | The default system\-wide setup for GNU Midnight Commander, used only if |
| 73 | the user's own ~/.config/mc/ini file is missing. |
| 74 | .PP |
| 75 | .I %prefix%/share/mc/mc.lib |
| 76 | .IP |
| 77 | Global settings for the Midnight Commander. Settings in this file |
| 78 | affect all users, whether they have ~/.config/mc/ini or not. |
| 79 | .PP |
| 80 | .I ~/.config/mc/ini |
| 81 | .IP |
| 82 | User's own setup. If this file is present, the setup is loaded from |
| 83 | here instead of the system\-wide startup file. |
| 84 | .PP |
| 85 | .SH LICENSE |
| 86 | This program is distributed under the terms of the GNU General Public |
| 87 | License as published by the Free Software Foundation. See the built\-in |
| 88 | help of the Midnight Commander for details on the License and the lack |
| 89 | of warranty. |
| 90 | .SH AVAILABILITY |
| 91 | The latest version of this program can be found at |
| 92 | ftp://ftp.gnu.org/gnu/mc/. |
| 93 | .SH SEE ALSO |
| 94 | mc(1), mcedit(1), mcview(1) |
| 95 | .PP |
| 96 | .SH BUGS |
| 97 | Bugs should be reported to mc\-devel@gnome.org |