Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work on windows? #12

Closed
ipstone opened this issue Aug 31, 2016 · 4 comments
Closed

Does this work on windows? #12

ipstone opened this issue Aug 31, 2016 · 4 comments
Labels

Comments

@ipstone
Copy link

ipstone commented Aug 31, 2016

I am looking for a cross-platform file manager written in go, might this work on Windows machine?

@gokcehan
Copy link
Owner

@ipstone Short answer is currently it doesn't work unfortunately but it might in the future if there is enough interest.

I tried to run it on windows natively a while back ago. It was somewhat showing the ui but it wasn't really usable at all. I'm aware of following issues that needs to be dealt with:

  • Waiting commands uses a posix shell command to do the waiting
  • File delete/yank/paste uses cp and mv respectively
  • There might be some hardcoded unix path seperators (/) in the code
  • Server/Client communication is implemented with unix domain sockets

On a side note, with the Windows 10 anniversary update last month Windows Subsystem for Linux (WSL) has become available to everyone as an optional beta feature. Ideally it would be much easier to run it on WSL. However the last time I tried, it was crashing on startup. In fact all termbox applications was crashing. The problem is most likely due to some signals used in termbox initialization. As far as I know there are some issues with other Go applications as well. If these issues are solved at some point, WSL may also become an option.

Let's keep this issue open.

gokcehan added a commit that referenced this issue Sep 6, 2016
This should fix path separator confusion in windows.

Mentioned in #12.
gokcehan added a commit that referenced this issue Sep 7, 2016
@5k3105
Copy link

5k3105 commented Sep 28, 2016

It seems to work with both regular win7 cmd prompt and cmder on windows.

@gokcehan
Copy link
Owner

@5k3105 It works in cmd.exe but there are still missing features such as copying files and running commands. I have never heard cmder though. I will give it a try, thanks.

gokcehan added a commit that referenced this issue Jul 23, 2017
gokcehan added a commit that referenced this issue Jul 24, 2017
gokcehan added a commit that referenced this issue Jul 25, 2017
gokcehan added a commit that referenced this issue Aug 2, 2017
gokcehan added a commit that referenced this issue Aug 2, 2017
@gokcehan gokcehan changed the title Question - will this work on windows? Does this work on windows? Sep 18, 2017
@gokcehan
Copy link
Owner

I have been working on the windows support for a while. All the things mentioned here before are now fixed. There are still some minor issues with the ui on the termbox-go library which I may try to tackle at some point. I have added lfcd scripts for cmd.exe and powershell to the repository. We may also prepare different config file examples for windows, particulary for a trash or remove command. I'm closing this issue now as it has become too generic.

Also, I realized go language does not support cygwin officially, and likely WSL too, so those platforms may not be an option unless things are changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants