Live data from Hacker News

GNU Midnight Commander

midnight-commander.org

31–40 of 317 posts

Re: GNU Midnight Commander

#32
For people on Android phones, Ghost Commander is neat.

For people who like the power of Emacs dired, there used to be Sunrise Commander but last I looked it wasn't so actively maintained and had some bugs, so I've sadly gone back to regular dired.

Re: GNU Midnight Commander

#33
The thing about Orthodox File Managers when they first came about, that does not occur today, was the amount of time that had to be devoted to explaining that particular features would not work on OS/2, Unices, Linux-based operating systems, or Windows NT because only MS/PC/DR-DOS let programs do things like directly manipulate stuff in some other program's PSP or directly peek/poke video RAM or the keyboard buffer; or that filenames did not necessarily have "extensions"; or that there was more than 1 type of timestamp; or that links and symbolic links existed; or that different people can have different local times on a single machine; or that directories actually have sizes.

Today, the DOS Think is far less prevalent.

Midnight Commander's screenshots would have looked a little off to OFM users with DOS Think. Today, it's the original MS/PC/DR-DOS tools that will appear odd to novices. They did things like have a narrow 8.3 filename column, omit the dots, use graphics in the filename for system files, use glyphs that one could only obtain through poking C0-range codes into video RAM, change UI elements as one pressed and released the Alt key, and so forth.

Re: GNU Midnight Commander

#36
The killer feature in mc was the popup menu that you could configure to run several commands on the selected files. And if memory serves it could be customized on a global or directory specific way.

Re: GNU Midnight Commander

#39
post #29
post #4

I haven't used this for a long old time. Back in the day it was the only way to recover your university dissertation when you'd rm -rf'd in the wrong directory. Go on, ask me how I know ... I've not had much cause to use it since then though.

mc can recover deleted files?

Back in the 90s it certainly had some features that made it easier to do so, yes. On ext2 file systems (no journaling or other advanced features) it had some method to browse unlinked inodes that were still on disk so you could recover them. They’d then show up in “lost+found”.

If you were quick and unmounted as soon as you had realised what you’d done, and the space had not been re-used for anything, you could often get the file back because rm just unlinked the inodes on ext2 IIRC.

I imagine that the commands it used under the hood were accessible to anyone with the right know-how, but at the time that’s not something I had, and all the guides started with “use midnight commander” so I did :)

(Saying “only way” to recover might be a stretch, it’s true)

Post reply on HN