Live data from Hacker News

Foreign Linux: Run Linux binaries on Windows without drivers or modification

github.com

11–20 of 149 posts

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#11
post #7

If this can bring me a working * nix shell under Windows, I'd be extremely happy. Windows is great for everything except I have never learned PS as well as I know the * nix shells -- with this, I could enjoy the hardware and proper multi-monitor support, speed and stability (seriously) of Windows and use the * nix command line.

It's not quite the same...but Git Bash for Windows[1] is an awesome substitute for the Windows command prompt.

[1] http://git-scm.com/downloads

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#13
post #12

Cmd.exe is an abomination though - and Cygwin defaults to using it for terminal use. I see that this project also does that.

> Cmd.exe is an abomination though - and Cygwin defaults to using it for terminal use. I see that this project also does that.

Use http://mridgers.github.io/clink/

It is not an alternative terminal, but injects itself into every cmd process to allow completion, better key handling etc. I was skeptical at first, but it's a really, really great tool.

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#14
post #7

If this can bring me a working * nix shell under Windows, I'd be extremely happy. Windows is great for everything except I have never learned PS as well as I know the * nix shells -- with this, I could enjoy the hardware and proper multi-monitor support, speed and stability (seriously) of Windows and use the * nix command line.

To be honest, and I say this with a massive cringe, after 20 years of Unix I'm more productive with PS in a couple of months! It's quite refreshingly easy to use and I genuinely had no idea how much time I was wasting on parsing streams.

Now I feel horrible for revealing my dirty secret :(

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#15
post #12

Cmd.exe is an abomination though - and Cygwin defaults to using it for terminal use. I see that this project also does that.

> Cmd.exe is an abomination though

Agreed, but I don't think Cygwin defaults to it any more. It uses mintty now, which understands Cygwin ptys and has a native Windows interface.

I guess you could also use an X11 terminal emulator in this project.

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#16
post #7

If this can bring me a working * nix shell under Windows, I'd be extremely happy. Windows is great for everything except I have never learned PS as well as I know the * nix shells -- with this, I could enjoy the hardware and proper multi-monitor support, speed and stability (seriously) of Windows and use the * nix command line.

Cygwin and MSYS2 are really underrated for this. I think they do exactly what you want. I often use Bash and find to manage files on Windows.

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#17
Firstly, this looks brilliant. If anyone can remove the extra layers of cygwin, mingw, xming etc. and provide a direct ability to execute linux programs from powershell/cmd , I call Black Magic. Voodoo I tell you; Windows cannot be this user friendly (I work with it every day).

Secondly, completely off topic, I noticed that Github picks up 0.4% of the code-base as Objective-C (https://github.com/wishstudio/flinux/search?l=objective-c) due to the files functionally consisting of a single line, `#pragma once`. Is this statement more common in Objective-C than C or C++ ? Just wondering if Github detects the language based partly on some statistical analysis of other existing code, or if it has "set rules".

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#18
Always nice to have more alternatives, but I find either http://bliker.github.io/cmder/ (a tricked out console with a nicely tweaked git bash environment) or http://babun.github.io/ (Cygwin but easier to install and with nicer defaults) better for daily use when forced to wallow in the Windows pool at work.

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#19
post #10

Cygwin is impressively complete - if you haven't checked in on it recently, there are over 5000 packages in the official repo (that's more than Arch Linux's official repos), and adding the http://cygwinports.org/ repo gives you full KDE, GNOME 3 and Xfce on windows (although KDE has a first-party port). What this tool offers over Cygwin is the ability to run unmodified linux binary-only software for which you do not…

For me I've had too many problems with cygwin and $DAYJOB installs BLODA, so I'm really interested to see what comes of this, also since it uses arch and pacman, which are my distro of choice, it sounds pretty perfect to me! (no more having to recompile everything from source with cygwin or `rebaseall` and suchlike)

Re: Foreign Linux: Run Linux binaries on Windows without drivers or modification

#20
post #12

Cmd.exe is an abomination though - and Cygwin defaults to using it for terminal use. I see that this project also does that.

Cmd.exe isn't a terminal emulator, it's a shell. Conhost.exe (and before Windows 7, csrss.exe) is the process behind the terminal window.
Post reply on HN