The upcoming release of Cygwin version 1.7 will be dropping support for Windows 9x (Windows 95, Windows 98 and Windows Me). If you're lucky enough never to have to use Windows, Cygwin probably seems like a waste of effort. But, if you're not so lucky, Cygwin is what keeps you sane.
Cygwin is a Linux-like environment that runs on Windows. It provides you with a command-line environment with most of the tools you've come to know and love using Linux. It even provides a number of Linux dæmons that can run as Windows' services, most notably an SSH dæmon.
There also is a port of the X Window System called Cygwin/X, but it appears to have been without a maintainer for a few years. Given that most of the major open-source GUI toolkits now support Windows, lack of the X Window System may not be a huge stumbling block.
Cygwin was started in 1995 by Steve Chamberlain, an engineer working for Cygnus (later absorbed by Red Hat). The earliest mailing list references on the Web are in early 1997, by which time it appears to have been in a functional state.
If you understand programming on Windows and on Linux, and you need some mental exercise, try to figure how you'd implement fork() on Windows. If you want to cheat, check out cygwin/fork.cc in the Cygwin CVS.
We can all imagine a better world, one where our favorite operating system is ubiquitous, but imagine a world without Cygwin. If you have to use Windows now and then, that would be a scary world indeed.
Get it at cygwin.com.
__________________________
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Jul-01-09
- Jun-29-09
Recently Popular
From the Magazine
July 2009, #183
News Flash: Linux Kernel 3.0 to include an on-the-go Expresso machine interface! Ok, maybe not, but Linux is definitely going mobile, from phones to e-readers. Find out more inside about Android, the Kindle 2, the Western Digital MyBook II, The Bug, and Indamixx (a portable recording studio). And if you've gone mobile and you been wanting more Emacs in your life then check out Conkeror.
To compliment the mobile we've got the stationary: parsing command line options with getopt, checking your Ruby code with metric_fu, and building a secure Squid proxy. How is this stationary you ask? What can we say? It's not. We just wanted to see if anybody actually read this part of the page :) .
All this and more, and all you have to do is get your hot sweaty hands on the latest copy of Linux Journal.
Delicious
Digg
StumbleUpon
Reddit
Facebook








"We can all imagine a better
On October 2nd, 2008 Lucky Me (not verified) says:
"We can all imagine a better world, one where our favorite operating system is ubiquitous..."
Lucky me, my favorite operating system (Windows) is already ubiquitous.
fork.cc is a pile of shit
On September 25th, 2008 Alex Besogonov (not verified) says:
Forking implementation in Cygwin is a pile of shit. It's an example how NOT to do forking in Windows.
Fork() in Cygwin doesn't use copy-on-write, it immediately copies all process' memory.
However, NT kernel supports true copy-on-write forks by using ZwCreateProcess kernel function (undocumented, but widely known).
Post new comment