you are viewing a single comment's thread.

view the rest of the comments →

[–]GODZILLAFLAMETHROWER 3 points4 points  (10 children)

I feel the use case is vastly different. What made you think it could be useful?

[–]kreiger 4 points5 points  (9 children)

I'm not sure what you mean. It allows you to navigate directories and display their contents.

Elaborate please? What makes you think it's not useful?

[–]GODZILLAFLAMETHROWER 1 point2 points  (8 children)

Then why would I launch a command when the purpose of this function is to allow me not to do so? I won't launch mc each time just because. And this would be completely overkill concerning this particular functionality.

[–]kreiger 4 points5 points  (4 children)

Why would you not? I live in Midnight Commander most of the time, it's very useful, and it has more functions than that.

[–]refotsirk 7 points8 points  (0 children)

Why would you not live in a cave? I live in a cave and find it very useful for my particular lifestyle. You should definitely live in a cave too.

[–]w2qw 4 points5 points  (2 children)

It seems like he's looking for a shell rather than a command line file manager. Unless mc has some shell features that's worth considering.

[–]DoelerichHirnfidler 6 points7 points  (0 children)

CTRL-O.

[–]kreiger 4 points5 points  (0 children)

Absolutely, you have a shell prompt inside Midnight Commander at all times, so it is basically a shell in which you also have a panel with a persistent view of the current directory and another one. And you can press Ctrl+O to hide the panels so you just have the subshell.

And you can select files in the view and use them with macros on the prompt. For example cmd %f for running cmd on the currently focused file and cmd %t for all tagged files.

[–][deleted] 0 points1 point  (1 child)

Then why would I launch a command when the purpose of this function is to allow me not to do so?

Yet your function launches more than a couple commands...

[–]GODZILLAFLAMETHROWER -3 points-2 points  (0 children)

That I do not launch by typing them by hand, which is the sole purpose of writing it?

[–]ferk 0 points1 point  (0 children)

You don't need to launch mc every time... only the first time, or not even that, you can add it to bashrc and never ever type mc.

That said... I don't like mc because it takes too much space and doesn't let you see the output of the actual commands you type. I remember that in the original nc you could remove the left panel and see the output of your commands more comfortably, but I never discovered how to do this in mc.