Live data from Hacker News

Neo-mc – a Midnight Commander fork with scripting and other features

github.com

51–60 of 73 posts

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#51
post #3

Voting this up, because mc is great and deserves more attention. Sometimes cp/mv/rm or grep just are not sufficient. Mc is great for browsing your filesystem quickly and for example copy partial content of certain directories only. I use it on macos and even on my vps. Using it since windows xp - when i switched to linux from scratch ;-) That said, i am not sure what this fork adds. I know a lot of mc tricks, i use i…

Seconded! A double panel file manager is a very convenient concept, strongly suggest those that have not tried it do so! I mostly use the core feature of organizing files such as downloads, moving from one folder to another; sorting by size, date, etc, for a quick overview. What would your tricks be?

cd ftp:// and then copying files remotely to whatever local location is my personal favorite.

I just tried and it also works for sftp as well! Though it doesn't seem to read ~/.ssh/authorized_keys -so you have to enter your password each time.

But typing something like cd sftp:/// is a great way to access my unsupported (no guest additions) virtual machines from WSL

There's one snag with ctrl-o; it only works for Linux consoles and xterms. It doesn't appear to work with a BSD (or whatever) console -at least it always gives me errors.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#52
post #42

Earlier quoted context omitted.

In my experience, that's not a real option in large, professional system admin settings. You wouldn't dare do that on a production machine without your change management process, and your team of admins won't care about installing micro on the thousands of machines you have to manage. You'd have to do a pull request to some kind of config management repo, and no one will agree your pet editor merits a deploy, and you…

You're right, of course it's impossible for anyone to approve installing a modern editor. How ignorant of me to suggest that. Everyone must use the editor and paradigm from the late 1970s. That's the only way professional system administrators and organizations can operate. No one has time to approve a pull request, no matter how outdated the editor is. We all learned it. Everyone else has to learn it also. Until the…

I mean, I’d be surprised if the percentage of SAs that are proficient in vi is less than 90% (even that percentage is probably low), so I really don’t think it’s a problem that needs to be solved. vi/m works superbly as the main text editor on *nix servers. Sounds like you just hated it from the get go and refuse to learn it. And that’s also fine.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#53
post #43

Earlier quoted context omitted.

*nix system administration at many companies means that there are 1000s of RHEL or CentOS or older Solaris servers that you may very often need to edit a file if there is no config management (which is often the case). What all these servers will have to do that will be vi (or vim if you’re lucky). In most cases you can’t just go install some random other text editor that you happen to like better or be more proficie…

If you literally have to log into an ssh session on 1000s of machines running discontinued operating systems to manually edit files and can never install new tools for editing or anything else in those machines, then you deserve to go out of business.

But aren’t you talking about sshing into a machine and manually editing with Micro? If we’re going to talk apples, let’s stick with talking apples.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#54
post #31

Earlier quoted context omitted.

> Does anyone know if the contributors of this fork ever talked to the current maintainers of mc? Yes, and there was a kind of dispute about this. The gist of it can be found in this ticket: https://midnight-commander.org/ticket/4187 EDIT: Interesting read also about the pros and cons of Slang2 as scripting language, some history and the job of maintaining mc in general …

Interesting read, thank you. So there is also a plugin system in Lua waiting, it just needs someone to care for it. The S-lang plugin system will not go in mc itself since they prefer to get rid of S-lang alltogether, in favor of ncurses as screen library. This same author had a Python plugin system first, but scrapped it in favor of this S-lang plugin system. And yes, I can imagine they are looking more for people d…

This sort of language seems a bit uncalled for to me

> gee, look - a 3rd contender for a scripting integration ... and the 2nd from you, heh. i guess you're retracting #4136 then?

> how does this compare in size with moofie's lua stuff? that's what the integration question mostly hinges on, i think.

> according to trac's diff view, the indentation in the patch is somewhat random. how did you even manage to do that ...? :}

>> Am I doing something wrong?

> yes - not doing enough meditation. :D no, seriously, you need patience. a lot of it.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#55
How do I navigate to the same directory which is opened in the other panel or to a root of a particular device (a USB drive or a hard drive partition) quickly? These are the 2 things I use heavily in all the "commanders" but couldn't find in MC. Lack of these makes it useless for me as I hate manually crawling the global file system every time I want to switch a drive.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#57
post #48

Although not a console app, Far2l [1] is a clone of Far Manager [2] and is just great both on Mac or Linux [1] https://github.com/elfmz/far2l [2] https://www.farmanager.com/ And I think that Far Manager is the best 2 panel file manager ever.

Awesome but buggy. I tried using it (I mean on Linux) and it crashed quickly.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#58
post #42

Earlier quoted context omitted.

You're right, of course it's impossible for anyone to approve installing a modern editor. How ignorant of me to suggest that. Everyone must use the editor and paradigm from the late 1970s. That's the only way professional system administrators and organizations can operate. No one has time to approve a pull request, no matter how outdated the editor is. We all learned it. Everyone else has to learn it also. Until the…

I mean, I’d be surprised if the percentage of SAs that are proficient in vi is less than 90% (even that percentage is probably low), so I really don’t think it’s a problem that needs to be solved. vi/m works superbly as the main text editor on *nix servers. Sounds like you just hated it from the get go and refuse to learn it. And that’s also fine.

I learned it and use it all the time. It's just an outdated editor and religion. And there is no logical reason not to replace it with something modern and superior. And it's a shame that people are suggesting that young people waste their time with it.

It's just amazing that says admins are literally suggessting they can't install a program.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#59
post #58

Earlier quoted context omitted.

I mean, I’d be surprised if the percentage of SAs that are proficient in vi is less than 90% (even that percentage is probably low), so I really don’t think it’s a problem that needs to be solved. vi/m works superbly as the main text editor on *nix servers. Sounds like you just hated it from the get go and refuse to learn it. And that’s also fine.

I learned it and use it all the time. It's just an outdated editor and religion. And there is no logical reason not to replace it with something modern and superior. And it's a shame that people are suggesting that young people waste their time with it. It's just amazing that says admins are literally suggessting they can't install a program.

Given its prevalence in the SA landscape (which I don’t think even you can deny), to state that learning Vi would be a waste of time for any young person interested in the industry, would be, well, completely inaccurate. But we obviously completely disagree. We can just probably leave it at that.

Re: Neo-mc – a Midnight Commander fork with scripting and other features

#60
post #3

Voting this up, because mc is great and deserves more attention. Sometimes cp/mv/rm or grep just are not sufficient. Mc is great for browsing your filesystem quickly and for example copy partial content of certain directories only. I use it on macos and even on my vps. Using it since windows xp - when i switched to linux from scratch ;-) That said, i am not sure what this fork adds. I know a lot of mc tricks, i use i…

mc is a wonderful piece of software. We call it morton commander as an inside joke. When I install a server the first command I run is install screen vim mc

Add multitail!
Post reply on HN