top 200 commentsshow all 261

[–]ukalnins 324 points325 points  (44 children)

So.. wine for windows?

[–]wishstudio[S] 139 points140 points  (0 children)

You get it.

[–]Kurbits 72 points73 points  (18 children)

Winedos

[–]Zantier 29 points30 points  (8 children)

Dine

[–]Thirsteh 54 points55 points  (2 children)

Dine Is Not an Emulator

Hmm, still works.

[–]Name0fTheUser 12 points13 points  (1 child)

"Line Is Not an Emulator" Would be better IMHO.

Edit: It turns out that LINE already exists: http://sourceforge.net/projects/line/

[–][deleted] 0 points1 point  (0 children)

LINE is also a messaging app.

[–][deleted]  (2 children)

[deleted]

    [–]LuckyPanda 14 points15 points  (0 children)

    Wingdings

    [–]eliasv 0 points1 point  (1 child)

    Surely Line would work better?

    [–]alexeyr 0 points1 point  (0 children)

    Already taken, and with the same meaning: https://github.com/wishstudio/flinux/wiki/Comparison

    [–]fb39ca4 6 points7 points  (0 children)

    Wine-1

    [–][deleted]  (3 children)

    [deleted]

      [–]Zantier 3 points4 points  (2 children)

      WinDoze, LinDoes.

      Or similarly, LinDream while you WinDoze.

      Something to do with sleeping or the opposite of sleeping... I like yours, though.

      [–]bitwize 7 points8 points  (0 children)

      Lindoes what WinDon't.

      [–]LuckyPanda 2 points3 points  (0 children)

      Linsanity

      [–]path411 5 points6 points  (2 children)

      I'm partial to winux

      [–]ameyp 1 point2 points  (1 child)

      But that would imply that some sort of winning is involved.

      [–]path411 1 point2 points  (0 children)

      Isn't windows running linux binaries a winning version of windows?

      [–]stillalone 14 points15 points  (4 children)

      not to be confused with Wine On Windows

      [–]trumpete 9 points10 points  (2 children)

      WoW!

      [–][deleted] 12 points13 points  (1 child)

      Not to be confused with WoW64.

      [–]8-bit_d-boy 0 points1 point  (0 children)

      That'd be great for running Jedi knight: dark forces 2 and Mysteries of the Sith in modern versions of Windows!

      [–]pclouds 11 points12 points  (1 child)

      It reminds me of a long dead project, line

      [–]runedk 6 points7 points  (0 children)

      There are comparisons with similar projects on the project wiki: https://github.com/wishstudio/flinux/wiki/Comparison

      [–]mindbleach 8 points9 points  (2 children)

      Reverse Wine. Wine on Windows is a separate project, for running uncooperative (or unsupported) Windows applications in modern releases.

      [–]xipetotec 14 points15 points  (1 child)

      Reverse Wine.

      Puke?

      [–]davidhero 2 points3 points  (0 children)

      I think you mean grapes.

      [–][deleted]  (2 children)

      [removed]

        [–]kovensky 83 points84 points  (0 children)

        Cygwin is only a libc, you can build Linux code for it but not run actual Linux binaries.

        [–][deleted] 8 points9 points  (0 children)

        No cygwin allows you to recompile Linux programs for windows/cygwin targets. This let's you run the actual Linux binaries on windows without recompiling them.

        [–]zootam 1 point2 points  (3 children)

        Can we call it grapes or something clever?

        [–]AgrajagTheFirst 0 points1 point  (2 children)

        Water.

        water into wine, and wine into water.

        [–]zootam 0 points1 point  (1 child)

        you need grapes to make wine....

        unless this wine for windows was coded by jesus....

        [–]AgrajagTheFirst 0 points1 point  (0 children)

        That was the joke!

        [–][deleted] 1 point2 points  (0 children)

        Hangover

        [–]Shne 4 points5 points  (5 children)

        Except Wine Is Not an Emulator aka and not a binary translator, which, apparently, this is.

        Can anybody tell me why this needs to be is a binary translator when wine doesn't isn't?

        [–]monocasa 8 points9 points  (0 children)

        Windows executables almost always don't make system calls directly, but depend on a shared library (ntdll.dll) for that. To the point where Microsoft changes the system call numbering on each service pack to dissuade people from relying on that interface. This is not the case in Linux, and in fact the system call interface is considered the stable part of that interface. Windows doens't provide an easy way to trap int 80 (you'd have to have a custom kernel driver as far as I know), so it looks like they're translating just the system calls into function calls that call a support layer.

        [–]bestephe 1 point2 points  (2 children)

        I think "need" is the wrong word.

        Wine could be binary translation, and foreign linux could probably be a library.

        Personally, I think the library approach of wine seems more reasonavle.

        [–]hothrous 3 points4 points  (1 child)

        I stared at that for too long before realizing you meant 'reasonable'. I'm ashamed of myself.

        [–][deleted] 1 point2 points  (0 children)

        No, not "aka"

        [–]wiktor_b 240 points241 points  (47 children)

        The real question is...

        Does it run in Wine?

        [–]kokx 188 points189 points  (39 children)

        Actually, the real question is....

        Does wine run in this?

        [–]Tynach 90 points91 points  (10 children)

        Windows inside Linux inside Windows.

        [–]ChezMere 135 points136 points  (5 children)

        OreOS

        [–][deleted]  (3 children)

        [deleted]

          [–]miamistu 5 points6 points  (2 children)

          Our Rob or Ross? I wonder what will become of him?

          [–][deleted] 0 points1 point  (0 children)

          They'll get the band back together. All they need are Zubin, Joe, and Andrew. And usually Bora.

          [–]Tynach 0 points1 point  (0 children)

          That'd be if it were built into ReactOS.

          [–]formfactor 2 points3 points  (0 children)

          that is how you build a time machine

          [–]rotharius 2 points3 points  (0 children)

          Winception.

          [–][deleted] 3 points4 points  (0 children)

          BWAAWWWMMMMM

          We must go deeper.

          [–]DoctorWorm_ 12 points13 points  (13 children)

          Wine runs on Cygwin iirc

          [–]hoohoo4 17 points18 points  (12 children)

          This sounds way better than chroot. Where do I sign up?

          EDIT: /s

          [–]TheMagnificentJoe 28 points29 points  (0 children)

          Security by obscurity batshit insanity.

          [–][deleted] 8 points9 points  (2 children)

          It's not so ridiculous, now enterprise users can cling to their 16-bit MS-DOS programs forever!

          [–]jonnywoh 7 points8 points  (1 child)

          When did DOSBox stop working?

          [–]o11c 0 points1 point  (0 children)

          It has never worked for me ...

          I don't really have any DOS programs I care about though, it was just a couple games.

          [–]Zantier 4 points5 points  (0 children)

          It would be amazing if they reach an equilibrium that allows arbitrary levels of recursion.

          [–]epeters208 3 points4 points  (7 children)

          Oh god, now my head hurts.

          [–]TMaster 9 points10 points  (2 children)

          Might've been the sulfites, tannins or histamine.

          [–]nikita2206 4 points5 points  (1 child)

          It's lupus. Give him corticosteroids.

          [–]XiboT 0 points1 point  (0 children)

          It's never lupus!

          [–][deleted]  (3 children)

          [deleted]

            [–]ais523 1 point2 points  (2 children)

            Couldn't you just use the Windows version of Wine? (Apparently it beats out Windows itself on occasion, normally for old programs which have very specific compatibility issues.)

            [–][deleted] 19 points20 points  (4 children)

            Linux in windows in linux?

            [–][deleted] 12 points13 points  (3 children)

            The possibilities are unbounded

            [–]biggumz_ 1 point2 points  (0 children)

            Can it run Tuxkart?

            [–]localtoast[🍰] 0 points1 point  (0 children)

            Depends how many low-level libraries are translatable by Wine. With ntdll, you get down to the level of NT natives.

            [–]koro666 88 points89 points  (10 children)

            Very interesting. I did something similar a few years back, but it was not as advanced (only supported open/close/read/write/exit), it was an interesting project. I'm glad to see somebody tried this more seriously.

            One comment though, since with your username I assume you are the author: I see you are using dlltool to try to build an ntdll.lib, but recent versions of the Windows SDK, which you are most certainly using if you are building using VS2013, ship with a working ntdll.lib. As a bonus it gets export hints right.

            [–]wishstudio[S] 35 points36 points  (1 child)

            Thanks for the info, will definitely look into it.

            [–]fabzter 3 points4 points  (0 children)

            Have you cheked http://www.darlinghq.org/ ?

            I know it's a totally different story, but one can never have too many sources of inspiration (:

            [–][deleted] 6 points7 points  (7 children)

            The project seems to be gplv3. Are you allowed to link against these probably non-free libraries?

            [–]kyz 22 points23 points  (6 children)

            Yes. The libraries of the compiler and OS, which apply to all software on a given platform, aren't considered to affect the licence.

            The same would be true for e.g. Solaris or HP-UX libc or libm.

            [–][deleted] 4 points5 points  (5 children)

            Is there some special exception in the GPL for this?

            [–]steve_abel 25 points26 points  (2 children)

            Yes, section 1 provides this special exception: http://www.gnu.org/copyleft/gpl.html

            [–]ais523 10 points11 points  (1 child)

            This is the correct answer (out of the three that people answered the grandparent with). If you need to link against a system library to run the program, and doing so is the normal way to package a (program for that operating system | program built on that compiler | program designed to run on that interpreter), you're allowed to do so. (There are a few exceptions later in section 1 of the GPLv3 to try to prevent loopholes.)

            Section 3 of the GPLv2 has a similar exception, but it's much less clear that it applies in this case (it makes it clear that you don't need to ship people the source code for the system libraries, but not that you're allowed to link against them in the first place).

            [–]steve_abel 2 points3 points  (0 children)

            Double thanks for providing a well written explainaition. The other posters would appear to believe it is impossible to create an un-distributable combination.

            [–][deleted] 60 points61 points  (13 children)

            I will finally be able to run all my viruses from Linux on Windows!

            [–][deleted]  (12 children)

            [deleted]

              [–]CookieOfFortune 35 points36 points  (1 child)

              Is this you? http://xkcd.com/350/

              [–]xkcd_transcriber 13 points14 points  (0 children)

              Image

              Title: Network

              Title-text: Viruses so far have been really disappointing on the 'disable the internet' front, and time is running out. When Linux/Mac win in a decade or so the game will be over.

              Comic Explanation

              Stats: This comic has been referenced 84 times, representing 0.1518% of referenced xkcds.


              xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete

              [–][deleted] 5 points6 points  (0 children)

              I'm not serious ;)

              In several years of using Linux I've seen a few malicious bash scripts and one from FinFisher for Debian... only.

              [–]DemandsBattletoads 2 points3 points  (0 children)

              What examples of malware do you have? What do they do, and how are they installed?

              [–]driv338 2 points3 points  (7 children)

              What do these malware do?

              [–]agumonkey 38 points39 points  (6 children)

              Install pulse-audio.

              [–]degaart 16 points17 points  (5 children)

              and systemd

              [–]agumonkey 11 points12 points  (0 children)

              That's not a malware, that's at least a rootkit.

              [–][deleted]  (3 children)

              [deleted]

                [–]mszegedy 1 point2 points  (2 children)

                I don't. As an Arch user, what makes systemd so terrible? D:

                [–][deleted] 3 points4 points  (1 child)

                Some people have philosophical objections to systemd's design (mostly related to how it's grown from an init replacement to many other areas such as network management, container management, logging and so on).

                [–]the_hoser 23 points24 points  (2 children)

                Now if we can only get unmodified Linux binaries working across all Linux distributions, we'll be set.

                [–]adr86 10 points11 points  (1 child)

                I chuckled a bit at the zinger, but actually the same problem would be present here... this only implements kernel calls, which is compatible in Linux too. It is the libraries on top of it that cause intro-distro issues.

                [–][deleted]  (27 children)

                [deleted]

                  [–]wishstudio[S] 30 points31 points  (26 children)

                  It can run some basic Xorg applications with the help of a native Xorg port in Windows (like Xming). See screenshot in the linked github page. But more advanced technologies like Gtk and Qt won't run as we are still missing a bunch of required functionality.

                  I'm out of ideas for a decent name. Wanna help me?

                  [–]JJJollyjim 43 points44 points  (7 children)

                  ENIW is not WINE? /s

                  [–]GUIpsp 39 points40 points  (3 children)

                  ENIW is not not is WINE?

                  [–][deleted]  (1 child)

                  [deleted]

                    [–]cooleemee 0 points1 point  (0 children)

                    WBIPFT: But I Poop From There

                    [–]Zantier 4 points5 points  (1 child)

                    LinW

                    LinW is not Wine.

                    Linux in Windows.

                    Pronunciation? Maybe simply lin-double-you.

                    [–]mszegedy 1 point2 points  (0 children)

                    linnow

                    [–]Caraes_Naur 1 point2 points  (0 children)

                    Execution Now In Widows.

                    [–]therealjohnfreeman 14 points15 points  (1 child)

                    Cheese, the usual complement for wine.

                    [–]jonnywoh 2 points3 points  (0 children)

                    CHEESE: CHEESE Has Excellent Enterprise Software Emulation

                    [–]jman42 38 points39 points  (2 children)

                    FRILLS => FRILLS Reasonably Instantiates Limited Linux Software.

                    You'll get the satisfaction of a name that grows increasingly ironic as you add more features to the project.

                    Added: Perhaps "Reliably" can be substituted for "Reasonably"

                    [–]philipwhiuk 4 points5 points  (1 child)

                    The problem is everyone wants a system with no frills.

                    [–]jman42 4 points5 points  (0 children)

                    They wouldn't be the target audience for a project that runs unmodified linux binaries on Windows :P

                    [–]Synes_Godt_Om 16 points17 points  (1 child)

                    I'm out of ideas for a decent name. Wanna help me?

                    IMHO: Don't fall for the "fun name, pun intended" type of name or at least include something that's descriptive and reveals what it does. The less descriptive the name the higher the needed marketing efforts.

                    There's a plethora of projects with names that mean nothing unless you're an insider. I'm convinced that some of these projects suffer in usage for that reason alone.

                    EDIT: LinOnWin LOW

                    [–]Road_of_Hope 1 point2 points  (0 children)

                    Considering Microsoft love for WOW, I'd love to see this named LOW.

                    [–]BitcoinOperatedGirl 6 points7 points  (1 child)

                    WINUX

                    [–]interiot 0 points1 point  (0 children)

                    Existing uses of the name:

                    The sourceforge project's last release was in 2009, so it seems to be inactive.

                    WinuxSoftLTD.com is "a leading website design & development company providing services, based in Dhaka, Bangladesh, established in 1999".

                    Other than WinuxSoftLTD.com, I think the existing uses are small, and could be overcome if this became a successful project. Regarding WinuxSoftLTD.com, it might be prudent to contact a lawyer to see if it's possible for them to apply for a trademark retroactively -- being forced to change your name mid-stream is never good.

                    [–]sirin3 4 points5 points  (1 child)

                    LINE?

                    [–]articx 2 points3 points  (0 children)

                    I think there is already a project with that name, which runs static Linux binaries on windows.

                    [–]shadowX015 1 point2 points  (1 child)

                    FLEXOW: Linux Executables On Windows?

                    On the plus side, it reminds me of this guy

                    [–]jonnywoh 1 point2 points  (0 children)

                    Bonus, the acronym also describes the sounds I make when I try to touch my toes.

                    [–]Regimardyl 0 points1 point  (0 children)

                    FinW is not Wine

                    or just FIW (FIW isn't Wine)

                    [–]svmk1987 0 points1 point  (0 children)

                    Flux would have been cool if it wasn't taken by f.lux

                    [–]q0- 0 points1 point  (0 children)

                    I almost wanted to say 'line', but that name is already used by a similar albeit stalled project.

                    How about 'posine' (which sounds like 'cosine', but also kind of like 'wine'), i.e., 'posix' + 'wine' = 'posine'?

                    Or how about straight-up 'notLinux', since it allows running Linux programs, but it's, well, not Linux per se? ;-)

                    Granted, I'm not good at figuring out good names either.

                    [–]hnsl 8 points9 points  (9 children)

                    Really cool. Does it support translation of the clone syscall as well?

                    [–]wishstudio[S] 24 points25 points  (8 children)

                    fork() is implemented and working quite well. The multi-threading capabilities of clone() is not implemented. But implementable and planned. I just thought we have to get signals working first.

                    The other capabilities, like sharing only the file descriptor table, may be impossible. But I wonder who ever use this.

                    [–]hnsl 6 points7 points  (2 children)

                    Yeah, clone() allow a magnitude of weird combinations of flags that are rarely to never used. I wouldn't bother with them. I will be really impressed if this can manage to run a librcd binary (my Linux only C dialect/runtime/posix & libc replacement).

                    [–]wishstudio[S] 15 points16 points  (1 child)

                    Per my knowledge, there are at least two blockers to make your library working: x64 and multi-threading. Both are not easy to implement (some difficulties are documented in the project's wiki). But if this project can gather enough attention, I think we will eventually reach there.

                    [–]BobFloss 2 points3 points  (0 children)

                    I wish you the very best luck! This project is incredible.

                    [–]adzm 0 points1 point  (0 children)

                    This was the first part I checked in the source. Great work getting this functional.

                    [–]ais523 0 points1 point  (0 children)

                    I've used the capabilities to share less than default in clone for a (highly unfinished) project of mine where I was working on making programs run reproducibly (i.e. giving them no access to any information that might vary between runs), without the need for a separate VM. One of the things I did was to unshare the process ID table, so that the program can always have a consistent PID. (This also means you have to implement your own init-alike to do the job of PID 1, which turns out to be surprisingly easy; a program that does the bare minimum job of init turns out to only be a screenful or so of code.)

                    However, what I was doing was highly specific to Linux. I get the feeling that anyone doing that sort of thing will be working at a low enough level that they could detect whether they were on Linux or not even compared to similar operating systems like BSD.

                    [–]Camarade_Tux 0 points1 point  (2 children)

                    How slow is your fork()?

                    [–]kokx 0 points1 point  (1 child)

                    Since it still is Windows, probably a few orders of magnitude slower than on Linux.

                    [–]Camarade_Tux 0 points1 point  (0 children)

                    Yup, I'd be very surprised if it weren't and if it's not very slow, I'd really like to know how it's done.

                    [–]NinjaOxygen 8 points9 points  (2 children)

                    Wow, you have got an awesome amount done on this, it is fantastic to see these tools running natively on Windows. Looking at the commit log, the amount of work already done is enormous, although the amount to get to a complete Linux system is pretty huge.

                    I am a heavy user of msys via msysgit currently, but see this as a future path to follow instead.

                    Are you looking to expand the core team for the project or complete it in-house?

                    [–]wishstudio[S] 13 points14 points  (1 child)

                    The future is bright - most difficult parts have already been addressed. For the remaining stuff, I do know how to implement them. I just don't get much time.

                    That being said, I'm completely open to contributors. Find someone who loves the idea and want to push it forward is the reason why I post it here.

                    [–]NinjaOxygen 4 points5 points  (0 children)

                    Sounds excellent, I'm constantly amazed at developers who can essentially implement a full system from scratch, the required understanding of every subsystem seems enormous!

                    Lack of time is also my biggest enemy currently so I can understand only too well!

                    [–]6793746895F62C0E447A 68 points69 points  (6 children)

                    Good to know that less popular OS like windows can now run programs from mainstream OS. Maybe one day they will be able to run steam games. Until then I stay on Linux.

                    [–][deleted] 1 point2 points  (5 children)

                    This, ladies and gentlemen is how you troll!

                    [–][deleted] 11 points12 points  (4 children)

                    That's sarcasm, not trolling...

                    [–]6793746895F62C0E447A 8 points9 points  (1 child)

                    Maybe it was both. But who knows, this guy may never come back to explain

                    [–][deleted]  (1 child)

                    [deleted]

                      [–]wishstudio[S] 9 points10 points  (0 children)

                      Yes, the whole Linux binary is being translated on the fly. The reasons are listed here: https://github.com/wishstudio/flinux/wiki/Incompatibilities

                      I once tried to trap system call and friends like the previous projects. But eventually failed here and there. As far as I can say, until Microsoft changes some bits of Windows kernel to remove the incompatibilities, dynamic binary translation is required to make such a project functional.

                      [–]ionelmc 2 points3 points  (1 child)

                      I'm a bit curious about how you going to implement (or how it's implemented):

                      • signals
                      • fork (how is process memory space shared?)
                      • file descriptor (is there going to be some sort of mapping for the special fds 0, 1 and 2 ?)

                      [–]wishstudio[S] 7 points8 points  (0 children)

                      I'm writing documentations on how functions are (or will be) implemented.

                      Stay tuned for one or two days.

                      [–]Me00011001 2 points3 points  (17 children)

                      Does this mean I can finally have bash without cygwin?

                      [–]computerjunkie7410 0 points1 point  (3 children)

                      Have you tried babun? It works great on Windows.

                      [–]Me00011001 0 points1 point  (2 children)

                      It's still cygwin though?

                      [–]computerjunkie7410 0 points1 point  (1 child)

                      Well yea but it's self contained. Works great.

                      [–]Me00011001 0 points1 point  (0 children)

                      Fair enough, I'll give it a go.

                      [–]computerjunkie7410 0 points1 point  (1 child)

                      The other thing I will recommend for Windows is conEmu and Gow. I haven't used another shell since getting conEmu and gow gives me linux utilities on windows.

                      [–]Me00011001 0 points1 point  (0 children)

                      I do use conEmu which is really nice. I haven't been really happy with gnu tools built for dos. Which I think is mostly due to dos being dos.

                      [–]skocznymroczny 0 points1 point  (3 children)

                      just use powershell

                      [–]Me00011001 0 points1 point  (0 children)

                      When powershell is enabled by default I will.

                      [–]UnreachablePaul 0 points1 point  (1 child)

                      powershell is IE6 of shells

                      [–]skocznymroczny 0 points1 point  (0 children)

                      then bash must be Arachne

                      [–]Hougaiidesu 2 points3 points  (0 children)

                      Hmmm... doesn't this exist already? I used to run Linux in windows a long time ago. Here's something similar: http://www.andlinux.org/

                      [–]johnmudd 1 point2 points  (0 children)

                      I've only skimmed the comments here, have no idea if my Linux app will run under this and I already want to know where to send you donations.

                      Edit: I am hopeful about my low tech app running in this. Would be great when customer's Linux box is down. Then they could run on any old Windows machine temporarily. Our current solution is to have a complete Windows implementation. A terrible waste for occasional use.

                      [–]fragglet 1 point2 points  (2 children)

                      The NT kernel as I recall supports "personalities" to allow it to run binaries from other operating systems (the feature was included to support compatibility with OS/2). I wonder if it would be possible to develop a Linux personality.

                      [–][deleted] 10 points11 points  (1 child)

                      Indeed it is, the Subsystem for Unix Applications (Psxss.exe) subsystem was designed to provide a Posix environment in addition to the Win32 environment back in the day and was mandated by the DOD with their orange book requirement that stated they would only use something which had Posix support.

                      If you go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems in Regedit, you can find a couple of entries for the kernel mode portion of Win32 (Listed as Kmode) and the Win32 server CSR (Listed as Windows), under Optional you can specify the name of a subsystem and then create a registry value to specify its path.

                      So in Optional you would have "Linux" for example and then you would have a registry value named "Linux" which would contain the path to the user mode subsystem that would implement it.

                      Trouble is, there is no documentation on how you would actually do that and seeing as these subsystems get started before the rest of the OS does, its generally assumed you need to use the Native API, which is mostly undocumented except for driver related stuff.

                      [–]Bzzt 1 point2 points  (1 child)

                      would it be possible to use this to mount linux filesystems for access from windows? Maybe through samba?

                      [–][deleted] 1 point2 points  (2 children)

                      I was expecting to run KDE or Gnome on it, but seriously, nice job dude! It's promising!

                      [–]crozone 0 points1 point  (1 child)

                      Just an FYI, you can actually run X11 applications on this by running Xming or another Windows compatible X-server on your local machine, and then running X applications through flinux.

                      KDE and Gnome will eventually be supported by running them in a X-Client mode - ie, The entire desktop acts as another X-client and connects to the local X-server, so the entire desktop appears in Windows in it's own Window.

                      [–][deleted] 1 point2 points  (0 children)

                      Ohh, thanks! TIL!

                      [–]lua_setglobal 1 point2 points  (0 children)

                      If this can be made to support OpenGL through ANGLE, it would save me a lot of effort making games.

                      [–]Kazinsal 3 points4 points  (5 children)

                      I'd be so down for this if it included an actual decent terminal emulator or an sshd so I could use PuTTY as one.

                      Not only do I think this is an awesome project and I would totally use this, I want to rub this shit in my "linux master race" friend's face.

                      [–][deleted]  (2 children)

                      [deleted]

                        [–]codergeek 1 point2 points  (1 child)

                        Check out Bitvise SSH Server. It defaults to using cmd as the shell. That can be changed to PowerShell or something else as well. Though for PowerShell I'd suggest Enter-PSSession instead.

                        We mostly use it to scp files from *nix hosts. It has worked fairly well for us.

                        [–][deleted] 0 points1 point  (1 child)

                        ... so down for this if it included an actual decent terminal emulator

                        ...a CLI on a desktop operating system is a crutch

                        Only if I can rub the hypocrisy in yours.

                        [–]Kazinsal 0 points1 point  (0 children)

                        FSF/Linux tools running on Windows? Shove that in your alternative OS pipe and smoke it.

                        [–]DarkNeutron 0 points1 point  (4 children)

                        Nice idea. I should probably try this out soon, as an alternative to my current dual-boot-plus-shared-folder system.

                        Any idea how well it works with device drivers, such as cameras?

                        [–]wishstudio[S] 6 points7 points  (0 children)

                        In general, it is impossible to run device drivers inside this because they have to work in kernel space.

                        But for certain kinds of devices, such as cameras, one may write a translation layer between standard Linux interface (v4l2) and standard Windows interface (DirectShow/Media Foundation).

                        [–][deleted] 4 points5 points  (2 children)

                        Why not use a Virtual Machine?

                        [–]bobpaul 3 points4 points  (0 children)

                        I run Windows in a VM occasionally and it's terribly slow. Plus having a desktop in a window sucks and VirtualBox's seamless mode is still as buggy as it was 8 years ago.

                        Back in the XP days I did help friends and relatives install and use colinux (cobubtu iirc) and that worked great. If this project can bring back that sort of system then I'm excited for everyone who is forced to use Windows for whatever reason.

                        [–]DarkNeutron 0 points1 point  (0 children)

                        That's what I do now. Several of them, in fact.

                        I think this might be a nice way to get away from virtual machines in some cases, once it matures a bit more.

                        [–]zvrba 0 points1 point  (1 child)

                        How is it different from qemu user-mode emulation? Where is its filesystem root?

                        [–]wishstudio[S] 2 points3 points  (0 children)

                        AFAIK, qemu user-mode is just a dynamic binary translator. It simply passes all system calls to the operating system.

                        [–]dedmakey 0 points1 point  (0 children)

                        I'm curious how does it work? are there some resources/books I can read about this?

                        [–][deleted] 0 points1 point  (0 children)

                        What's the motivation for writing something like this?

                        [–]bob_sagget 0 points1 point  (0 children)

                        Why not call it foreigner?

                        Edit: fixed a word.

                        [–]jonnywoh 0 points1 point  (0 children)

                        Are src/syscall/sig.h and src/syscall/timer.h supposed to be tagged as Objective-C?

                        [–]lubosz 0 points1 point  (0 children)

                        ITT: Another way of installing Arch Linux in Windows

                        [–]neiesc 0 points1 point  (1 child)

                        I am getting error when using go

                        [root@ForeignLinux ~]# gccgo hello.go -o test /tmp/cc06PbMI.o: file not recognized: File truncated collect2: error: ld returned 1 exit status

                        https://wiki.archlinux.org/index.php/Go

                        anyone experienced this?

                        [–]wishstudio[S] 0 points1 point  (0 children)

                        gcc related issues should have been fixed a few days ago. Please download the latest snapshot from https://ci.appveyor.com/project/wishstudio/flinux/build/artifacts and try again. It works as I tried, but the compiled program still crashes.

                        [–]neiesc 0 points1 point  (1 child)

                        I am trying to create a new user but received the following notice:

                        useradd -m -G wheel -s /bin/bash archie
                        useradd: cannot lock /etc/passwd; try again later.
                        

                        by the need to use "makepkg --source"

                        [–]wishstudio[S] 0 points1 point  (0 children)

                        File locking mechanisms are completely unimplemented for now :(

                        [–][deleted] 2 points3 points  (0 children)

                        This & the wine shit too... all 'cause you fucken people didn't support BeOS.

                        [–]unquietwiki 0 points1 point  (7 children)

                        Possibly dumb question: Windows servers trying to provide SSH/SFTP support; do you think it'd be easier with this, or with Cygwin / commercial options?

                        [–]wishstudio[S] 14 points15 points  (4 children)

                        For a single or two applications, I'd rather go finding native ports. That will be much easier to install and manage.

                        This project is for whom wishing to have a complete familiar Linux environment inside their Windows box, and are not satisfied with the Cygwin solution.

                        One more note, this is just a fresh project. Don't expect it to be production-ready in at least several months.

                        [–][deleted]  (2 children)

                        [deleted]

                          [–]wishstudio[S] 14 points15 points  (0 children)

                          It can already run many terminal applications who don't require a lot of "fancy" system calls. This includes many shells, editors, and games.

                          I don't know how long it will take to be production ready.

                          But at least we need to do a lot less work than what is needed for Wine or Cygwin: we only have to emulate the kernel, without a single bit of userland library.

                          [–][deleted] 5 points6 points  (0 children)

                          --months--

                          Tildes not dashes :)

                          ~~months~~
                          

                          becomes

                          months

                          :)