MinC - OpenBSD-flavored cygwin-alike for running UNIX-y things on Windows

15 points by hoistbypetard


bityard

Honestly, I want to see this ported to Linux so that I can run OpenBSD (at least) in an LXC or Docker container without the overhead of a VM. Probably not super practical, but it would be fun nonetheless.

wezm

This is neat but the page has some quirks:

based on the OpenBSD operating system

written to help children at vocational education learn Linux

Do they mean learn a UNIX-style command line? Seems strange to try to teach Linux through not-Linux.

It runs on all versions of Windows, except Win95 and Win98.

I assume this means WinMe/2000 onwards, not all versions of Windows except 95 and 98?

hc

something i’ve found, when working with *nix things on windows, is that it can help to have a /bin directory full of *nix tools on your machine

in windows, /foo/bar is interpreted as C:/foo/bar, or Z:/foo/bar, or whatever the drive letter of the current dir is. you can use this as a half-assed chroot, and create a “drive” that has things where *nix tools expect things to be

the way msys2 and cygwin tools handle paths, by faking a root with environment variables or the executable’s location, tends to blow up when you’re mixing *nix and windows programs