I love Midnight Commander so much; I install it on every system I use. It's so much more efficient/pleasant when in comes to navigating the filesystem and doing basic operations, especially when you learn the shortcuts and learn how to use it along with other command-line tools (hint: if you press Ctrl+O in MC it will switch to a normal shell command prompt it the directory you're in, and you can press Ctrl+O again to get back to MC; this allows you to easily use MC for things it is the most efficient for, and normal command-line for things where that is better).
I use it especially when moving files around in my NAS and it is awesome.
For GUI file managers, I have to say you can't get better than Dolphin. It has an integrated shell for the current directory, and you can split the view. It can also directly open ssh and SFTP URLs. For local things the combination of Dolphin and it's shell is unbeatable.
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.
For some reason, the technical term for these is Orthodox File Manager, which I've always thought was an obscure cultural in-joke from the countries where these were most popular --- Eastern Europe and the former USSR.
The "orthodox" comes from a specific type of GUI, namely one that is driven by commands under the hood. UI elements are merely used to trigger commands that have the actual effect, and these commands could just as well be executed by hand, or automated into more complex commands.
This is an excellent way to build powerful UIs. It is what drives things like Vim, and often why Lisp-based software is so hackable -- think Emacs, StumpWM, etc. Instead of writing plugins against some small plugin API, you're wiring new functionality directly into the application.
The article you reference goes into more detail, as you say.
At least in Russia, "orthodox" has an extra connotation that's not strictly coupled to church, akin more to "one true way", as in "orthodox way to learn a tech stack". With a negation, it becomes something like "wrong" or even "heretical", as in "pizza with pineapple".
What you're describing is the meaning of the word in English. I suspect using the word православный with this meaning started as a joke transplanting the English meaning of the word onto the corresponding Russian word.
This with the "Lynx-like motion" panel option and the "Quick view" enabled is the best way to review a source tree. So much so that the Debian ftp-masters use it and a plugin for doing license review of newly introduced packages.
I never could use mc. None of the keyboard shortcuts were at all intuitive to me, who had been using many different GUI file managers over the decades. Which is a shame, because I use SSH a LOT and doing normal file housework via pure CLI is super tedious and error-prone... Fortunately, I went looking more recently, and found the nnn file manager, which works properly with the basic keyboard commands I would expect, and really helped improve my workflow a lot:
I've been using `mc` for decades... In fact, in my early professional days as a software dev, I've written entire systems with PHP using `mcedit` (the built-in editor), because I didn't know `vim` then, and `mcedit` had syntax highlighting...
Mostly used Notepad++ or SciTE ( https://www.scintilla.org/ ) over the years, as the number of languages/platforms I traverse made it a consistent option for dealing with various document encodings etc.
I thought mc and mcedit was cool, but needed something small and portable within a fairly locked-down environment ( "No [root] for you!" as the admin would say.) =3
I just couldn't live without this thing. Well, I could but I would be less productive and more grumpy.
Back in the mists of time when dinosaurs roamed the earth and I developed DataEase applications under MS-DOS there was a thing called "Pathminder" [1] which was a very useful tool. Moving to Linux and finding Midnight Commander felt like coming home...
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.
my one gripe after using mc for a few years is no parallel transfer support. it slows down significantly when transferring small files compared to one large file.
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.
Unfortunately there were also badly written, overwriting viruses that destroyed the host.
I made a COM-to-EXE convertor back in time so that I can compress them with LZEXE (I don't remember anything about it, but I guess I just prepended an empty relocation table). It would have been interesting to incorporate that functionality in a virus.
Brings back memories. This is one of my older open source contributions that's still visible. I helped port it to a/ux in the early 90's. Line 98: https://fossies.org/linux/mc/AUTHORS
It was originally written by Miguel de Icaza who became a semi-famous for his work on Mono and others.
And who started Gnome Desktop! That always strikes me as funny. That he made the ultimate tool for in the terminal, and then move on to write a desktop environment
It was kind of the evolution of the time though. We were coming from dumb terminals hooked up to VAX/VMS and Ultrix boxes with kermit, to computers that had a tcp/ip stack and could actually do graphics.
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.
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)
Yeah, the answer was there in the question really :)
That was not a good day, about a week before submission was due. I unmounted the disk the second I realised what I'd done and started to look for guides on finding lost ext2 inodes. MC to the rescue!
I love Midnight Commander so much; I install it on every system I use. It's so much more efficient/pleasant when in comes to navigating the filesystem and doing basic operations, especially when you learn the shortcuts and learn how to use it along with other command-line tools (hint: if you press Ctrl+O in MC it will switch to a normal shell command prompt it the directory you're in, and you can press Ctrl+O again to get back to MC; this allows you to easily use MC for things it is the most efficient for, and normal command-line for things where that is better).
I use it especially when moving files around in my NAS and it is awesome.
For GUI file managers, I have to say you can't get better than Dolphin. It has an integrated shell for the current directory, and you can split the view. It can also directly open ssh and SFTP URLs. For local things the combination of Dolphin and it's shell is unbeatable.
> and you can split the view
You could do the same with Nautilus. But in their infinite wisdom GNOME developers decided to remove that ability.
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.
dual-pane file manager
For some reason, the technical term for these is Orthodox File Manager, which I've always thought was an obscure cultural in-joke from the countries where these were most popular --- Eastern Europe and the former USSR.
This origin is elaborated at length here: https://softpanorama.org/Articles/introduction_to_orthodox_f...
The "orthodox" comes from a specific type of GUI, namely one that is driven by commands under the hood. UI elements are merely used to trigger commands that have the actual effect, and these commands could just as well be executed by hand, or automated into more complex commands.
This is an excellent way to build powerful UIs. It is what drives things like Vim, and often why Lisp-based software is so hackable -- think Emacs, StumpWM, etc. Instead of writing plugins against some small plugin API, you're wiring new functionality directly into the application.
The article you reference goes into more detail, as you say.
At least in Russia, "orthodox" has an extra connotation that's not strictly coupled to church, akin more to "one true way", as in "orthodox way to learn a tech stack". With a negation, it becomes something like "wrong" or even "heretical", as in "pizza with pineapple".
What you're describing is the meaning of the word in English. I suspect using the word православный with this meaning started as a joke transplanting the English meaning of the word onto the corresponding Russian word.
This with the "Lynx-like motion" panel option and the "Quick view" enabled is the best way to review a source tree. So much so that the Debian ftp-masters use it and a plugin for doing license review of newly introduced packages.
https://lists.debian.org/msgid-search/20191228133344.GA4943@...
I never could use mc. None of the keyboard shortcuts were at all intuitive to me, who had been using many different GUI file managers over the decades. Which is a shame, because I use SSH a LOT and doing normal file housework via pure CLI is super tedious and error-prone... Fortunately, I went looking more recently, and found the nnn file manager, which works properly with the basic keyboard commands I would expect, and really helped improve my workflow a lot:
https://en.wikipedia.org/wiki/Nnn_(file_manager)
Same here, nnn feels so much lighter too. It also works out of the box, no need to carry around "your" .rc file on dozens of systems as you work
I've been using OneCommander [1] on Windows for a few years now, it's great. Also dual pane with lots of extra features and active development.
[1] https://www.onecommander.com/
I've been using `mc` for decades... In fact, in my early professional days as a software dev, I've written entire systems with PHP using `mcedit` (the built-in editor), because I didn't know `vim` then, and `mcedit` had syntax highlighting...
Mostly used Notepad++ or SciTE ( https://www.scintilla.org/ ) over the years, as the number of languages/platforms I traverse made it a consistent option for dealing with various document encodings etc.
I thought mc and mcedit was cool, but needed something small and portable within a fairly locked-down environment ( "No [root] for you!" as the admin would say.) =3
If only you could redefine the keyboard shortcuts...
I just couldn't live without this thing. Well, I could but I would be less productive and more grumpy.
Back in the mists of time when dinosaurs roamed the earth and I developed DataEase applications under MS-DOS there was a thing called "Pathminder" [1] which was a very useful tool. Moving to Linux and finding Midnight Commander felt like coming home...
[1] https://en.wikipedia.org/wiki/PathMinder
When I was young and incompetent mc was the only way I knew to remove files starting with a dash :)
Hahah same!!!!
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.
Dired is awesome. It’s replaced a bunch of my terminal usage https://xenodium.com/how-i-batch-apply-and-save-one-liners
my one gripe after using mc for a few years is no parallel transfer support. it slows down significantly when transferring small files compared to one large file.
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.
I didn’t use mc much back in the day, but I do use Emacs dired a ton these days. Specially for applying command line utilities to a bunch of files. https://xenodium.com/how-i-batch-apply-and-save-one-liners
"was"? People still use it. Like a lot. I'm surprised
Great FM. I still use it consistently, especially when dealing with a large number of files.
Very cool successor of Norton Commander idea.
Volkov Commander anyone?
I still use volcov commander on my dos machines :)
And MC on the *nixes of course.
If we're going to individually name every Orthodox File Manager, we are going to take some while. (-:
You mean like FAR commander? ;)
volkov was a great virus detector
its size was right at the edge of segment (64k) so when a virus appended to the .com binary, volkov stopped working
Unfortunately there were also badly written, overwriting viruses that destroyed the host.
I made a COM-to-EXE convertor back in time so that I can compress them with LZEXE (I don't remember anything about it, but I guess I just prepended an empty relocation table). It would have been interesting to incorporate that functionality in a virus.
I remember asking to my friend how do you use ‘nc’ in Linux and he answering “type ‘mc’”.
Brings back memories. This is one of my older open source contributions that's still visible. I helped port it to a/ux in the early 90's. Line 98: https://fossies.org/linux/mc/AUTHORS
It was originally written by Miguel de Icaza who became a semi-famous for his work on Mono and others.
And who started Gnome Desktop! That always strikes me as funny. That he made the ultimate tool for in the terminal, and then move on to write a desktop environment
It was kind of the evolution of the time though. We were coming from dumb terminals hooked up to VAX/VMS and Ultrix boxes with kermit, to computers that had a tcp/ip stack and could actually do graphics.
Still used in Poland. I still manage some systems using mcedit.
most of the russian programmers i worked with use this. Not sure if it's taught in university or something.
I still love FAR Manager: https://www.farmanager.com/screenshots.php?l=en (UNIX port: https://github.com/elfmz/far2l ).
It now even supports true keyboard reporting (through Kitty TTY protocol on compatible terminals) for SSH connections.
Mouseless Commander :)
Brings back great memories, used to be my default diff viewer for several years.
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)
Okay, I’ll bite mate:
How do you know?
They rm -rf'd the wrong directory, lost their dissertation, and used mc to recover it.
Yeah, the answer was there in the question really :)
That was not a good day, about a week before submission was due. I unmounted the disk the second I realised what I'd done and started to look for guides on finding lost ext2 inodes. MC to the rescue!
Fun fact, on Windows I stopped using File Explorer and use Midnight Commander.
Now that I am more into the command line, I may need to give it a try.
xtgold?
Can I get it in a Docker container?
I think this is one of the cases where Nix would be easier. To try it out without polluting your global namespace, nix run nixpkgs#mc.
why bother? I use mine in my AI powered, headless, kubernetes cluster
It would be like having `ls` in a container
I guess so, but what would be the use case for it?
This is not a chat client.
unraid has a docker container for Krusader - same thing different flavor, why not.
Yes. Probably even a distroless one.
Lol. Realistically speaking, you'd have to bind mount your entire home for it to be usable then
Maybe you're just looking to shell around in your container deployed in a pod somewhere.