Slashdot Mirror


Microsoft Windows 10 Gains Linux/WSL Console Copy and Paste Functionality (betanews.com)

BrianFagioli writes: For better or worse, the Windows Subsystem for Linux (WSL) initiative seems to be moving full steam ahead. There are some very respectable distributions available in the Microsoft Store, such as Debian, Ubuntu, and Kali to name a few. Not to mention, Microsoft is trying to encourage even more maintainers to submit their distros with a new tool.

Apparently, some Windows 10 users have been clamoring for the ability to copy and paste both from and to WSL consoles -- a reasonable request. Well, as of Insider Build 17643, this is finally possible.

'As of Windows 10 Insider build #17643, you can copy/paste text from/to Linux/WSL Consoles!!! We know that this is a feature MANY of you have been waiting for -- our sincerest thanks for your patience and continued support while we untangled the Console's internals, allowing us to implement this feature. To ensure that we don't break any existing behaviors, you'll need to enable the 'Use Ctrl+Shift+C/V as Copy/Paste' option in the Console 'Options' properties page,' says Rich Turner, Microsoft.

98 of 168 comments (clear)

  1. How long before... by b0s0z0ku · · Score: 1, Insightful

    What is the endgame here? How long before MS considers mandating locked-down bootloaders on all Win 10 machines, even Intel? After all, WSL gives users a "choice" of operating system, so they no longer "need" to boot a different OS.

    No thanks to that or WSL. I'd rather run Linux over bare metal and put Windows in a nice, padded, VirtualBox cell. It gets to communicate/update/run when *I* (rarely) allow it to, not whenever the machine is on.

    1. Re:How long before... by Anonymous Coward · · Score: 3, Insightful

      You mean the thing you freetards have been claiming Microsoft would do for 5+ years and Apple is supposed to be doing any moment for nearly a decade? Doesn’t it get old being so wrong with these doom and gloom predictions that never pan out?

    2. Re:How long before... by Rob+Y. · · Score: 3, Interesting

      The endgame is to marginalize desktop Linux as much as possible. This WSL thing is not desktop linux at all - it's a way to make sure linux back-end developers run Windows on their desktops instead of using desktop linux as the only way to bring their development environment with them.

      And maybe, just maybe, that's enough for today's Microsoft. Sure, they'd love to lock down the hardware farther - and they may well try to do it. But they don't need to. Back-end Linux is no longer a threat to them - if only because they've already lost that battle. These days they'd rather you pay them to run Linux for you on their Azure cloud than worry about the fact that you're not using Windows for back-end development. But anything that marginalizes the Windows desktop stands a chance of harming the cash cow that makes the rest of their business work. So, Chromebooks are definitely a threat. Android, again, was a threat up until the moment that Microsoft conceded they'd lost that battle too. The biggest difference between today's Microsoft and Ballmer's is that they're capable of admitting loss and have figured out how to thrive anyway.

      --
      Posted from my Android phone. Oh, I can change this? There, that's better...
    3. Re:How long before... by b0s0z0ku · · Score: 1

      JFC, REALLY!

      If the hardware is capable of running it, it should be able to run it. Maybe after removing a jumper or clicking through a disclaimer, but it should be able to run it without artificial lockdowns.

      Oh, and guess what? Typing this on an Ubuntu laptop that works just fine. In fact, better than spyware-infested Windows junk. But hey, pick your poison. Just don't attempt to ram your choice of poison down my throat, thank you very much.

    4. Re:How long before... by modmans2ndcoming · · Score: 1

      That is not how WSL works.....but yeah...go pretend you know what you are doing.

    5. Re:How long before... by modmans2ndcoming · · Score: 5, Insightful

      The end game is to provide access to the tools developers like to use. They don't give a shit about "marginalizing Linux on the desktop" The Desktop isn't even a market they are interested in anymore.

    6. Re: How long before... by b0s0z0ku · · Score: 1

      Better a "freetard" than a paid shill for privacy-robbing, cloudpushing firms like MS, Google, Apple, Amazon, and FB, whose entire current business models are based on data theft.

    7. Re:How long before... by mcswell · · Score: 1

      A comment that makes sense, at last. Mod this up.

      (And yes, I have been a user of this linux-in-Windows since the first regular release.)

    8. Re:How long before... by b0s0z0ku · · Score: 1

      Curated sounds to me like "kurvated." "Kurva" means "prostitute" or "whore" in most Slavic tongues. That has it about right -- prostituted computing, where your data is stolen, mined, and prostituted to the highest bidders by entities like MS, Google, and (yes) even saintly Apple.

    9. Re:How long before... by thegarbz · · Score: 2

      The endgame is to marginalize desktop Linux as much as possible.

      Errr. No. No one at Microsoft gives a crap about the Linux desktop. It barely registers a blip on market share figures. On the other hand they do care quite a bit about Linux being used in 1/3rd of back end instances on their Azure cloud and are trying to give customers a way of using ${APPLICATION} without leaving the Windows environment.

    10. Re:How long before... by gravewax · · Score: 1

      That is no different to many Android or IOS tablets. They are designed for a market that isn't going to customise them, this reduces production and support costs as it is a nice fixed target.

    11. Re:How long before... by b0s0z0ku · · Score: 1

      Which is why I own laptops as computers, not locked-down tablet junk. Most tablets are great for watching movies, otherwise utter junk. The thought of using one makes me want to eat a THC tablet :)

    12. Re:How long before... by Rob+Y. · · Score: 1

      Well, okay. But they sure don't like that developers like to use linux-based tools. They'd still prefer them to use Microsoft tools - enough so that they're releasing linux-based versions of some of those tools. They're not doing that because they love linux. They're doing it because if they don't, they will become more irrelevant on the back end than they already are. It's all well and good that Azure supports linux, but for the most part businesses that choose Azure do it because they still have some Windows Server specific workloads that they want to move to the cloud.

      "If you can't beat 'em, join 'em". I guess if they ultimately become a cloud-only linux business and end up competing head-to-head with Amazon on price, that's a good thing. But that can't be their objective.

      And it's kind of silly to say that "The Desktop isn't even a market they're interested in any more". It still provides a huge chunk of their revenue. Any company would want to preserve that as long as they can.

      --
      Posted from my Android phone. Oh, I can change this? There, that's better...
    13. Re:How long before... by gravewax · · Score: 1

      which is why I only use a tablet for a few games and watching movies. It is also why I prefer a PC to a laptop, laptop is great for portability and work but it sucks for customisation as well.

    14. Re:How long before... by modmans2ndcoming · · Score: 1

      1) Why wouldn't a company want to make it's products available to as many people as possible?
      2) Try looking at the recent reorg. The Windows division was split up and there is no senior leadership responsible for windows (as a single product) reporting to the CEO for the first time ever. They don't care about desktop as a market anymore. They know they have to maintain it, but it is not a growth market. I would not be surprised if in 5-10 years they just maintain a Linux Subsystem for Windows and direct everyone to use their favorite Linux distro if they need more than a chromebook / ipad

    15. Re:How long before... by modmans2ndcoming · · Score: 1

      1) They do offer that option. It is their enterprise solution.
      2) Regular users need to have auto updates because they tried letting people decide and they had old decrepit systems due to morons like you telling people to turn off auto updates.

    16. Re:How long before... by Rob+Y. · · Score: 1

      1) Well, they never made their products available on linux before - so once upon a time, the plan to supplant Unix/Linux on the back end was enough of a motivation to not make those products available. Granted, that's changed somewhat - but I won't concede it's changed completely.

      2) Linux Subsystem for Windows doesn't support a GUI - or am I wrong? If I'm right, then it is no substitute even for a Chromebook, let alone Windows.

      They don't care about desktop as a growth opportunity any more - even to leverage as a way to get into mobile. But they do care about its continued existence - if only as a cash cow (though, again, I wouldn't discount the possibility of long-range plans to get back into mobile via the desktop monopoly). Since many linux developers were starting to migrate to Macintosh laptops as their primary desktop platform, LSW made sense to stem that trend. Sure, mock me for conflating that trend with a perceived 'threat' of a Linux desktop - but it's really the same dynamic. The need to work in a portable linux environment was making Windows a less desirable choice for a small but influential segment of the market that was using Macs or, yes, Linux laptops to do their work. And that segment happens to be most influential in a segment that they most definely do care about as a market - namely, the cloud-based back end.

      --
      Posted from my Android phone. Oh, I can change this? There, that's better...
    17. Re:How long before... by modmans2ndcoming · · Score: 1

      You can run a GUI on it.

      https://www.ctrl.blog/entry/ho...

  2. Backwards to me by slazzy · · Score: 4, Insightful

    Seems backwards to me. Windows is the shit I need to install and run in a vm on my linux machine from time to time.

    --
    Website Just Down For Me? Find out
    1. Re:Backwards to me by b0s0z0ku · · Score: 2, Insightful

      Micro$oft wants to force everyone to run Windows on bare metal via locked boot loaders, and graciously allow some people to run "approved" Linux distributions in WSL. They can't monetize user data from users who choose to opt out of Win 10 spyware.

    2. Re:Backwards to me by b0s0z0ku · · Score: 1

      Except their push is towards locked bootloaders on ARM. I mean, I hope it fails epically, but you can't deny that they're trying.

    3. Re:Backwards to me by Ol+Olsoc · · Score: 1

      No they don't you stupid schmuck. How about shoving your paranoid crap up where it belong?

      He tried to, but a Windows update screwed up his anus driver.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    4. Re:Backwards to me by BronsCon · · Score: 2

      and graciously allow some people to run "approved" Linux distributions in WSL

      Except for the tool they released, which was featured on the front page earlier this week, to allow you to install your distro of choice.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    5. Re:Backwards to me by b0s0z0ku · · Score: 3, Insightful

      Within the walled garden of Win 10. Far better to run Linux on bare metal and stick Win 10 in a padded cell.

    6. Re:Backwards to me by b0s0z0ku · · Score: 1

      Yep, a bunch of "always-on" Win 10/ARM cloud-hybrid laptops and tablets are slated for release in 2019.

    7. Re: Backwards to me by slazzy · · Score: 1

      Same here, I like to know what network traffic is going on with windows for example, and block it.

      --
      Website Just Down For Me? Find out
    8. Re:Backwards to me by b0s0z0ku · · Score: 1

      I don't want to need Microsoft's gracious permission (via an accepted signature) to run the OS of my choice.

    9. Re:Backwards to me by GuB-42 · · Score: 1

      And why do you trust Windows in a VM on Linux?
      Sure, Linux, and most software within your distro is open source but are you sure that all your binary packages are compiled from these sources, and the sources haven been modified along the way, and that some contributor didn't add some backdoor (NSA is a contributor you know...). And what about all the closed source firmware, like the infamous Intel IME? There are also these "ring -1" rootkits that run on top of your "bare metal" OS, which, btw, are a thing secure boot is supposed to protect against.
      Furthermore, VMs are not completely airtight. There are sometimes "VM escape" exploits, plus all the things the VM may naturally have access to, like the internet, shared directories or the clipboard.

      You are probably right to put more trust in Linux than in Windows, probably. In any case, it is definitely not a black and white situation, and VMs are not magic bullets.

    10. Re:Backwards to me by Megol · · Score: 1

      A different thing. They will not try to lock down general purpose hardware as it would just be a problem.

      The ones that want to lock things up are the hardware vendors as it simplifies support, the examples of that are many. But what have MS to gain for it? They have their semi-monopoly with Windows and have come to accept (read: forced to accept) Linux. There are no general purpose system (except Linux) that can compete with them so the attempts to lock stuff down are a thing of the past for Microsoft. If that would change I would protest in the small ways I can as would others, the EU and probably USA and others would see this as an attempt of monopoly control.

      I don't write or think this because I think MS is a "good company" (there aren't any) but because they would get into a lot of trouble if they went back to their old ways and they really don't need to do that anymore. They have carved out a niche that they can't be removed from and really don't have any competition in, the complexity of their software is the thing that locks people to MS.

      Hardware vendors like to lock down their hardware though as it simplifies support. Some computers even verifies the installed hardware before booting FFS and that isn't because MS forces them.

  3. not on servers and not in the EU by Joe_Dragon · · Score: 1

    not on servers and not in the EU

    1. Re:not on servers and not in the EU by b0s0z0ku · · Score: 1

      Well, some of us don't live in the EU and want to run desktop Linux not locked-down Win 10 or MacOS junk... there's always the option of importing unlocked hardware, I guess.

    2. Re:not on servers and not in the EU by Ol+Olsoc · · Score: 1

      Well, some of us don't live in the EU and want to run desktop Linux not locked-down Win 10 or MacOS junk... there's always the option of importing unlocked hardware, I guess.

      MacOS is not used to run Linux on a Mac.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    3. Re:not on servers and not in the EU by Ol+Olsoc · · Score: 1

      I never said it was. I said that I hope there will always be more (ideally free) bare metal choices on the desktop, not just OS products from Apple, MS, and Google.

      You said it was locked down. When I run Linux on my Mac - it's not locked down at all. Then of course, if a person knows Unix, neither is MacOS.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    4. Re:not on servers and not in the EU by b0s0z0ku · · Score: 2

      With Mac going ARM, will the ARM MacOS be more of a walled garden like iOS. Will ARM Macs still permit Boot-Camp type dual-booting?

    5. Re:not on servers and not in the EU by PPH · · Score: 2

      With Mac going ARM

      But will Apple implement a locked bootloader?* Or leave it open? Locking it (per Microsoft's specification) does exactly one thing: It gives a user the ability to load Windows on their hardware. Not something Apple would seem to be promoting.

      *Apple may implement a locked bootloader with their own keys, to enable a signed MacOS to run. And then they might sign a Linux bootloader as well. But just kick Microsoft to the curb.

      --
      Have gnu, will travel.
    6. Re:not on servers and not in the EU by Yaztromo · · Score: 2

      MacOS is not used to run Linux on a Mac.

      It can be. macOS includes Apple's Hypervisor.framework, atop which tools (such as xhyve) can be used to run Linux inside macOS.

      This is how Docker for Mac works; it runs the Linux kernel inside Apple's Hypervisor.framework, allowing you to run Linux containers. If you have XQuartz installed, with a bit of fiddling you can run Linux GUI apps inside Docker containers on the macOS desktop.

      Yaz

    7. Re:not on servers and not in the EU by angel'o'sphere · · Score: 1

      My vmware and parallels VMs disagree.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    8. Re:not on servers and not in the EU by b0s0z0ku · · Score: 1

      The partition table is changed, the EFI partition might be changed, but the hard drive firmware is unlikely to be altered, considering Boot Camp works on all sorts of drives.

    9. Re:not on servers and not in the EU by Ol+Olsoc · · Score: 1

      MacOS is not used to run Linux on a Mac.

      It can be. macOS includes Apple's Hypervisor.framework, atop which tools (such as xhyve) can be used to run Linux inside macOS.

      This is how Docker for Mac works; it runs the Linux kernel inside Apple's Hypervisor.framework, allowing you to run Linux containers. If you have XQuartz installed, with a bit of fiddling you can run Linux GUI apps inside Docker containers on the macOS desktop.

      Yaz

      I wonder if I can run Linux inside Windows using parallels?

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    10. Re:not on servers and not in the EU by Yaztromo · · Score: 1

      I wonder if I can run Linux inside Windows using parallels?

      I'm not sure why you'd want to, but I certainly see no reason why you couldn't do this.

      Yaz

    11. Re:not on servers and not in the EU by Ol+Olsoc · · Score: 1

      My vmware and parallels VMs disagree.

      My live distro installs and option boot disagrees with your disagreeing. Zero need for MacOS.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    12. Re:not on servers and not in the EU by angel'o'sphere · · Score: 1

      Of course there is zero need for Mac OS, but the parent claimed linux does not run on Macs or no one is runing Linux on Macs, so what is your point?
      You have no Mac and run Linux on a no Mac? ... Pretty pointless argument.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    13. Re:not on servers and not in the EU by Ol+Olsoc · · Score: 1

      Of course there is zero need for Mac OS, but the parent claimed linux does not run on Macs or no one is runing Linux on Macs, so what is your point? You have no Mac and run Linux on a no Mac? ... Pretty pointless argument.

      What I was replying to was:

      Well, some of us don't live in the EU and want to run desktop Linux not locked-down Win 10 or MacOS junk

      Now there might be some parsing to be done over whether the Poster was separating the two - "locked down" only for Windows 10 or MacOS only as junk, referring to W10 only and MacOS separately , but that would be an unusual narrative since the typical fan calls MacOS as locked down.

      Otherwise, have a good day.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    14. Re:not on servers and not in the EU by angel'o'sphere · · Score: 1

      What I was replying to was:
      Well, some of us don't live in the EU and want to run desktop Linux not locked-down Win 10 or MacOS junk

      Then you replied to the wrong post/person.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    15. Re:not on servers and not in the EU by Ol+Olsoc · · Score: 1

      What I was replying to was: Well, some of us don't live in the EU and want to run desktop Linux not locked-down Win 10 or MacOS junk

      Then you replied to the wrong post/person.

      That's not how this works. That's not how any of this works.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    16. Re:not on servers and not in the EU by KingBenny · · Score: 1

      but can it run on a 500 mhz cpu ? https://fossbytes.com/best-lig...

      --
      Free speech was meant to be free for all... how can anyone grow up in a nanny state ?
  4. The endgame here: by nimbius · · Score: 1

    if there even is one, is to offer a "feature" to monolithic corporations where Linux already exists as a second class citizen. typically these companies already pay a license fee for redhat/suse/Oracle linux and are addicted to consolidation. Directors/managers at these companies have zero Linux experience, but see value in consolidating anything and everything inside a windows world. In the end, "no one ever got fired for buying windows" is going to once again save the bacon of whomever inherits the train-wreck of Linux administrators trying to do their jobs in windows, and Microsofts fickle habit of ditching new ideas about eight years after they fail to generate appreciable revenue.

    there is no "embrace extend extinguish" here because Microsoft is competing with something not only free, but more powerful than the OS its already offering. Much like Comcast and their bundled netflix, all MS can do is try to catch up to the money train and hope this linux support at least grants them some cloud customers.

    --
    Good people go to bed earlier.
  5. What's the point? by fred911 · · Score: 3, Interesting

    And, why would you want to run a high performance OS virtualized on a bloated OS when you can virtualize the bloated OS on top of the high performance OS that has provided this ability for years?

     

    --
    09 F9 11 02 9D 74 E3 5B - D8 41 56 C5 63 56 88 C0 45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    1. Re:What's the point? by thegarbz · · Score: 2

      I have a better question: Why would you think there is any perceptible difference between well virtualised systems on different hosts? I have an even better question: Why would you even bother talking about virtualising when we are talking about running binaries written for Linux on Window's kernel?

      Oh and if you have performance questions about that you'll be happy to know that except for I/O which is quite bottlenecked on WSL, WSL runs raw computing operations faster than any virtualised option including using both Windows and Linux hosts, although Xen does come close.

    2. Re:What's the point? by PmanAce · · Score: 1

      What bloating from Win10 makes it less performant? I'm curious.

      --
      Tired of my customary (Score:1)
    3. Re:What's the point? by Barlo_Mung_42 · · Score: 1

      WSL isn't virtualization.

  6. Re:Why does the WSL exist? by Mascot · · Score: 5, Interesting

    I can't answer for anyone else but, while I have no interest in running a full Linux desktop at this time, I do like some of the tools available in the Linux terminal.

    I did, in the past, try to run Linux as my main desktop, it failed miserably (don't get me started). I tried booting into it for the few tools that I preferred on the platform, it proved to be much too cumbersome to be worth it. Getting easy access to them from within Windows in a fashion that is not Cygwin, is all good in my book.

    So, to answer your question, I guess WSL exists for people like me.

  7. Re:Why does the WSL exist? by nadass · · Score: 1

    Because sometimes software packages have so many dependency trees that running a virtualized Linux instance ("subsystem") is most reasonable solution, especially when you want to transfer data or networking calls between the software stacks.

    In other words, not all software source-code can be recompiled for native Windows functioning without breaking the Windows environment. This subsystem route provides an isolated environment for the Linux-dependent software to run within a restricted-yet-accessible operating container.

  8. W O W ! by aglider · · Score: 1

    This company is really committed to comp.sci. advancement!

    --
    Sent as ripples into the electromagnetic field. No single photon has been harmed in the process.
  9. Going back almost 10 years by sanf780 · · Score: 1

    Last time I heard copy & paste was not implemented was on the early iOS versions.

    1. Re: Going back almost 10 years by spongman · · Score: 1

      Give them a break. They literally implemented whole other operating-systems's-worth of Syscalls, and you're complaining about the correct clipboard keyboard shortcuts? (The clipboard works fine, it's just the keyboard shortcuts which are not there since conhost is used for both win32 and wsl)

  10. The evidence suggests about minus 1 year by Roger+W+Moore · · Score: 2

    How long before MS considers mandating locked-down bootloaders on all Win 10 machines, even Intel?

    Are you sure that they don't already require this because I have been copying and pasting to the WSL console for the past year. The only new thing that they seem to be adding is that you can do it with the usual windows keys instead of using the right mouse button for pasting from Windows->Linux or selecting with the mouse and Ctrl+C for pasting from Linux->Windows. Copy and paste is not a new feature.

    1. Re:The evidence suggests about minus 1 year by mcswell · · Score: 1

      Correct, if you go to the blog of the Ms developers (https://blogs.msdn.microsoft.com/commandline/), that's been their comment all along. They knew people (including themselves) wanted a keystroke-based copy-paste in addition to the existing mouse-based copy-paste, they just didn't have the dev cycles to implement it until now.

  11. Cygwin vs WSL any comparisons? by 140Mandak262Jamuna · · Score: 1
    I have been heavily using cygwin for ages. So much so that most people think I am on a linux machine. Cygwin X server too. I have been copy/pasting text between Linux machines' spawning XTerm on Cygwin X server windows, and windows. Also Remote Desktop Windows copy/paste too.

    In fact cygwin terminals, COM terminals, Xterms all copy/paste, but with annoyingly different key combinations. Control-X, /Control-V, shift-ins/control-ins, middle mouse click .... But in theory the text gets copied.

    Anyone migrating from Cygwin to access local Windows machine to WSL? Any special reason to use WSL over cygwin?

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    1. Re:Cygwin vs WSL any comparisons? by modmans2ndcoming · · Score: 2

      WSL is better than CigWin. You get full access to the file system via Bash (or insert any shell you like) and can install any tools you need via the package manager of the distro you setup.

    2. Re:Cygwin vs WSL any comparisons? by 140Mandak262Jamuna · · Score: 1

      I think the file permission quirks of cygwin will be gone too.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    3. Re:Cygwin vs WSL any comparisons? by whoever57 · · Score: 1

      WSL is better than CigWin. You get full access to the file system via Bash

      But can you run Windows programs inside the WSL environment?

      --
      The real "Libtards" are the Libertarians!
    4. Re:Cygwin vs WSL any comparisons? by Anonymous Coward · · Score: 1

      Yes.

    5. Re:Cygwin vs WSL any comparisons? by jon3k · · Score: 1

      What do you mean by "full access"? You can access the filesystem via cygwin too (e.g. - "/cygdrive/c")

    6. Re:Cygwin vs WSL any comparisons? by squiggleslash · · Score: 2

      WSL uses regular GNU/Linux distributions and runs their native binaries. So it's almost as native as, say, running the distribution in a VM, except the distro cannot use GUI tools, but does have access to the native file system.

      The major issue I've found with WSL is that features will suddenly stop working and require a reboot after a random period of time. For example, on three separate computers running different versions of Windows 10, and with one maintained by someone who isn't me, I've seen 'ssh' just plain stop working after a few days.

      Cygwin doesn't seem to be as well maintained as, say, Ubuntu. And so that's the biggest advantage of WSL. But... Cygwin does at least work as advertised.

      --
      You are not alone. This is not normal. None of this is normal.
    7. Re:Cygwin vs WSL any comparisons? by mcswell · · Score: 2

      I moved from Cygwin to WSL when the latter came out. Not sure what the permission quirks are in Cygwin, but the bad news is there are permission quirks in WSL (everything looks like 777). The good news is those will be fixed in the next regular update (and are currently fixed, I'm told, in the Insider Build). Read more here:
      https://blogs.msdn.microsoft.c....

      I believe another advantage over Cygwin is that you can install Linux apps directly from the distro's app install, rather than waiting for the Cygwin-specific exe's to be built. I also installed the Linux version of TeXLive direct from tug.

    8. Re:Cygwin vs WSL any comparisons? by mcswell · · Score: 1

      As AC says, yes. I have a Windows program called Ace Money that I just now launched from bash. I had to provide the full path, I guess I could have added the path to that exe; but of course the Windows model puts almost every exe (etc.) in its own dir, so it might be complicated.

    9. Re:Cygwin vs WSL any comparisons? by mcswell · · Score: 1

      Yeah, I'm not sure what that person meant. At any rate, from WSL you get to the C drive via /mnt/c

    10. Re: Cygwin vs WSL any comparisons? by spongman · · Score: 2

      You can use ubuntu's (debian's) `apt` to install/update the actual Ubuntu binaries instead of using cygwin's inferior setup.exe to install recompiled win32 binaries linked to a slew of compatibility libraries.

      Try it. You can run them both at the same time - I did for a while until I uninstalled Cygwin.

    11. Re:Cygwin vs WSL any comparisons? by modmans2ndcoming · · Score: 1

      This is true. apt-get is wonderful on WSL.

    12. Re:Cygwin vs WSL any comparisons? by morkk · · Score: 1

      So just like cygwin then... except for X of course.

  12. Re:Funny how many articles about WSL recently by Tsolias · · Score: 1

    inb4 Shashdot: Microsoft Windows: The Only Linux Based OS Without SystemD

  13. what i hate about windows most is by FudRucker · · Score: 1

    if i happen to have an external disk partition or even another drive inside the PC with a Linux partition, windows would offer to format it and i would always have to click cancel or close, god damn windows thinks it has to be the only operating system allowed on a PC, it wont be friendly and allow another OS live beside it, so when i boot to windows i am always on the watch as to what it wants to do to other disk partitions and drives

    --
    Politics is Treachery, Religion is Brainwashing
    1. Re:what i hate about windows most is by b0s0z0ku · · Score: 1

      Not if you install extfs drivers.

  14. Windows 11 desktop environment by bigtreeman · · Score: 1

    in just a short time MS could rebuild Windows 11 as a desktop environment sitting on top of Linux.
    The user would be none the wiser, but so much better off.

    --
    Go well
    1. Re:Windows 11 desktop environment by Zeekort · · Score: 1

      Eh, maybe, maybe not. Don't underestimate Microsoft's powers of creating messes where none should have existed in the first place.

  15. Re:As if any of this matters... by b0s0z0ku · · Score: 2

    People who actually do real work need local software and storage -- they don't want to upload everything to the "clown" and be dependent on 24/7 connectivity. For pure consumers, maybe you're right.

  16. copy and paste WSL support by ThePhish · · Score: 1

    makes those fabulous copy pasta stackoverflow abusers that much less likely to make their own mistakes while using someone elses solution to a problem they don't fully understand.

    shittiots.

  17. Re:But, there has always been copy/paste by mcswell · · Score: 1

    No one said there wasn't.

    However, MMMV. I hate using the mouse, much prefer keystrokes, which don't require me to take my hands off the keyboard.

    So now we will have the best of both worlds: mouse clicks for people who like that, and keystrokes for people who like that.

  18. Re: What? by mcswell · · Score: 1

    The article is a little unclear on this, but the improvement is that you will be able to use the keyboard, rather than (just) the mouse.

  19. Re:Why does the WSL exist? by mcswell · · Score: 1

    A little biased, eh? Your comment reminds me of Spock's reply to a similar comment: Is there something wrong with the mind I have?

  20. Re:Microsoft's Windows is a toy. by mcswell · · Score: 1

    Guess that makes me a 67 year old kid, Anonymous Coward. I rather like that... sort of like Han Solo: "Scoundrel... I like the sound of that." (https://www.youtube.com/watch?v=QMk0-pZfx5Q @1:11)

    "Retarded", otoh, I can do without for a few more years. At least until that Alzheimer's cure they're talking about in another /. thread comes through.

  21. There is no WSL, only Zuul (cough) Windows by ancientt · · Score: 2

    WSL is not a virtual machine running Linux, in fact it's not Linux at all. Linux is a kernel. People think of distributions built around the Linux kernel as being Linux, but you can run other kernels with the same tools. Depending on your objectives and kernel choice, you can get very different or practically identical functionality while still not technically running Linux. That's all WSL is; it is a bundle of tools associated with Linux distributions but running on the Microsoft Windows kernel instead.

    Your concerns about Windows accessing the Linux RAM don't make any sense in regards to WSL because it isn't a separate or hosted OS. Of course Windows has access to WSL memory; WSL is an integrated part of Windows. The point of WSL is to give Windows users less motivation to switch to a different OS, which it does fairly well. Most of the things I want to do in Windows but would normally have to switch to Linux to do are easy to do with WSL, meaning no switch is necessary. Most of the work I get paid to do needs to be done in a Microsoft OS (not always Windows) but it is easier and sometimes massively faster to do some things with the tools that were previously only supported by dual booting or running a VM. WSL makes my job simpler in that respect.

    All that said, your concerns make sense in regard to Hyper-V. I think you're wrong about MS's goals there too, but at least it is a debatable topic.

    --
    B) Eliminate all the stupid users. This is frowned upon by society.
  22. Re:Why does the WSL exist? by trawg · · Score: 1

    I'm in the same boat. Every couple years I try Linux on the desktop and each time something frustrating happens within the first few hours - it's usual one or two fairly trivial things but together they have enough of an impact on my workflow or patience to make me decide it's too much effort.

    I've got 20+ years now of Windows desktop knowledge, tools, muscle memory, workflows, etc. It's hard to break that habit; when I need Linux I just ssh to one of a few VPSs I maintain or load up one of a few local VMs I keep.

    I'm too scared of Windows 10 to want it for WSL though, but I assume I'll inevitably be forced into it and I look forward to having WSL available as an alternative.

  23. WSL isn't Linux; it's Linux disto tools on Windows by ancientt · · Score: 4, Insightful

    There seems to be a common misunderstanding that WSL is running a Linux kernel. It isn't. WSL is still running on the Windows kernel. People think of popular Linux distributions as being Linux, but they're only Linux because of the kernel, not because of the tools they're bundling to create a distribution. When you switch to a BSD or Mach kernel using the same tools, you're no longer using Linux, regardless of the programs you're running. That's what WSL is too. It's a distribution's bundled tools running on a different kernel, in this case the Windows kernel.

    It'd make more sense to call it Ubuntu on Windows. Really though, it makes more sense for MS to call it "Linux" because that's what people think of when they hear the word. Otherwise you'd have "GNU on Windows" and spend all your time explaining you're talking about running a Linux distribution on Windows without using actual Linux. It's like insisting people use the original meaning of the word "hacker." If you use the word to mean what it really means, then people won't understand what you mean.

    I know this post is pretty much off topic, but a lot of people still seem misled by the term and I hope at to help clear up the misconceptions for a couple people.

    --
    B) Eliminate all the stupid users. This is frowned upon by society.
  24. Re: Why does the WSL exist? by spongman · · Score: 1

    There is no Linux in WSL.

  25. Re: Reading memory from linux by spongman · · Score: 1

    There is no van. There is no Linux. There is no spoon.

  26. crap ^C ^V paradigm by MrKaos · · Score: 1

    Windows uses ctrl C + crtl V

    Linux uses mouse index click to cut, mouse middle click to paste - it's very fast. The Linux paradigm is so far ahead in terms of efficiency than using ^C and ^V, which is really horrible. I shouldn't have to take my hand off the mouse to cut and paste.

    Cygwin allows this on windows, does WSL?

    --
    My ism, it's full of beliefs.
    1. Re:crap ^C ^V paradigm by Anonymous Coward · · Score: 1

      > The Linux paradigm is so far ahead in terms of efficiency than using ^C and ^V

      It's not a Linux paradigm, it's an X Window paradigm, and it doesn't work too well when you don't have a mouse. For example, ratpoison (https://en.wikipedia.org/wiki/Ratpoison) users.

    2. Re:crap ^C ^V paradigm by MrKaos · · Score: 1

      Yes, you are right, it's X11. Yes gpm does it too because it works the same way from the console.

      --
      My ism, it's full of beliefs.
    3. Re:crap ^C ^V paradigm by dunkelfalke · · Score: 1

      So you are left handed then?

      --
      "It's such a fine line between stupid and clever" -- David St. Hubbins, Spinal Tap
  27. So what you are saying... by wertigon · · Score: 1

    Is that it's GNU/Windows?

    --
    systemd is not an init system. It's a GNU replacement.
    1. Re:So what you are saying... by TuringTest · · Score: 1

      Strangely, I can't see Stallman endorsing that particular name.

      --
      Singularity: a belief in the "God" idea with the "demiurge" relation inverted.
  28. Microsoft Windows Linux 11 by xeoron · · Score: 1

    We found a better way to design Windows, by utilizing the power of Linux mixed with the look, feel, and all the programs you used on MS Windows 10

  29. Re:Why does the WSL exist? by keith_nt4 · · Score: 1

    I went through the same the same thing. After the constant new windows builds being pushed to me and removing candy crush for the thousandth time I decided I would try linux on my new laptop. My old laptop is acting as my kind of term server for windows stuff. So you could say I'm "cheating".

    To be fair, my new laptop is an alienware 15" - e.g. a bunch of proprietary crap. I first tried (and am currently running) Mint 17.10 - almost all the different DE versions - but the installer would often lock up or cause other issues. I don't know if that's the architecture, the nvme boot device or what it was. But eventually, some how, I was able to get the stupid thing to install (the proprietary driver extensions actually caused more lock ups). I installed an RDP client (remina, something like that) so I could connect to my windows 10 machine when needed (work has a windows-only VPN client and I have hundreds of steam games) and for the most part it has worked without any issues. Doesn't hurt that the only applications I seem to run are chrome and that RDP client.

    The main problem I have involves rebooting the machine in so far as it doesn't on the first try. And there seems to be a subsystem update that never finishes installing. But since the OS is usable it's hard to care. And even though there's a clear option to switch from the nvidia GPU to the intel GPU doing so completely disables the entire OS forcing a re-install (if I knew more I assume I could rescue it but it's easier to wipe the storage and start over).

    Eventually I'll try Mint 18 to see if hardware support has improved. But at least the OS is usable on some level now.

    I guess my only point is that it depends on how much you care about those 8 gig build pushes every 6 months and removing candy crush on a regular basis. Is that annoyance outweigh the frustration of getting a linux distro to work? For me it was totally worth it. With the RDP cheating thing.

    --
    "UNIX is very simple, it just needs a genius to understand its simplicity." -Dennis Ritchie
  30. Re:WSL isn't Linux; it's Linux disto tools on Wind by tlhIngan · · Score: 1

    There seems to be a common misunderstanding that WSL is running a Linux kernel. It isn't. WSL is still running on the Windows kernel. People think of popular Linux distributions as being Linux, but they're only Linux because of the kernel, not because of the tools they're bundling to create a distribution. When you switch to a BSD or Mach kernel using the same tools, you're no longer using Linux, regardless of the programs you're running. That's what WSL is too. It's a distribution's bundled tools running on a different kernel, in this case the Windows kernel.

    It'd make more sense to call it Ubuntu on Windows. Really though, it makes more sense for MS to call it "Linux" because that's what people think of when they hear the word. Otherwise you'd have "GNU on Windows" and spend all your time explaining you're talking about running a Linux distribution on Windows without using actual Linux. It's like insisting people use the original meaning of the word "hacker." If you use the word to mean what it really means, then people won't understand what you mean.

    I know this post is pretty much off topic, but a lot of people still seem misled by the term and I hope at to help clear up the misconceptions for a couple people.

    Exactly. A lot of early comments about WSL was about how "the Linux side is a security hole". Not beyond typical Windows - because the Windows kernel still enforces security permissions even for WSL.

    It's really more of a kernel personality - BSD has a Linux personality so it can run Linux binaries easily by emulating its system call behavior. Windows is doing the exact same thing - for WSL, it's emulating how Linux does system calls. And since the Linux system call table is public information (how to make a system call, register contents, etc), all anyone needs to do to add Linux support is emulate those system calls.

    And just like Debian on BSD calls itself "GNU/kBSD" to show it's a GNU userspace (versus BSD userspace) on a BSD kernel. So technically this is more "GNU/kWindows" than anything.

    Oddly, it's probably the closest to a full POSIX implementation WIndows would ever have - its POSIX implementation back in the day was fairly limited.

  31. Party like it's 1999 by ebvwfbw · · Score: 1

    Hey, they can cut and paste! Woo hoo. Such an achievement.

    How about updating your cryptography to something recent? Never mind. Microsoft will always suck until they make vacuum cleaners. Then it'll blow.

  32. Re:Why does the WSL exist? by keith_nt4 · · Score: 1

    Thanks for the suggestions on RDP clients. I just kind of went with the first one that came up in the search.

    And for Steam that's actually what I meant. Eventually I'll have the native steam client for Linux installed and stream or use wine for whatever doesn't run native. The prior laptop is setup as something of a game console right now. I can always play the games that support gamepad that way. I won't be running out of games for a really, really long time.

    --
    "UNIX is very simple, it just needs a genius to understand its simplicity." -Dennis Ritchie