Reference

mcdiff(1)

Internal diff viewer of GNU Midnight Commander.

NAME

mcdiff - Internal diff viewer of GNU Midnight Commander.

USAGE

mcdiff [-bcCdfhstVx?] file1 file2

DESCRIPTION

mcdiff is a link to mc, the main GNU Midnight Commander executable. Executing GNU Midnight Commander under this name requests starting the internal diff viewer which compares file1 and file2 specified on the command line.

OPTIONS

-b

Force black and white display.

-c

Force color mode on terminals where mcdiff defaults to black and white.

-C <keyword>=<fgcolor>,<bgcolor>,<attributes>:<keyword>= ...

Specify a different color set. See the Colors section in mc(1) for more information.

-d

Disable mouse support.

-f

Display the compiled-in search paths for Midnight Commander files.

-t

Used only if the code was compiled with S-Lang and terminfo: it makes the Midnight Commander use the value of the TERMCAP variable for the terminal information instead of the information on the system wide terminal database

-V

Displays the version of the program.

-x

Forces xterm mode. Used when running on xterm-capable terminals (two screen modes, and able to send mouse escape sequences).

COLORS

The default colors may be changed by appending to the MC_COLOR_TABLE environment variable. Foreground and background colors pairs may be specified for example with:

MC_COLOR_TABLE="$MC_COLOR_TABLE:\
normal=lightgray,black:\
selected=black,green"

FILES

/usr/share/mc/mc.hlp

The help file for the program.

/usr/share/mc/mc.ini

The default system-wide setup for GNU Midnight Commander, used only if the user's own ~/.config/mc/ini file is missing.

/usr/share/mc/mc.lib

Global settings for the Midnight Commander. Settings in this file affect all users, whether they have ~/.config/mc/ini or not.

~/.config/mc/ini

User's own setup. If this file is present, the setup is loaded from here instead of the system-wide startup file.

LICENSE

This program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation. See the built-in help of the Midnight Commander for details on the License and the lack of warranty.

AVAILABILITY

The latest version of this program can be found at http://ftp.midnight-commander.org/.

SEE ALSO

mc(1), mcedit(1), mcview(1)

BUGS

Bugs should be reported to https://www.midnight-commander.org/.

History

--color until Debian 13 (Trixie); --colors until Debian 13 (Trixie); --configure-options until Debian 13 (Trixie); --datadir until Debian 13 (Trixie); --datadir-info until Debian 13 (Trixie); --debuglevel until Debian 11 (Bullseye); --edit until Debian 13 (Trixie); --ftplog until Debian 13 (Trixie); --keymap until Debian 13 (Trixie); --no-x11 until Debian 13 (Trixie); --nocolor until Debian 13 (Trixie); --nokeymap until Debian 13 (Trixie); --nomouse until Debian 13 (Trixie); --nosubshell until Debian 13 (Trixie); --oldmouse until Debian 13 (Trixie); --printwd until Debian 13 (Trixie); --resetsoft until Debian 13 (Trixie); --skin until Debian 13 (Trixie); --slow until Debian 13 (Trixie); --stickchars until Debian 13 (Trixie); --subshell until Debian 13 (Trixie); --termcap until Debian 13 (Trixie); --version until Debian 13 (Trixie); --view until Debian 13 (Trixie); --xterm until Debian 13 (Trixie); -C until Debian 13 (Trixie); -D until Debian 11 (Bullseye); -F until Debian 13 (Trixie); -K until Debian 13 (Trixie); -P until Debian 13 (Trixie); -S until Debian 13 (Trixie); -U until Debian 13 (Trixie); -X until Debian 13 (Trixie); -a until Debian 13 (Trixie); -e until Debian 13 (Trixie); -g until Debian 13 (Trixie); -k until Debian 13 (Trixie); -l until Debian 13 (Trixie); -s until Debian 13 (Trixie); -u until Debian 13 (Trixie); -v until Debian 13 (Trixie).