Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

241–250 of 316 posts

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

#241
post #233

Earlier quoted context omitted.

To be clear, I use one of the GUI versions of emacs for windows. C-spc works fine there. I'd like to play with Urbit - Yarvin and his goals are interesting enough that I'm willing to spend a few hours playing around.

Would you mind elaborating on what emacs in particular you're using? I use and love emacs but unfortunately the times I've tried to use it on windows it's been extremely unresponsive.

Have you tried this one?

https://sourceforge.net/projects/emacsbinw64/files/release/

It's worked for me fairly well.

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

#242

Earlier quoted context omitted.

The big difference is that it isn't just POSIX compatible, it is a full out "bug-for-bug" emulation of the Linux kernel specifically with an eye towards binary compatibility. Out of the box, the userland here isn't just GNU, it is entirely the same binaries as shipped by Canonical in Ubuntu. Old Interix required retargeting and recompiling binaries, similar to how you would need to recompile to target the differences…

>the userland here isn't just GNU Ah okay. Shame that calling this "GNU/NT 10.0" would not be proper then.

It’s “GNU\NT 10.0”.

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

#243
post #241
post #233

Earlier quoted context omitted.

Would you mind elaborating on what emacs in particular you're using? I use and love emacs but unfortunately the times I've tried to use it on windows it's been extremely unresponsive.

Have you tried this one? https://sourceforge.net/projects/emacsbinw64/files/release/ It's worked for me fairly well.

Indeed that's the one that I used. For some reason, even just moving the cursor around the buffer was extremely unresponsive, it would take seconds for it to register a cursor movement. I'll have to figure out if it's some package I'm using.

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

#244
post #233

Earlier quoted context omitted.

To be clear, I use one of the GUI versions of emacs for windows. C-spc works fine there. I'd like to play with Urbit - Yarvin and his goals are interesting enough that I'm willing to spend a few hours playing around.

Would you mind elaborating on what emacs in particular you're using? I use and love emacs but unfortunately the times I've tried to use it on windows it's been extremely unresponsive.

The "official" one:

https://www.gnu.org/software/emacs/download.html#windows

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

#245
post #233

Earlier quoted context omitted.

Would you mind elaborating on what emacs in particular you're using? I use and love emacs but unfortunately the times I've tried to use it on windows it's been extremely unresponsive.

The "official" one: https://www.gnu.org/software/emacs/download.html#windows

Woah I tried it again and it seems like it's working perfectly! It seems like the initial release for windows wasn't compiled with optimizations, so perhaps that's the issue I was observing.

https://www.reddit.com/r/emacs/comments/598iot/on_windows_em...

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

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

It isn't clear how much people can appreciate this sort of thing without context. Back in the mid 2000's I was at a very high level Microsoft Developer event and got to ask about waning support for command line tools.

People of a certain age remembered well the power and simplicity of using DOS and its "console" to effectively develop code and debug, even without typing 'win' to get into "GUI mode".

But at this event a very senior engineer/architect in the Windows group (no longer with Microsoft) responded to my question of command line support with a very snarky response which was something along the lines of "It is called Windows not relic from the 70's so no, we really don't care if you can't use it like a time sharing system any more." And that was the way it was, anything you could do on the command line you could do in a GUI window with radio buttons and various text boxes.

And what was why I switched to MacOS as my daily driver because my personal style had me so much more productive in "terminal" mode than in "gui" mode, I preferred it.

Now you have Microsoft investing real time and effort to create credible command line type tools in their system and it is a remarkably good thing. I use WLS every day and its getting better and better. I have suggested they implement a local network service equivalent of the USB over Ethernet service so that you can easily share USB devices between the Windows side and the Linux side, the up coming visual fixes will address many of the minor annoyances. That is a really huge shift for Microsoft.

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

#247

Earlier quoted context omitted.

Source? Personally, I wonder how long it takes before redmond realizes that they are wasting shareholder money by maintaining/developing a proprietary kernel. It's not like they could not sell windows/linux as a perfectly good OS with copyrighted components on top of the kernel. Or then I have missed something significant.

how can they sell GPL OS? I mean they can try, but people will just download for free if they can.

So, then how do you explain Red Hat's $11.5B valuation?

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

#248

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…

> I want to seamlessly run an occasional windows app in linux, and I would pay for it. Please define "seamless" in this context. If you mean that you want to have the running Windows apps appear as window in your Linux environment, VirtualBox has a Seamless mode that will do that. I haven't tried it, but what I find with Google seems to say it works as expected. VMware Fusion (on the Mac) has a similar mode called Un…

I've used virtualbox, but it doesn't work with everything, especially when it comes to hardware. By "Seamless" I meant Binary compatibility, with all the libraries, fonts, etc necessary to have %100 compatibility. I know it's a pipe dream, I'm just saying it would be nice.

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

#249
post #67

I think "bash on Windows" is not a valid way of describing what it is. Cygwin, which allows you to run bash among many things, has been available for TWENTY TWO YEARS now. However it required such software to be ported and recompiled specifically for its use with Cygwin. The difference this time is being able to run unmodified Linux software on Windows, through an application binary interface called Windows Subsystem…

> Bash on Windows or Bash/WSL got the most votes in early polling while we were choosing a descriptive name for this unusual feature, especially compared to WSRPGLB (Windows Subsystem for Running POSIX, GNU, Linux Binaries) which felt a little cumbersome https://blogs.msdn.microsoft.com/vcblog/2017/02/08/targeting...

That should not have been a poll option in the first place because it oversimplifies what it is.

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

#250
post #205

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…

Every non-GUI linux program I want to run works just fine on WSL Most gui programs seem to work ok as well, though you do need an X-server running on Windows (e.g. the one in MobaXTerm does the job)

Yep. Pulseaudio works similarly with enough poking and prodding.

I was able to do stuff like watch cat videos on youtube with sound at full speed (though presumably not hardware accelerated).

Post reply on HN