Crash on startup on WSL
edit binary installed into /usr/bin from the latest release (1.2.0) from the zst file for 64bit linux onto a WSL2 VM using Ubuntu crashes at startup without displaying anything useful on screen.
steve@TV:~$ edit
steve@TV:~$
WSL version: 2.5.9.0 (22H2) Kernel version: 6.6.87.2-1 Windows version: 10.0.19045.5965 Ubuntu version: 24.04 (noble)
Attached strace output below:
strace.txt
Please let me know if there is anything else that I can do to help diagnose this bug.
I am using WSL2 with fedoralinux-42. It works well. just download manually (without using package manager) try to put the binary in /usr/local/bin.
@steviator looks like you're opening the wrong edit!
In Linux there's a name collision with another edit. There are references to perl and mailcap in your trace. That's not part of msedit
When using Linux it was decided the name of the editor to be msedit, so it's good practice to change the name of the binary before moving it to /usr/bin/
That's exactly it. You may have downloaded "edit", but you're probably missing a ./ or similar when running it.