Hacker News new | ask | show | jobs
by Zyst 3361 days ago
Is anyone here using this for *Nix traditional tools?

Mostly curious about Vim/Tmux, and having serve operations spit out the server into the actual Windows browser?

I did read something about the creator update adding 24 color support.

4 comments

I use vim in it when I code on my home computer, haven't had any problems. I haven't tried tmux, but I think that'd be fine too.

I'm less sure about things that require a GUI, and last time I tried postgres it didn't work. That was a while ago, though, and they might have made progress since. TFA says the postgres tests are passing.

Things that require a GUI require you to have a separate X server running. WSL, as far as I know, does not support running X11. However, if you do have a Windows native X11 server running (like xming, for example) things like emacs and gvim seem to work. I haven't tried anything more intensive than those, though.
> Things that require a GUI require you to have a separate X server running. WSL, as far as I know, does not support running X11.

They mention X/GUI support in the "What's new in Bash/WSL" article[1].

> Note: Some of you may also have been following along with some intrepid explorations into running X/GUI apps and desktops on WSL. While we don’t explicitly support X/GUI apps/desktops on WSL, we don’t do anything to block/prevent them from running. So if you manage to get your favorite editor, desktop, browser, etc. running, GREAT but know that we are still focusing all our efforts on delivering a really solid command-line experience, running all the command-line developer tools you need.

[1]: https://blogs.msdn.microsoft.com/commandline/2017/04/11/wind...

youtube in firefox played ok.
I work in Vim and tmux in WSL all the time and it works great for me. In fact, the only tool I've found that doesn't work (on the latest slow ring) is vim-plug.

> having serve operations spit out the server into the actual Windows browser?

I'm unsure exactly what you mean. But you can absolutely run web servers in WSL and connect to them from any browser running on Windows.

In my experience, you can connect to any network services running on Windows from Linux (for example, I connect to the Docker for Windows daemon) and vice versa.

Yep - Vim, working on python code. It's pretty darn good. The terminal occasionally gets confused when you're popping in and out of an alternate-screen app (less or vim) and leaves the bottom line of the alt screen behind - but this can be fixed by hitting ctrl-L. Also the terminal occasionally seems to report the wrong size and vim pops up only using some of the available space - again, suspend vim, ctrl-L, unsuspend, done.
VIM + TMUX works awesome for me!