Live data from Hacker News

GNU Midnight Commander

midnight-commander.org

211–220 of 317 posts

Re: GNU Midnight Commander

#212

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 t…

That hint is amazing! I tried it out and love that you can do this!

Re: GNU Midnight Commander

#213
post #152
post #104

Midnight commander is a great tool, although I think most younger users do not realize that we lost something along the way. Norton Commander was fantastically fast for common file operations not just because of the dual-pane design, but because of several things working together. Thoughtful design of software while thinking of hardware. To get the most out of it, you were supposed to use the numpad on your keyboard.…

"select all files" was just one key: * (actually, it was invert selection -- so assuming no files were selected beforehand). Pressing + and Enter would select one file, then try to edit/run the next one?

I believe pressing + should open "Select files" dialog prefilled to select all files (and dirs), pressing Enter confirms it.

My Midnight Commander 4.8.33, however, remember previously entered mask, and if no mask was entered - then it defaults to selecting nothing :(

Re: GNU Midnight Commander

#215

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 t…

Can you reference the file that was modified latest by me? With one shortcut? Because that's what I miss most in my shell.

Reverse shell command search for eg *.txt allows you to look through the most recent text files you've explicitly referenced

Re: GNU Midnight Commander

#217
post #186

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,…

It's a heavily GenX-coded tool. If you never used Norton Commander there's no point really.

Depending on where you're from you might have used another orthodox file manager. For some reason they've been very popular in central and eastern European countries.

For example i've worked three Polish gamedev companies and in every single one of them most people (including people who weren't even born in the days of Norton Commander) used Total Commander (it is GUI-based but the shortcut keys and overall layout are almost the same).

(FWIW Notepad++ was ubiquitous too)

Re: GNU Midnight Commander

#218
I'd wish there was a Midnight Commander available for Android that would allow for being used during an adb shell or ssh session. Ghost Commander doesn't cover that use case, sadly.

Re: GNU Midnight Commander

#219
post #202

Earlier quoted context omitted.

You mean something like print -rl -- *(om[1].) in zsh?

No, I mean globally (over all directories, starting from my home directory). And of course, if the latest file isn't what I wanted, then it should be possible to easily go to the latest file before that.

Then you need emacs’s dired. There’s a find command that will do that. ;)

Re: GNU Midnight Commander

#220

I used to use XTree Gold, which was... golden. I always heard of Midnight Commander but never really got around to using it. I should probably fix that. What I never got was why this style of TUI (MS edit.com, qbasic, etc) isn't really carried through in modern tradition? I really enjoyed these when when I was younger... yet even textual or ratatui apps don't really bring this interface to the terminal. (Or why scree…

Same here, back then I found a little known file manager called DM.COM. That was my # 1 goto in DOS for files. IMO, it is the best.

You can do this to get information on how to download it:

curl 'gopher://sdf.org/0/users/jmccue/repository/dm220.txt' > dm220.txt

Post reply on HN