Live data from Hacker News

What’s New in Bash/WSL and Windows Console

blogs.msdn.microsoft.com

131–140 of 251 posts

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

#131
post #99

Earlier quoted context omitted.

bash.exe on Windows is also GNU Bash: C:\Users\laumars>bash --version GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. The rest of the subsystem isn't called "bash", it's called "Windows System for…

Linux, BSD, Solaris, etc. have significant differences among them, and the source code needs to be aware of them. Same with all crossplatform software. But from the perspective of a Linux binary running on WSL, running on WSL should be the same as running on Linux. If bash is an exception to that, that seems more like a hack on Microsoft's part. If they implemented the execve() syscall and others, starting whatever o…

[deleted]

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

#132

Earlier quoted context omitted.

>My theory is that the next version of Windows is going to use the Linux kernel. Windows 10 is the last version of Windows that Microsoft is making. It will be continuously updated instead of new versions being released.

There is an ancient story about an old ship with all its parts replaced and the question was when does it stop being the old ship and become a new ship? If Windows has a Linux kernel, is it still Windows? I guess Windows is whatever Microsoft calls Windows?

Windows started on the DOS kernel, so switching to a new kernel wouldn't dismantle the whole product.

Although I don't see a reason why NT should be inferior to Linux from Microsoft's perspective.

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

#133

Earlier quoted context omitted.

What I do is start sshd in WSL then ssh to @localhost from mobaxterm which is quite a nice (tabbed) terminal app. Works a treat, even with the free edition. http://mobaxterm.mobatek.net/

ssh has its own typing latency, doesn't feel like native to me

Can't say I've ever noticed any difference, even over the VPN to our stuff in the DC. Even serious vim editing sessions on a remote box with tmux feel just as instant as when I'm working on my local Fedora/KDE h/w PC in Konsole.

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

#134
post #82

Earlier quoted context omitted.

Everyone you're replying to understands how WSL and UNIX shells work. The error is on your part because you keep misunderstanding that the Windows executable one runs to invoke WSL is literally C:\Windows\System32\bash.exe Sure, once you've started bash you can then probably switch to whichever shell you want afterwards (NOTE: I say that but I've not tested to see if other shells work). But to use your WINE example,…

When I say bash, I am referring to GNU bash, the shell that has existed for decades now on Linux, BSD, macOS, Solaris and an endless list of other operating systems. I do not care if Microsoft couples their ABI and the shell and decides to call that "bash". GNU bash will continue to be what it has been for decades now. I also do not care if a lot of people want to take the entire GNU/Linux userland and decide to call…

Getting bash to run was a major milestone. Getting that application (which hooks into IO, process control, console output, devices, security, among many, many other things) is orders of magnitude more complex than getting something like awk running (and it still isn't 100% complete). I guess, from my perspective, the major deliverable for WSL was bash. You could have gotten hundreds of other subsystems in the LTP delivered, and dozen of the major products like nginx, cassandra, etc.. running - but until I could hop onto the system with bash, it wasn't an environment that I could interact with (as opposed to my programs).

I guess we just have different priorities.

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

#135
post #130
post #119

Earlier quoted context omitted.

ConEmu has the best UI I've ever seen in a terminal. Way better than anything I've seen in *nix.

I use ConEmu for 5 hours a day. it's the best terminal on Windows, but its UI is absolutely awful https://conemu.github.io/img/ConEmu-Maximus5.png https://conemu.github.io/img/Settings-Main.png - Minimal contrast in active tabs - can't be fixed due to Windows XP support. - Flashes it's hidden console proxy on screen continually - Settings menu with around 5000 options and no sense of heirarchy - something that's rare…

1. I understand the developer, I don't see the issue (wouldn't mind it being configurable but if it is the only thing that breaks XP support I can understand it).

2. I've seen it, happens probably once a month for 3. This is awesome, you go through it once and have every detail exactly they way you want it just because everything was shown (contrast to being forced to read the entire manual just to know what you can do). Great for discoverability. Take 15 minutes, quickly test out different settings and looks, reap the benefits for years to come.

4. I've removed the titlebar altogether. No borders at all either - Just a tiny (half row) discrete status bar at the bottom.

5. No idea what you mean here, can't recall to have seen it freak out ever.

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

#136

Earlier quoted context omitted.

>My theory is that the next version of Windows is going to use the Linux kernel. Windows 10 is the last version of Windows that Microsoft is making. It will be continuously updated instead of new versions being released.

I find it very hard to believe that 10 the last version of windows.

You don't have to believe it, that doesn't change the fact that Microsoft has been saying it for two years though:

http://www.theverge.com/2015/5/7/8568473/windows-10-last-ver...

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

#137

Earlier quoted context omitted.

There is an ancient story about an old ship with all its parts replaced and the question was when does it stop being the old ship and become a new ship? If Windows has a Linux kernel, is it still Windows? I guess Windows is whatever Microsoft calls Windows?

Windows started on the DOS kernel, so switching to a new kernel wouldn't dismantle the whole product. Although I don't see a reason why NT should be inferior to Linux from Microsoft's perspective.

Windows NT is a completely different kernel, so was 9x. So Microsoft actually changed kernels at least twice.

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

#139
post #75

Windows Console folk: any chance of tabs in the official terminal? Current Windows terminal options: - ConEmu: mainly excellent but a little dated - eg, the active tab color is hard to distinguish but it can't be changed, apparently due to maintainer's insistence it works on Windows XP. - Hyper: excellent but Ctrl C, Ctrl R etc broken in powershell. Adding tabs to the Windows console makes more sense than have a thir…

It's on their backlog: https://wpdev.uservoice.com/forums/266908-command-prompt-con... You can upvote it to signal this is important for you, they use UserVoice as one signal to prioritize feature work.

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

#140
post #75

Windows Console folk: any chance of tabs in the official terminal? Current Windows terminal options: - ConEmu: mainly excellent but a little dated - eg, the active tab color is hard to distinguish but it can't be changed, apparently due to maintainer's insistence it works on Windows XP. - Hyper: excellent but Ctrl C, Ctrl R etc broken in powershell. Adding tabs to the Windows console makes more sense than have a thir…

I really support ConsoleZ. The UI is sadly still a little bulky, but you can do a good bit of configuration for hotkeys. The tabbing is nice, and it also to my memory has panes, without ConEmu's weird hidden tab system for them.

It has the added benefit of you being able to pick the terminal to spin up, and whether you want Administrator mode or not, on every new tab, so you can be working in a bash tab and pop a new Admin cmd tab to update packages using your Windows manager.

Post reply on HN