mooffie / mc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from midnightcommander/mc
Midnight Commander with Lua support
Home Page: http://www.geek.co.il/~mooffie/mc-lua/docs/html/
License: Other
This project forked from midnightcommander/mc
Midnight Commander with Lua support
Home Page: http://www.geek.co.il/~mooffie/mc-lua/docs/html/
License: Other
that is .. i want to make a plugin that lists files ( this is ok ) from remote (i will do rclone ls remote: parse and present that) stat over file can be done, but i dont want to copy with mc ... i want to call external command when i hit f5 or ESC-5 that makes the external copy outside/in background from mc. i want to log the status line of the external copy into "main window".
This are my intentions. But i dont know how can i hook f5/copy command, will f5 only be hooked when i am in my remote, or it will be "forever"? so i must know when it is done to/from myremote and when it is not ....
I've used latest github-sources and compiled my own binary, but when I start the executable every time I get a warning "User supplied format looks invalid, reverting to default." and I get the new "Welcome" dialog where I can select what options I want to have enabled... is that a known bug or where should I look what's going on?
keymap.bind() function does not work with a lot of key combinations like:
Does not depend on style of definition combination. For example, these combination work correctly
M-x (alt+X)
C-x f1 (CTRL+X, F1)
But these - does not (have no effect):
M-f1, C-f1, S-f1
Would be best to allow users to use characters codes (users can get them using showkey command or something similar):
[56]-[59] (ALT+F1)
Hi, it seems that this fork didn't pull the patch for https://midnight-commander.org/ticket/3575
More specifically the original version from github.com/MidnightCommander/mc.git works fine while https://github.com/mooffie/mc.git shows the problem (these are built and used on ubuntu x64 if it matters, actually with btrfs now I realize that might be of some importance).
Maybe this fork it's too old or not maintained anymore, no problem, just dully reporting this in case there is any interest.
FYI there is some interest in creating a VFS plugin for arbitrary rclone remotes ( https://forum.rclone.org/t/vfs-plugin-for-mc/5657 ). rclone is an immensely popular, useful and well maintained project but not many people know enough (or even of) Midnight Commander. The idea is to use this mc with LUA support, but it's in its infancy.
Supporting of such escape sequences would be very useful inside lua dialogs:
echo -e "\e[1mbold\e[0m"
echo -e "\e[3mitalic\e[0m"
echo -e "\e[4munderline\e[0m"
echo -e "\e[9mstrikethrough\e[0m"
echo -e "\e[31mHello World\e[0m"
echo -e "\x1B[31mHello World\e[0m"
It is needed to change style and color of text inside dialog widgets like ui.listbox(), inside dialog captions etc.
Hi, mc^2 author,
Thank you for the great idea (and implementation) of adding scripting to mc.
This is really the situation when right technology works best when applied on the right level.
Do you think it is possible, and perhaps you can give some clues, on how to add
drag-and-drop support to mc using Lua script? I mean, the ability to drag and drop
files between panels with mouse (without using F5), and, more importantly, between
mc terminal window and rest of X applications, like Nautilus in Ubuntu.
Thank you,
Heigh
Hello Mooffie, first of all thank you for the effort of creating and publishing!
I am long time user of another NC-alike Far manager, but it is windows only,
and i am trying to find some similar but cross-platform tool to work on both platforms.
The best thing FAR manager have, is good Lua-scripting integration, based on API export.
So i was very disappointed by MC team for the dismiss :( albeit of your production ready work done here.
I consider to use your fork, i hope to have time and ability to build it on both *nix-es and windows,
while i am kind of starter, without too much experience in *nixes, and without deep C-programming as well.
(nobody has asked me to do this, and I was quite satisfied with the current version -- I'm using it daily).
So i am asking and pleading not to abandon, but continue at least some support level :)
I do plan to "rebase" mc^2 soon. If I don't, please nag me.
So i am trying to nag you :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.