MCDIFF(1)
π mcdiff(1) β the glow-up
okay bestie, welcome to mcdiff(1), the internal diff viewer of GNU Midnight Commander β¨
πΈ NAME
mcdiff β the internal diff viewer of GNU Midnight Commander. that's it, that's the vibe π
π¦ USAGE
like, literally just that. two files, and we're comparing π
β¨ DESCRIPTION
so mcdiff is a link to mc, the main GNU Midnight Commander executable β same binary, different name, different era π«
when you run GNU Midnight Commander under this name, it's basically like "oh, she's here for the diff" and it starts the internal diff viewer, which compares file1 and file2 β the two files you put on the command line π«Ά
ngl, that's the whole thing. name changes everything. main character energy fr fr.
π OPTIONS
-bβ force black and white display. minimalism era, no color for you π€-cβ force color mode on terminals wheremcdiffdefaults to black and white. giving the people what they want π-C <keyword>=<fgcolor>,<bgcolor>,<attributes>:<keyword>= ...β specify a different color set β¨ see the Colors section inmc(1)for more info, iykyk-dβ disable mouse support. no clicking, only keys π-fβ display the compiled-in search paths for Midnight Commander files. lowkey a little map of where everything lives πΊοΈ-tβ used only if the code was compiled with S-Lang and terminfo: it makes the Midnight Commander use the value of theTERMCAPvariable for the terminal information instead of the information on the system wide terminal database. very niche, very iconic π§-Vβ displays the version of the program. vibe check on the build π-xβ forces xterm mode. used when running on xterm-capable terminals (two screen modes, and able to send mouse escape sequences) π±οΈ
also<kbd>-h</kbd>and<kbd>-?</kbd>are chillin' there in the usage line β they're part of the synopsis, so they get to be mentioned too, bestie π
π 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"
slay. copy it exactly, don't retype it π
π 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/inifile 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/inior 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 π«Ά
"lack of warranty" is doing a LOT of work in that sentence, bestie. read it. believe it. π
β AVAILABILITY
the latest version of this program can be found at http://ftp.midnight-commander.org/ π₯
π SEE ALSO
mc(1), mcedit(1), mcview(1) β the whole friend group π
π BUGS
bugs should be reported to https://www.midnight-commander.org/
okay that's the whole page!! and for the cute sign-off: this is MC Version 4.8.33, dated January 2025 β go forth and diff, you gorgeous nerd, periodt πΈπ¦π
π¦ where this page comes from
- alpine 3.22: mc-doc 4.8.33-r2 Β· GPL-3.0-or-later
- alpine 3.23: mc-doc 4.8.33-r2 Β· GPL-3.0-or-later
- alpine 3.24: mc-doc 4.8.33-r3 Β· GPL-3.0-or-later
- arch rolling: mc 4.8.33-1 Β· GPL-3.0-or-later
- fedora 43: mc 1:4.8.33-2.fc43 Β· GPL-3.0-or-later
- fedora 44: mc 1:4.8.33-3.fc44 Β· GPL-3.0-or-later
- opensuse-leap 16.0: mc 4.8.33-bp160.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: mc 4.8.33-bp160.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: mc 4.8.33-bp160.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: mc 4.8.33-bp160.1.1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms