Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

51–60 of 316 posts

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

#51
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…

Re: Elixir

The Erlang/OTP 19.x releases are still broken because of some missing system calls. They seem to have an incoming fix though: https://github.com/Microsoft/BashOnWindows/issues/613

It's great that they keep open conversations like this for issue tracking and hopefully April will be working 100% by then.

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

#52

Not since Windows 2000 have I been so interested in an upgrade to a new Windows release. Only at work do I have to suffer through Windows, but this would make things much nicer there. I hope/pray that readline and/or editline work correctly on bash et al? Do Windows CI services like Appveyor support WSL? If so I would hope that deploying to windows for lots of high level software is relatively painless. Head scratche…

> The demo clearly shows the shebang line mashed in with the rest of the file contents.

Demoer specifically comments that it's broken (obvously CR/LF differences) and they're fixing it.

Also VS Code for Windows might have been a better example than Notepad but you get how this could be useful.

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

#53
post #28
post #13

Now all we need is a first-party X server...

What we need (last time I checked) is cron jobs and persistent services (sshd pls).

sshd works I guess. I can start sshd on WSL and connect to it using ssh from Visual Studio to build my C/C++ code on Linux using gcc.

Maybe there are some others features of sshd you are talking about that I may not know about.

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

#55

The biggest problem I have with the WSL is that it is intrinsically tied to stable Windows releases; there is no way to get incremental updates for Bash on Windows unless you subscribe to the Windows Insider program, which is a way of running prerelease versions of Windows. So in order to get Linux features like inotify working you have to sacrifice the stability of your operating system. This looks like it'll be tru…

Output from `bash --version` on macOS: `GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) Copyright (C) 2007 Free Software Foundation, Inc.` that's a 10yr old bash and there's barely any shell magic that you can do on Linux that won't work on macOS. And since by far most devs use macOS, most binaries support at least the macOS version of bash. All in all, no need to worry :p

You can get a newer bash, so that comparison is particularly moot.

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

#58
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 actually a good native windows distribution of Python and Julia.

Cortana + voice recognition is actually pretty cool, I'm looking forward to hacking on it when MS releases the dev kit.

So far, windows seems to be an acceptable Linux. I will probably stick with it for a while, assuming I don't run into any crazy new blockers.

(I've been on Linux exclusively since 2001 except for a brief attempt to use OS X around 2009. That experiment was less than successful: https://news.ycombinator.com/item?id=1786930#1787411 )

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

#59

The biggest problem I have with the WSL is that it is intrinsically tied to stable Windows releases; there is no way to get incremental updates for Bash on Windows unless you subscribe to the Windows Insider program, which is a way of running prerelease versions of Windows. So in order to get Linux features like inotify working you have to sacrifice the stability of your operating system. This looks like it'll be tru…

Output from `bash --version` on macOS: `GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) Copyright (C) 2007 Free Software Foundation, Inc.` that's a 10yr old bash and there's barely any shell magic that you can do on Linux that won't work on macOS. And since by far most devs use macOS, most binaries support at least the macOS version of bash. All in all, no need to worry :p

its more about supported syscalls and buggy behaviour in their linux kernel emulation than specific versions of specific tools.

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

#60

Not since Windows 2000 have I been so interested in an upgrade to a new Windows release. Only at work do I have to suffer through Windows, but this would make things much nicer there. I hope/pray that readline and/or editline work correctly on bash et al? Do Windows CI services like Appveyor support WSL? If so I would hope that deploying to windows for lots of high level software is relatively painless. Head scratche…

Yea, fedora user at home, stuck on Windows 7 at work. I've actually started to pick up some Powershell for some light scripting. Have had a request in to the Vogons in IT to install python for windows for about 3 weeks now and I'm still waiting...
Post reply on HN