Midnight Commander 4.7.5 OSX

GNU Midnight Commander (also referred to as MC) is a user shell with text-mode full-screen interface. It can be run on the OS console, in xterm and other terminal emulators.

Please bookmark and find other, newer releases too: Midnight Commander Mac

GNU Midnight Commander allows you to manage files while making most of you screen and giving you a clear representation of the filesystem, yet it’s simple enough to be run over a telnet or ssh session.

Midnight Commander 4.7.5 OSX Universal in Terminal

Current tip for Mac users: you can replace missing “INSERT” key with CTRL-T…

Next to official release of stable sources, this universal binary built (without source code modification) and linked with following libraries:

  • gettext v0.17
  • glib v2.21.6
  • pkg-config v0.23

Configured with options: –disable-dependency-tracking –disable-shared –with-screen=ncurses –with-vfs –enable-vfs-mcfs –with-edit –without-x –with-subshell –enable-charset –enable-extcharset –enable-background –enable-netcode

[~/Development/porting/mc/mc-4.7.5 ]
$mc -V
GNU Midnight Commander 4.7.5
Built with GLib 2.21.6
Using the ncurses library
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;

This release requires Mac OSX X 10.4 or newer, and tested on 10.5 Leopard PPC and 10.6 Snow Leopard INTEL.

Download installer package: mc-4.7.5-bin-osx-universal.zip (other Mac binary releases)

Source: www.midnight-commander.org


Version history up to 4.7.5

– Core

* Minor enhancement and fix for mc.ext for .so libraries and ELF objects (#1800):
– .so libraries have the higher priority of extension handling over ELF objects;
– added -C -D options to nm utility for .so libraries;
– added -C option to nm utility for ELF objects.

– Editor

* Copy to clipboard doesn’t reset the text selection (#2238)
* Don’t reset search position after file opened in viewer and reopened in mcedit (#2449)

– Misc

* Code cleanup
* Translation updates

– Fixes

* Crash in copy/move progress dialog (#2448)
* Broken autocompletion (#2288)
* Text selection bugs in mcedit (#1898, #2437)
* awk is used instead of grep in iso9660 VFS plugin (#1963)

Version 4.7.5-pre1

– Core

* Case insensitive sort order of files does not mix dot-files with others (#1894)
* Repeat previous quicksearch on C-s C-s (without entering text) (#2365)
* Added new colors for dialogs and status bars (#2170, #2171, #2197)
* Added new action PanelSmartGotoParentDir. Not defined by default. This keybinding maybe used
for bind ‘Backspace’ as hotkey for ‘cd ..’ (only if command line is empty)(#2375)

– VFS

* Hide panels before connect to the FISH (#2268)

– Editor

* Internal editor’s bookmarks are persistent now and not lost after exit from the editor.
They are saved in ~/.mc/filepos file (#2287)
* Added forgotten shortcuts from 4.6 branch (#2404)
* Added cython syntax highlighting (#2427)

– Viewer

* Speed up of up/down moving (#2229)

– Misc

* Changed installation destination for some files (#1424):
– /etc/mc/Syntax -> /usr/share/mc/syntax/Syntax;
– /etc/mc/mc.lib -> /usr/share/mc/mc.lib;
– /etc/mc/mc.charsets -> /usr/share/mc/mc.charsets. Added capability to load codepage list
from /usr/share/mc/mc.charsets and /etc/mc/mc.charsets and merge them then;
– hint files are installed into /usr/share/mc/hints instead of /usr/share/mc;
– help files are installed into /usr/share/mc/help instead of /usr/share/mc.
* Massive reorganizing of source code tree and total indentation in according with mc policy (#2409)
* Doc updates
* Translation updates
* Added new translations: Basque, Estonian, Georgian, Indonesian
* Extended list of GCC warning flags (#2409)
* Split GLib and GModule compiler and linker options (#2409)
* Added dark skin

– Fixes

* Hang up after exit on FreeBSD (#2333, #2415)
* Segfault on NetBSD >= 3.0 on startup (#2425)
* Multi-screen engine doesn’t handle correctly some cases (#1490)
* Overflow of file operation counters (#2429)
* Fx key numbers were not displayed for disabled keys (#2350)
* Can’t put char ‘?’ into a new name (#2327)
* Incorrect initial value of WCheck and WRadio widgets width (#2362)
* Panel encoding is not shown correctly in “Choose codepage” dialog (#1512)
* Cannot change panel encoding without VFS support (#2137)
* Panel contents isn’t scrolled down by mouse dragging (#2395)
* Panel states are saved in panels.ini at quit only if “Auto save panels setup” option is set (#1939)
* Incorrect key event handling in “Listing mode” dialog (#2045)
* Usability of field history in “Find file” dialog (#2046, #2407)
* Find “Whole words” search bug (#2396)
* Directory ignorance does’t work in file find (#2366, #2434)
* Incorrect line jump when started as editor (#2344)
* User menu in standalone mcedit doesn’t show filetype-specific items (#1651)
* Configure script doesn’t set samba configdir (#2419)
* Lost transparency colors in mcedit [editnormal] background depends on [normal] (#1785)
* Syntax highlighting is lost after manual change (#2324)
* ~ is not treated properly in editor’s “Save As” dialog (#2398)
* Broken action ‘cursor beyond EOL’ (#2135, #2411)
* Incorrect charset encoding in search in editor (#2417)
* Segmentation fault in mcviewer on ARM architecture (#2356)
* Viewer ‘Goto’ dialog doesn’t allow go to the specified offset exactly (#2435)
* Broken IPv4 FTP connection scheme (#121)
* Default internal FISH scripts are broken (#2347)
* Permission denied while connecting to Sun host via ssh (#2031)

Version 4.7.4

– Core

* Added unassigned key binding CmdEditForceInternal to forced run the internal editor of MC (#1523)
* Implemented keybingings for WListbox widget, reimplemented hardcoded keys in viewer and help viewer (#212)
* Added capability to enable/disable widgets interactively (#2257)
* Reverted the appending of file/dir name to copy/move destination in copy/move dialog (#2276)

– VFS

* Fixed remained plain int types (#171)
* Refactoring of VFS modules on/off. Unification of configure options (#1818)
* MCServer and MCFS support were completely removed (#2279)
* FISH: implemented resuming of file downloads (#2267)
* Adjusted extfs script modes to installed permissions (#2274)

– Editor

* Editor version is synchronized with MC one (#2189)
* Changed default button in editor quit dialog to “Cancel quit” (#2265)
* Added “Toggle syntax highlighting” menu item. Described C-s shortcut in mcedit man page (#2035)

– Viewer

* Changed default button in hexeditor quit dialog to “Cancel quit” (#2265)

– Misc

* Code cleanup (#2316)
* be-tarask.po was renamed to be@tarask.po (#2235)
* Translation updates
* Added Galician translation
* Fixed the title in the section describing xtree_mode variable (#2303)

– Fixes

* Crash while copying into directory named “????” (#2123)
* Crash while changing permissions using “Advanced chown” dialog (#2264)
* Crash in autocompletion engine (#2284)
* Restore signals even if fork() fails (#2273)
* Bogus strings in ‘Confirmation’ config dialog (#2271)
* History can be shown incorrectly due to access to the invalid pointer (#2299)
* Potential division by zero in Info panel (#2337)
* Segfault in replace confirmation in editor (#2272)
* Regexp replace only transforms the first occurence correctly (#2320)
* Broken manually changing syntax definition (#2324)
* MCEdit version number not centered in about dialog (#2311)
* Typo in the code and the man section describing X clipboard integration (#30)
* Viewer doesn’t show non-ASCII chars in hex mode (#2263)
* Compilation warnings in diff viewer (#2277)
* 2GB file size limit in fish (#123)
* Meta-fixes for manual pages (#2237, #2253)

Version 4.7.3

– Core

* Mult-screen feature: support of many opened editors and viewers (#1490)
* Reorganization of menu and configuration dialogs. More options are available in UI (#320)
* Mark of text in input fields is available now, DEL removes selected/unchanged text (#2161, #2228)
* Now copy/move dialog shows the full path with file name in the field “to:” (#1907)
* Removed hardcoded shortcuts in dialog.c (#212)
* Added new actions for panels: PanelMarkFileUp and PanelMarkFileDown (#2021)
* Added new capability to create relative symlinks: menu item and “C-x v” default shortcut (#2042)
* Now we can use external utility to copy/paste text to X clipboard (#30)
* Cursor is hidden in menu and listboxes (#1771)
* All hotkeys in MC (in menu, checkboxes, etc) in the middle of a word are in the lowercase now (#2168)
* Use system realpath(3) function if available (#1911)
* GLib deprecated functions are not used (#2085, #2249)

– VFS

* Unified charset list is used in core and in VFS (#2203)
* All hardcoded FISH scripts are moved out from fish.c to external scripts (see README.fish for more info) (#2242)

– Editor

* Added highlighting for HTTPS URLs in SPEC files (#1446)

– Misc

* Changed main URL for bug reports (#2025)
* man2hlp: completely rewritten in Perl (#45)
* Skin updates:
– gotar.ini (#2179)
* Removed leading and trailing spaces in i18n’d resources (#1646)
* Code cleanups (#2243)
* Translation updates

– Fixes

* AC_TRY_RUN macro breaks crosscompile (#1959)
* “mc -e” and “mc -v” modes don’t work (#2187)
* Buttonbar mouse clicks are off (#2199)
* Incorrect calculation of autocompletion window width (#2192)
* Incorrect button locations in common input dialogs (#2115)
* Oversized dialog backgrounds are not painted in NCurses-based MC (#2157)
* Incorrect colors of directory tree (#2212)
* Info panel is initially filled too late (#2226)
* Quick search is not correctly interrupted in some cases (#2174)
* Segfault in standalone editor and viewer (#2178)
* Broken codeset autodetection in editor and viewer (#1838)
* Viewer segfaults trying open a compressed man page file (#2236)
* Editor crashes while opening some incorrect files (#2183)
* Editor hangup if editor_tab_spacing equals to 0 (#2196)
* Editor shows dots instead of letters if source_codepage is set to “No translation” (#2248)
* Editor goes to endless loop when trying to replace the \n regexp with any substring (#2231)
* Editor: in some cases the copy/move operation in multi-byte text is wrong (#2153)
* Crash on search in viewer after Parsed/Raw switching (#2195)
* Diff viewer crashes if tab size equals to 0 (#2182)

Version 4.7.2

– Core

* Quick Search mode is defined by quick_search_case_sensitive option (#2022)
* Mouse wheel doesn’t change sorting preferences in panels (#2093)
* Interactive help is displayed with dynamically run-time formatting (#1561)
* Improvement of double and single lines support in skins (#1648)

– Editor

* Remove selected text before input or paste from clipboard (in non persistent selection mode) (#2155)
* Case insensitive syntax highlighting (#1770)
* Current syntax scheme is highlighted in ‘Choose syntax highlighting’ dialog (#1754)
* Added ini.syntax (#2126)

– Viewer

* Fixed jump to end of file

– Diff viewer

* A built-in tool to visual compare and merge two files (#120, #2159)

– Misc

* Added support for AM_SILENT_RULES (#2134)
* Lot of code cleanups (#1949, #2041, #2078, #2097, #2119)
* Renamed color keywords (#1660):
– menu -> menunormal
– linestate -> editlinestate
* Added new skins:
– nice and dark (#1791)
* Updated file extension for “sh” (#2127)
* Documentation updates
* Translation updates

– Fixes

* Segfault in panelization of file find results (#2068)
* Segfault in standalone editor and viewer (#2087)
* Memory leaks (#2069, #2108)
* If dialog was canceled, input line content is saved in history (#2082)
* MC says “File exists” trying create directory with empty filename (#2014)
* User asked twice about overwriting file in move across file systems (#2125)
* Deleting symlink to directory scans dir structure first (#2121)
* Incorrect layout of file operation dialog in non-verbose mode (#2099)
* MC proposes “..” as a dirname with automatic name filling (#2056)
* MC treats files ending with a dot as gzip (#2114)
* Broken default regexp mask in filecopy dialog (#2001)
* Misleading label “Status:” in the Info panel (#2146)
* Can’t define help window background via skin (#1701)
* i18n_checktimelength may vary depending on the season (#1671)
* Build breaks on ignored return values (#1897)
* Incorrect cursor position after “Cursor beyond end of line” mode switched off (#2094)
* Incorrect overwrite behavior with UTF-8 codeset in editor (#2081)
* Incorrect toggling state of ruler in viewer (#2067)
* Superfluous “Search done, Continue from begining?” dialog in viewer (#2091)
* Turning on wrap mode does not scroll left/right the file view (#2107)
* Cannot scroll wrapped long lines in viewer (#2086)
* Fixed EOL/BOL movements in plain mode (#1734)
* Text area is not updated in hex mode (#2005)
* Incorrect handling of archives in EXTFS VFS (#1909)
* Segfault in symlink handling within archives
* urar EXTFS doesn’t correctly show localized filenames in RAR archives (#2049)
* urar EXTFS: disable RAR/UNRAR user/system configuration for archive list and copyout operations (#2050)
* Patches adding a single line are not shown correctly by patchfs (#2149)
* uzip EXTFS: fixed Y2K bug (#2122)

Version 4.7.1

– Core

* Minimal required GLib version is 2.8 (#1980)
* Reorganization of source tree structure (#1866, #2037)
* States of all ‘Find File’ dialog checkboxes are saved in user configuration file (#1874, #1965)
* New file type bindings:
o viewing .lyx with lyxcat, opening with lyx (#1693)
* Added shortcut (Meta-,) to toggle panels split (#1991)
* Capability to remove history items. WListbox widget was fully reimplemented (#1445)
* Autodetect codepages of edited/viewed files with enca program (#1838)
* Custom/locale-based date format (#1767)
* New quick search behavior, allow wildcard characters – ‘*’ and ‘?'(#2022)
* Panels: new sort type ‘by version’ (#1994)
* Added ‘menuinactive’ skin item to draw inactive visible main menu (#1999)
* Added ability to show progressbars (when copy files) from right to left (#1443)
* Added indication of total BPS and ETA for file operations; fully rewrited FileOperations dialog (#1443)

– VFS

* Small reorganizing (#1931)
* Easy plugable EXTFS VFS (#1909)

– Editor

* Some simple optimization of syntax highlighting engine (#1843)
* Show right margin using ‘editor_show_right_margin’ option. Keybind EditToggleShowMargin in [editor] section is used to toggle the state (#1514)
* New editor action ‘Mark all’, new keybind EditMarkAll (#1945)
* Changed default for ‘Cursor beyond EOL’, now it switched off by default (#1946)
* Changed default color pair for ‘editbold’ (search result) to be more sensible (#1559)

– Viewer

* Viewer is now very fast (#1585)
* Added new confirm box for repeat search from begining of file (#1917)

– Misc

* Lots of code cleanup (#1780, #1915, #1990)
* Removed obsolete checks in configuration scripts (#262, #1932)
* Documentation updates
* Translation updates

– Fixes

* MC won’t compile on Solaris due to undefined constant NAME_MAX (#1943)
* MC won’t compile on AIX (#1957)
* Missing includes (#1930, #2017)
* Missing printf format (#1960)
* Memory and file descriptors leaks (#1953, #2028, #2053, #2058)
* Small error in versioning (#1905)
* Incorrect start up with some special paths (#1992)
* Segfault in input line history (#1936)
* MC crashes on exit when using C locale (#1942)
* MC crashes at exit due to race conditions of destroying subshell and file manager (#2008)
* Assertion failed for g_array_free (#1954)
* Broken transparency if MC is built with NCurses (#1657)
* Selections not visible on monochrome terminals (#1972)
* Colors of visible inactive menu (#1702)
* Incorrect input line length in ‘Edit symlink’ dialog window (#1955)
* Unquoted shell variables in user menu (#1967)
* Ctrl-\ key closes the NCurses-based MC (#1926)
* verbose option is always on after MC start (#1940)
* Show total progressbar (and related info) when copying just one subdirdir with lot of files (#1443)
* Incorrecy movement in last line in editor (moving cursor to the empty last line) (#1956)
* Incorrect editor lock files check (#1935)
* Segfault at try of edit (F4) archives with utf-8 names (x86_64 specified) (#1982)
* Editor’s search parameters are not retained across editing session (#1572)
* EditColumnMark can’t go up through newline (#1998)
* ‘Confirm replace’ dialog is not converted from UTF-8 to user defined charset (#1986)
* Missed \s symbol in Syntax file (#2010)
* Viewer in QuickView mode corrupts screen (#1918, #1944)
* ViewContinueSearch segfault on empty search (#1996)
* MC crashes if file name in archves contains ‘@’ symbol (#1605)
* deba and debd VFS: items from DEBIAN directory are not accessible (#1920)
* Samba is not built with tcc (#1933)
* Incorrect conditional compilation of mcserver (#1925)
* Potencial security risk in mcserv (#1902)
* The lslR VFS doesn’t work with ls-lR files created in en_US.UTF-8 locale and with files and directories started with whitespaces (#1921)
* Contents of RAR archives with filenames that contain / \d\d:\d\d / are not listed correctly (#2029)
* FTPFS: strcpy() is used for overlaping strings (#2018)





Prima, köszönet! Az expose F9-F11-et kikapcsolva az ‘fn’-nel megy az mc menüje is. A sokéves (>10) linux/qnx alatti mc használat közben berögzült PgUp, PgDwn továbbra sem megy :( Továbbá nem boldogultam a gyakran használt numpad ‘*’ billentyüvel sem -az mc ‘learn key’ is hallgat. Ezekben kérném segítségedet, vélhetően másokat is fog érdekelni.

Előre is köszi,
Illés

macmunka, 2011. január 10 @ 10:56

Már megy is, köszönöm! Végre “otthon” érzem magam, elég sok remote Linux/QNX rendszert kell macerálnom konzolról (telnet, ssh)… Alklamasint, ha Gödöllőn és/vagy Marosvásárhelyt jársz, egy jó kv-ra vendég vagy!

I.

macmunka, 2011. január 10 @ 12:11

http://michigantelephone.wordpress.com/2011/01/08/how-to-install-midnight-commander-under-mac-os-x-the-easiest-way/

Well, if it works I think it’s a great idea, but I don’t have the time to fully test it and since I’m still running Leopard, I have no way to test it under Snow Leopard. So I’ll just throw it out there and say that if any of you would like to test it (at your own risk, of course) and see how well it works for you, I’d appreciate it if you’d leave a comment. For the time being, be as careful as you might be with any software from an unknown source. But if you’re daring enough to give it a try, this might indeed be the easiest way to get the latest version of Midnight Commander onto your Mac.

LouiSe, 2011. január 11 @ 10:45

How to unistall this software from my Mac?

likhter, 2011. január 22 @ 12:40

likhter:

rm /usr/local/bin/mc
LouiSe, 2011. január 22 @ 13:04

What’s about /usr/local/bin/mcedit? And mb some other flles?

likhter, 2011. január 22 @ 14:32

Ok, let see the complete folder/file list:

+ usr
++ local
+++ bin
++++ antiword
++++ links
++++ mc
++++ mcedit
++++ mcmfmt
++++ mcview
+++ etc
++++ mc
+++ libexec
++++ mc
+++ man
++++ hu
+++++man1
++++++ mc.1
++++man1
+++++ mc.1
+++++ links.1
+++++ mc.1
+++++ mcedit.1
+++++ mcview.1
++++ man8
+++++ mcserv.8
+++ share
++++ mc
LouiSe, 2011. január 22 @ 15:30

Kosz szepen a portot, mar regota kerestem!

Gergely Nagy, 2011. március 15 @ 18:31

”Ok, let see the complete folder/file list” akkor ezeket lehet törölni? links…stbstb

kola, 2011. április 17 @ 04:43

Russian version of Mac Midnight Commander: http://zer0-in.livejournal.com/4282.html

Можно попробовать собрать Midnight Commander из исходников, взятых с официального сайта – http://www.midnight-commander.org (к сожалению бинарников для Mac OSX там нет). Но более простой путь воспользоваться готовой сборкой.
Я рекомендую сборку от LouiSe – http://louise.hu/poet/?tag=mc. Скачиваем с сайта инсталляционный пакет (package) и устанавливаем.

LouiSe, 2011. november 23 @ 10:38

Thank you for this version of Midnight Commander. I have been using mc for years in Linux and when I got a Mac a few years ago for testing internet stuff, I was unhappy with the way the standard mc worked in OS X. In particular, it was almst impossible to change more than two levels of directories. Your mc works beautifully.

Myron Turnere, 2011. november 25 @ 00:14

Myron: Thanks for your comment! I’m working on MC 4.8.x release too, se more new next: http://www.facebook.com/pages/MidnightCommanderForMac/243991215661046

LouiSe, 2011. november 25 @ 18:39

[…] Versión del Midnight Commander para usuarios de Mac (ejecutable en […]

Midnight Commander en Raspberry Pi, 2012. november 19 @ 23:33