mcwin32 icon indicating copy to clipboard operation
mcwin32 copied to clipboard

Where is mcedit binary file?

Open caffeine-mgn opened this issue 2 years ago • 2 comments

Sometimes I need just quickly edit some file. And usually I can do it on Linux with mcedit

caffeine-mgn avatar May 16 '22 18:05 caffeine-mgn

mcedit is an alias for mc, aka a symlink under unix.; copy mc.exe as mcedit.exe to emulate.

adamyg avatar May 17 '22 02:05 adamyg

shall modify packaging to create a mcedit.exe image from mc.exe

adamyg avatar May 19 '22 01:05 adamyg

@adamyg I tried to simply use mc myfile.txt to open the editor, but instead it opens midnightcommander in the current folder. Is there an option to quickly open a file in mc's editor directly?

AndiLeni avatar Jan 06 '23 22:01 AndiLeni

shall repackage mc as mcedit in next release; waiting on 4.8.29

aka: C:/Program Files (x86)/Midnight Commander/mc.exe --> C:/Program Files (x86)/Midnight Commander/mcedit.exe

adamyg avatar Jan 07 '23 10:01 adamyg

build-228

adamyg avatar Jan 31 '23 17:01 adamyg

released

adamyg avatar Sep 10 '23 15:09 adamyg

I'm unable to see any mcedit executable neither in 228 nor 229 ZIP dists, was it really released?

However, from what I have tried, creating hardlink mcedit.exe -> mc.exe with

mklink /H mcedit.exe mc.exe

seems to do the trick, so could be manual workaround for the mean time. (As well as simply duplicating mc.exe and renaming the duplicate to mcedit.exe.)

Edit: IIUC, the duplication of mc.exe into mcedit.exe is what the installer currently does (?) So to reiterate, I was referring to content of mcwin32-build229-x64.zip and previous.

myfonj avatar Feb 28 '24 16:02 myfonj

Just copy mc.exe to mcedit; the same action is done when packaged .

On Thu, Feb 29, 2024 at 12:14 AM Michal Čaplygin @.***> wrote:

I'm unable to see any mcedit executable neither in 228 nor 229 ZIP dists, was it really released?

However, from what I have tried, creating hardlink mcedit.exe -> mc.exe with

mklink /H mcedit.exe mc.exe

seems to do the trick, so could be manual workaround for the mean time. (As well as simply duplicating mc.exe and renaming the duplicate to mcedit.exe.)

— Reply to this email directly, view it on GitHub https://github.com/adamyg/mcwin32/issues/28#issuecomment-1969330354, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKF46VQI6L4EIB7Q4HPQJ3LYV5JXFAVCNFSM5WCJP2OKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWHEZTGMBTGU2A . You are receiving this because you modified the open/close state.Message ID: @.***>

adamyg avatar Feb 29 '24 01:02 adamyg

Sure, that's the second ("duplicating") option I have mentioned. But wouldn't be better if users of ZIP archives "installations" would not have to do that and had it prepared already? Is it possible to distribute it with duplicate or even better some kind of (smaller) proxy launcher that would behave like a symlink?

myfonj avatar Feb 29 '24 09:02 myfonj