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.

15 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. 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.

  3. 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?

  4. 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.
  5. Re:Microsoft playing games us usual by TWX · · Score: 5, Funny

    They literally broke break.

    --
    Do not look into laser with remaining eye.
  6. 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.

  7. 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.

  8. 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.-

  9. 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...
  10. 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.'"
  11. 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.