Slashdot Mirror


Windows 10 Upgrade Bug Disabled Cntrl-C In Bash (infoworld.com)

An anonymous reader quotes InfoWorld: A massive set of changes to the Windows Subsystem for Linux (WSL) was rolled into Windows Insider build 15002... If this is any hint, Microsoft's goal is nothing short of making it a credible alternative to other Linux distributions... Some of the fixes also implement functionality that wasn't available before to Linux apps in WSL, such as support for kernel memory overcommit and previously omitted network stack options. Other changes enhance integration between WSL and the rest of Windows...

[O]ne major issue in build 15002 is that Ctrl-C in a Bash session no longer works. Microsoft provided an uncommon level of detail for how this bug crept in, saying it had to do with synchronization between the Windows and Bash development teams. The next Insider build should have a fix. But for people doing serious work with Linux command-line apps, not having Ctrl-C is a little like driving a car when only the front brakes work.

25 of 277 comments (clear)

  1. Ha-Ha! by Anonymous Coward · · Score: 5, Insightful

    But for people doing serious work with Linux command-line apps

    ...we use a Linux operating system.

    1. Re:Ha-Ha! by __aaclcg7560 · · Score: 4, Funny

      Or Cygwin.

    2. Re:Ha-Ha! by SirSlud · · Score: 4, Interesting

      You know, some of us use windows since it's quite client facing. This might blow your mind. Anything either side can do to bridge the gap of best of both worlds is a good thing.

      --
      "Old man yells at systemd"
    3. Re:Ha-Ha! by Princeofcups · · Score: 4, Insightful

      You know, some of us use windows since it's quite client facing. This might blow your mind. Anything either side can do to bridge the gap of best of both worlds is a good thing.

      You somehow missed 30 years of embrace, extend, and extinguish.

      --
      The only thing worse than a Democrat is a Republican.
    4. Re:Ha-Ha! by jaa101 · · Score: 4, Informative

      Programs trapping Ctrl-C as an exception are exceptionally lazy - there should be a more "front end" way to quit. Originally Ctrl-C was just to kill, not to gracefully shut-down.

      In a purely TTY environment there's usually only CTRL-C and CTRL-\ to generate signals (SIGINT and SIGQUIT) that processes can catch. (CTRL-Z generates SIGSTOP which can't be caught.) What's so lazy about using one of those? Of the two, CTRL-C is clearly the most appropriate if supported by the environment. What do you mean by "front end" here? If you mean some non-TTY-based mechanism then, sorry, that's not always an option.

  2. Re: In other news by loftarasa · · Score: 3, Insightful

    vi mode for Excel would be a dream come true...

  3. Re:Ctrl by ls671 · · Score: 3, Funny

    And you hate the letter "o" I assume?

    --
    Everything I write is lies, read between the lines.
  4. Not an alternative to Linux, an alternative to OSX by orin · · Score: 5, Interesting

    Computers running OSX have substantial developer mindshare. Microsoft wants those developers using Windows PCs. Putting WSL/Bash on Windows so that it's a credible alternative to the 'nix tools available on OSX gives those developers one less reason to avoid using a Windows based OS.

  5. Breaking News - beta software has bugs by Quarters · · Score: 5, Insightful

    It isn't an "upgrade bug" as the upgrade isn't slated for release for months.The build in question has only been released to the fast ring for Insider testing. In other words, it's only been given to those on the extreme bleeding edgeof Windows testing.Is Slashdot going to start posting articles for every minor issue in Chrome canary releases also?

  6. Subject to the whims and bugs of Microsoft.... by QuietLagoon · · Score: 3, Insightful
    Really ... who on this planet is looking forward to running some manner of Linux emulation that is subject to the whims and bugs of Microsoft's current design and development process? Any of Microsoft's Windows Updates could cripple the very environment you would depend upon.

    .
    Yeah, that sounds like a success story.

  7. Re:so they give up by lucm · · Score: 5, Insightful

    As their revenue dwindles let this be a lesson.

    Microsoft revenue has grown in a more or less linear fashion since the 90s. Doesn't stop idiots from announcing their imminent doom for over 25 years.

    --
    lucm, indeed.
  8. Re:Microsoft playing games us usual by TWX · · Score: 5, Funny

    They literally broke break.

    --
    Do not look into laser with remaining eye.
  9. Amazing since market share dropped from 98% to 38% by raymorris · · Score: 4, Insightful

    Which is amazing considering that a few years ago, 98% of people used their flagship product, Windows, while now only 38% of people do (Netcraft, 2016). They've done a really good job pivoting to maintain revenue while customers have dumped their traditional products en masse.

  10. Dear Microsoft by MrKaos · · Score: 3, Interesting

    stty intr

    will remap the interrupt key to any thing you want. Try using DEL, as it was mapped on some Unix systems. It was only changed to ctrl-C to make it easier for DOS users moving to Linux.

    --
    My ism, it's full of beliefs.
  11. It's the console stupid! by paulpach · · Score: 4, Interesting

    WSL is better than cygwin. It is a lot faster and it has apt-get instead of that dreadful install wizard that cygwin has.

    However, the console in windows is stuck in the 80's. It is the same DOS command prompt that we saw in windows 3.1. The terminal emulators in linux or macOS support multiple tabs, text selection that reaches the end of the line instead of a rectangular shape, split panes, your default directory is your home directory.

    Now someone will raise their hand and say "PowerShell ISE". It looks promising, but at this point it is unusable because console programs cannot read input in PowerShell ISE

    Until they have a console from this century, WSL is worth using only when you don't have linux or macOS available.

  12. Re:wow, people can get win 10 updated? by lucm · · Score: 3, Interesting

    Check this piece on ars technica:

    http://arstechnica.com/securit...

    Most available satellite-based Internet remains almost as limited now as when it was introduced two decades ago. It's slow and provides users only with a unidirectional download link. But there's something about the connections that made them highly attractive to Turla members: most satellite links are unencrypted and can be intercepted by anyone within a radius of more than 600 miles. That means a connection between someone located in, say, a remote location in Africa and a satellite-based ISP can be monitored or even hijacked by an attacker.

    --
    lucm, indeed.
  13. Re:So, they do not even get signal handling right by GerryGilmore · · Score: 3, Insightful

    Did Ctrl-C break between Ubuntu releases? No? Then WTF is your point?

  14. Best of luck by raymorris · · Score: 3, Informative

    > I think I'm gonna increase my MSFT position just in case.

    Best of luck with that. I've always done mutual funds instead of trying to pick. I often discussed this with my best friend, who would always pick stocks. One day, in early 2008, he told me that rather than picking one company he had made a can't-lose buy: both Intel and AMD. Being the only two processor manufacturers with any significant market share, one of them would have to do well! Of course that was just about the time Android was released and most processor sales started to be ARM devices, neither Intel nor AMD.

  15. Re:Ctrl by JoeMerchant · · Score: 3, Funny

    The windows side team, the linux side spells it Ctrl-C, thus their .net json bridge had a disconnect issue.

  16. Re:Not an alternative to Linux, an alternative to by IcyWolfy · · Score: 4, Informative

    I know for myself, and many others at the companies I have worked for -- THere are a signifcant number of people who use Macbooks, but run Windows on them. As I type here, It's a macbook Pro Running Windows 10.

    The hardware runs Windows significantly better than any natively developed Windows notebook. Probably becasue drivers can be written to only a single known configuration and that can be optimized.

    WHen running multiple VMs, and IDEs on Windows on Macbook Pro hardware -- it simply outclasses the same setup on alternatives.

    But either way, at our office, more than half (500+ users) all run Windows as their primary OS on the Macbooks. Most workers don't know that they can even boot into Mac OSX (minimally sized partition, as even the Engineers don't even boot into OSX)

    Once I installed Windows 7 on a Macbook Pro -- I never went back to Windows-first hardware.
    1. Buy MacBook
    2. Install Windows.
    3. Have a kick ass windows box for development and gaming.-

  17. Re:Not an alternative to Linux, an alternative to by Ambassador+Kosh · · Score: 3, Interesting

    Microsoft has been working quite hard to make windows a good development platform for linux. Between WSL and the changes to Visual Studio it has gotten pretty easy to do writing, compiling and debugging of linux software from windows.

    For me this is really important since linux has never run well on this laptop. I have optimus which means I have a dedicated gpu + integrated gpu and with windows it seamlessly switches between them and everything works. Under linux there are commands to make one or the other run but it is not remotely seamless and it is really buggy. I have also run into problems with ubuntu and fedora where an update will sometimes break x entirely where the default output gets set to the device that is not activated and then having to deal with debugging that.

    I also write C++ simulation software and I have found no better IDE that VisualStudio so far. With eclipse under linux once I upgraded to an SSD I sometimes had issues to compile multiple times to compile without errors about files not being found. If I compiled from the command line that never happened. Debugging is MUCH worse in eclipse vs visual studio. The worse thing though is profiling. I have no idea what happened to it on linux since I have done linux development for almost 20 years now and we used to have some of the best profilers out there but no it seems most of them just do a horrible job. Trying to profile a program that uses shared libraries in linux mostly ends up with no, poor or inconsistent results even when the program behavior is highly consistent. I ended up trying the proprietary vtune from intel and that worked great on linux and windows.

    In the end it is easier to do development on windows where all the desktop type stuff works and get the software running completely correctly and debugged and then deploy it to linux servers, clusters, supercomputers etc for actual running. At this point I pretty much use windows for desktop work and linux for all the server work and the WSL system has made life much simpler.

    --
    Computer modeling for biotech drug manufacturing is HARD! :)
  18. Re:Yes, StatCounter, not Netcraft by Stormwatch · · Score: 3, Insightful

    The tale of Windows Phone is one of absolute hubris. Let me tell you the ways.

    Microsoft thought, just by planting a guy to make Nokia move to WP, they could steal Nokia's exceedingly loyal users. But those people were not blindly loyal to the brand, they were invested in the roadmap: Symbian now, MeeGo soon. Without these, might as well go a completely different way. Especially when many were angry for the loss of MeeGo.

    Ditto about carriers and app developers, who were counting on that roadmap. They had put a lot of money and work in preparing for MeeGo. The move to WP cost them a lot, so they were enraged and went with anyone but Microsoft.

    The Skype acquisition didn't help either. Calls and messages for free? Carriers saw it as an existential threat. Microsoft got promoted from "those people are a headache" to "those sons of bitches are actively trying to murder us".

    And WP may be decent now, but it was originally rushed. When the first Lumias came out, it was an incomplete mess without a possible upgrade. This meant lots of returned phones, a headache to retailers. So they also hated WP and discreetly guided potential buyers to a less headache-inducing alternative.

    Microsoft was so sure they could buy success, they ended up stepping on everyone's toes.

  19. Re:Ctrl by hcs_$reboot · · Score: 5, Funny

    People who decided to use \ as path separator?

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  20. Re:Not an alternative to Linux, an alternative to by drinkypoo · · Score: 4, Insightful

    WHen running multiple VMs, and IDEs on Windows on Macbook Pro hardware -- it simply outclasses the same setup on alternatives.

    [citation needed]

    Apples are made out of the same chipsets as everyone else's PCs. There's no reason why they would be better at anything, especially since they are usually made with last year's hardware.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  21. Re:No more Linux Clients by serviscope_minor · · Score: 4, Funny

    For myself, I can't see any reason to use this Ubuntu-on-Windows.

    It's for those who want the beginner friendliness of command-line Unix with the stability and security of Windows.

    --
    SJW n. One who posts facts.