Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

101–110 of 316 posts

Re: Bash and Windows Subsystem for Linux Demo [video]

#101
post #98

Any news about 256-color support? I understand the desire for the extreme backwards compatibility, but it requires some manual magic done to display things properly in fish (which, thankfully, works really well with Bash on Windows after the aforementioned magic), and even then it will only support 16 colors.

The way I solved the terminal emulator shortcommings is this: Install a gtk-based terminal emulator with gtk/gnome dependencies on you ubuntu subsystem and run it with `DISPLAY=localhost:0.0` environment variable. This works if you run XServer Client on your Windows side. I use XcSrv and pantheon-terminal.

Re: Bash and Windows Subsystem for Linux Demo [video]

#102

I've been running windows (using WSL for most of my development) for a few months and overall I'm very happy with it. Every non-GUI linux program I want to run works just fine on WSL, with the sole exception of (beta software) Urbit. I do miss Xmonad-like window management, but windows does have shortcut keys that do a good enough job. Emacs works perfectly well. And Anaconda ( https://www.continuum.io/downloads ) is…

> Emacs works perfectly well

Do you use spacemacs by any chance? I tried emacs with WSL when the Anniversary Update was released and ran into this issue:

https://github.com/Microsoft/BashOnWindows/issues/639

I'll try it again when Creators Update is available and hope for the best.

Edit: NM, just saw below, after I posted this message that you're using the Windows emacs build.

Re: Bash and Windows Subsystem for Linux Demo [video]

#103

With Visual Studio Code, Microsoft is making Windows 10 really appealing to developers. I personally won't jump any time soon, I am really satisfied with my work environment on macOS (and Linux inside VM) (unless I got locked down into Microsoft stack for work, in that case I will gladly switch, but it's not like I will have any other option). But anyway, I recognize and appreciate the change at Microsoft's direction…

[deleted]

Re: Bash and Windows Subsystem for Linux Demo [video]

#104

With something called Cygnal, you can make native Windows applications, while taking avantage of all the POSIX interfaces in Cygwin. No special subsystem required, just some DLL's. http://www.kylheku.com/cygnal/

With all the drawbacks that Cygwin entails. Plus the requirement to rebuild the code instead of just using the Linux-native ELF binary.

Those are two things with very different goals.

Re: Bash and Windows Subsystem for Linux Demo [video]

#105
post #71
post #2

This is coming to Windows stable in April: - vt sequences fixed (so stuff like colored output, midnight commander, etc work and the terminal doesn't screw up) - Elixir and Go work - Also Postgres and MySQL - You can launch Windows apps from bash. - inotify works - Visual Studio can compile with GNU/Linux C/C++ tools, gdb, linker etc There's some recent fast ring info on: https://blogs.msdn.microsoft.com/commandline/2…

Is iterating over network interfaces possible? IIRC that was causing a lot of issues with local nodejs dev servers

Yeah it works.

I can finally ping, do ifconfig etc.

Even htop runs. I am amazed! http://imgur.com/7P2J64h

Re: Bash and Windows Subsystem for Linux Demo [video]

#106
post #71
post #2

This is coming to Windows stable in April: - vt sequences fixed (so stuff like colored output, midnight commander, etc work and the terminal doesn't screw up) - Elixir and Go work - Also Postgres and MySQL - You can launch Windows apps from bash. - inotify works - Visual Studio can compile with GNU/Linux C/C++ tools, gdb, linker etc There's some recent fast ring info on: https://blogs.msdn.microsoft.com/commandline/2…

Is iterating over network interfaces possible? IIRC that was causing a lot of issues with local nodejs dev servers

This was added to the fast ring builds in December. Not sure of the timeline to get it out into stable, but it definitely was a big deal to get.

Re: Bash and Windows Subsystem for Linux Demo [video]

#107
post #3

That's one low quality video, and to add insult to injury they're posted on Facebook. Here's a better quality video on Channel9: https://channel9.msdn.com/events/Windows/Windows-Developer-D... Same start time of ~17:00 mins in.

Thank you! A moderator updated the link from https://www.facebook.com/windowsdeveloper/videos/10155352927....

Re: Bash and Windows Subsystem for Linux Demo [video]

#108
I Still wish they did the opposite. I want to seamlessly run an occasional windows app in linux, and I would pay for it. There is literally zero chance of me switching back to windows for day to day usage.

Edit:

idobai, I can't reply because your account is banned, but last I tried Wine and Crossover do not work for the apps I am trying to use.

Edit 2: cyloneyes, you're banned too. But "They" would be Microsoft. They are the only ones who could really do it.

Re: Bash and Windows Subsystem for Linux Demo [video]

#109
Can anyone please tell if Windows SubSystem for Linux coexists well with Cygwin64 and/or msys? I have Cygwin64 installed. I don't use it a lot but it helps to run some deployment bash scripts which otherwise won't run on Windows. So it will be good to know if Windows SubSystem for Linux messes up with it or not.

Re: Bash and Windows Subsystem for Linux Demo [video]

#110
post #98

Any news about 256-color support? I understand the desire for the extreme backwards compatibility, but it requires some manual magic done to display things properly in fish (which, thankfully, works really well with Bash on Windows after the aforementioned magic), and even then it will only support 16 colors.

It might work in ConEmu. As for the native Windows console, I wouldn't hold my breath, considering that that'd be rather incompatible with the current framebuffer and would probably require a lot of new Windows APIs.
Post reply on HN