Live data from Hacker News

What’s New in Bash/WSL and Windows Console

blogs.msdn.microsoft.com

51–60 of 251 posts

Re: What’s New in Bash/WSL and Windows Console

#51
post #12

Only thing I wish they could do is make calling Linux programs from Windows a bit more natural. Yeah "bash -c" works, but it's not exactly ideal.

I think it's fine as is just so you even know/remember where you're running that command from. What's not exactly ideal is completely blurring the lines between both kernel syscalls.

Re: What’s New in Bash/WSL and Windows Console

#52
post #20

Earlier quoted context omitted.

Microsoft adds this amazing set of features and the only response you have is "your name is insulting the people you're trying to appeal to"? "Trying"? As if they're failing? Do you know how much people love this project?

A lot of resistance some will have to WSL will be old battle scars from Microsofts past behaviour. Microsoft have done a lot over the years to troll the Linux community. While many of the younger HN members will be familiar with the "new open source Microsoft" some of us oldies have had to endure IE breaking the web plus ActiveX / Silverlight and other MS web lockins. Comments like "open source is communism" from top…

This is a very good point.

Whilst I really appreciate some of the things Microsoft is open sourcing I also find their current telemetry and privacy stance troubling.

Re: What’s New in Bash/WSL and Windows Console

#54
post #5

Ok, this is awesome, if everything works as advertised. I have been mostly a Linux user for quite some time - at least on my own computer, clients always have Windows. But this year I bought a Surface Pro as a secondary device. I first evaluated WSL and really liked it, but I switched to Hyper+Git Bash because networking in node.js was not working properly, and because I could not start Windows programs from the comm…

What's interesting about the Windows approach, (and I realize you know this) is you don't cease being a Linux user - they are effectively running a instance of Ubuntu (previously 14.04, now 16.04) - so most of the linux fu you are used to, translates directly to WSL. The Anniversary update was intriguing, but there were little nits in things like networking, file/process access between windows/linux environments, that made it just as easy (for me) to simply run a VM instance. Creators Update looks like it's resolved pretty much 100% of the top issues on my nit list - it's going to be really interesting to see I switch my workflow from VMs to working with WSL.

Re: What’s New in Bash/WSL and Windows Console

#55
post #41
post #20

Earlier quoted context omitted.

A lot of resistance some will have to WSL will be old battle scars from Microsofts past behaviour. Microsoft have done a lot over the years to troll the Linux community. While many of the younger HN members will be familiar with the "new open source Microsoft" some of us oldies have had to endure IE breaking the web plus ActiveX / Silverlight and other MS web lockins. Comments like "open source is communism" from top…

I also remember the standardization process of OOXML. https://en.wikipedia.org/wiki/Standardization_of_Office_Open... I also think their current strategy could be the one you describe. We're at the Embrace phase. It's not sure that Extend will follow but I wonder what it could look like. Maybe it will be something convenient you can do in Linux only if you're running it inside WSL. Given how Linux is used it should b…

They might have switched business models.

Microsoft's revenue from patents collected from companies such as Samsung and HTC is like $1 billion.

Re: What’s New in Bash/WSL and Windows Console

#57
post #36
post #13

Earlier quoted context omitted.

I recently tried starting Windows CLI programs from within bash and it worked just fine, but you have to specify the entire filename, like "./notepad.exe".

This is usually because, by default on many Linux flavours, the current directory is not included in your path environment variable.

This is generally the case in all Unix shells. See, for instance, https://superuser.com/questions/156582/why-is-not-in-the-pat....

Re: What’s New in Bash/WSL and Windows Console

#58
post #20

Earlier quoted context omitted.

A lot of resistance some will have to WSL will be old battle scars from Microsofts past behaviour. Microsoft have done a lot over the years to troll the Linux community. While many of the younger HN members will be familiar with the "new open source Microsoft" some of us oldies have had to endure IE breaking the web plus ActiveX / Silverlight and other MS web lockins. Comments like "open source is communism" from top…

My remarks were directed at the product being discussed ("Bash on Windows"), a name that I think is incorrect for objective reasons. You can agree or disagree, but the comment was technical in nature, not trolling. People do not use "Bash on Windows" just for the sake of using Bash (the shell), they use it to access GNU/Linux software through the WSL ABI.

I'm wondering if you are misguided here - and what Microsoft is working on right now is "Bash on Windows" - I.E. The console environment that people want to interact with when writing quick scripts, connecting to remote servers, maybe running a little bit of a local web instance.

Speaking for myself, personally - if I want to run GNU/Linux software through the Linux ABI - I'm not going to be doing it on WSL - I'll do it on a VM or on a farm of VPS/EC2 instances somewhere. The attraction to me for WSL is the ability to have all my rich windows software, tools in the same environment that I'm connecting to those hosts from (which I normally do with OS X).

Note that the vast number of improvements (consoling, ping, vt100 support, launching windows apps from linux, etc...) in Creators Update are about improving the CLI/Shell experience for users.

Re: What’s New in Bash/WSL and Windows Console

#60

Earlier quoted context omitted.

EDIT: Your choice of shell can be something different than bash... you opt to use zsh or fish or another shell. Therefore saying "Bash for Windows" can be objectively said to be unnecessarily confusing/inaccurate. I think Cygwin was less convenient than an ABI such as WSL, but by no means "terrible". Cygwin was initially released around 1995, it served a valuable purpose before the first VM products came along.

>EDIT: Your choice of shell can be something different than >bash... Bash is the default shell. It's also the generic command you run to launch the WSL environment. While the multiple names for the same subsystem are a little nebulous, Bash is far from being as confusing or misleading as you're attempting to portray. Also, editing your original snide grammar dismissal due to the downvotes it received isn't appreciate…

Not being able to change the shell is an open issue.

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

Then, we both edited our replies. He corrected his typo, I removed my remark about the typo. At no moment there was any insult given, and the replier did not take offense.

No need for insulting.

Post reply on HN