Cygwin 1.7 Released
jensend writes "The 1.7 branch of Cygwin, the Unix-like environment for Windows, has reached stable status after about 3 1/2 years of effort. Among many other changes, this release drops support for Windows 9x. Since the NT API and NT-based versions of Windows are more capable and somewhat less of a mismatch with POSIX (for instance, they include a security model), this has allowed for code path simplifications, better performance (particularly noticeable with pipe I/O), better security, and better POSIX compatibility."
... Does it run under WINE?
Colorless green Cthulhu waits dreaming furiously.
Windows has had a POSIX layer of its own for awhile now, as "Services for Unix".
On the lighter-weight end, mingw can give you the basics, and they usually run much faster (even bash!) than Cygwin did. Maybe Cygwin is better now, it's just that I don't really see what it has over, well, any other way of running POSIX apps on Windows.
Don't thank God, thank a doctor!
Even after all these years, Microsoft has nothing equivalent to the UNIX command line. The standard cmd.exe is too limited, and Powershell isn't a good interactive shell, it's more like typing at a Python or Ruby interpreter. Cygwin makes doing anything on Windows marginally tolerable and I install it on any Windows machine I happen to use.
For a while, I've been using a modified version of Cygwin in order to get proper UTF-8 support. Does the new version finally integrate a similar feature?
love the search feature in setup.exe !! long overdue, but welcome nonetheless.
This is really great - I was setting up rsync and ssh on my parents computer a couple days ago as part of a backup system. I was having a problem with rsync hanging on a 2GB pst file, but the new cygwin brings rsync up to date, and whatdoya know... it works! Now my openbsd box happily backs up their stuff!
Its handy if you have to run windows at work but you need unix services.
http://michaelsmith.id.au
who actually uses this... it REQUIRES windows?
I know. I've been hoping for years they'll release a version for Linux, but they never do.
If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
Yes. From the announcement:
...that can make Cygwin look and feel like Windows? I prefer the Windows look and feel instead.
Let's be honest -- whether Linux or BSD is ready for the desktop, ready for the laptop is something slightly lacking, and I mostly have laptops these days. I couldn't take it anymore with Linux or BSD on my laptop, so I bought Vista. Of course, I can't live without a command line, because that's what I'm used to. I remembered having used Cygwin years ago, back in the Win95 days, and so I tried to give it ago.
No dice -- it doesn't really integrate with the rest of the system very well, I find. Maybe I'm just not doing it right, but whatever. Then I gave up and grabbed SFU off of Microsoft's website. It was OK, but not really stellar. It's more for running batch jobs and giving something to code against than for interactive use, same as Cygwin I guess.
Eventually I got so pissed sick of it all that I just bought a MacBook Pro so that I could have a Unix-ish environment without having to worry about power management or weird wifi issues that I'd had with Fedora, CentOS, Ubuntu, Slackware, ZenWalk, Mint, FreeBSD, OpenBSD and PC-BSD on the Toshiba hardware.
So, I guess my question is -- is Cygwin meant for interactive use, or just to give the POSIX API and build environment so you can see whether or not your code will compile against a Unix machine? Because it seems like they've been putting an awful lot of effort into this for a very long time for it to suck so bad if its meant to be an interactive method of accessing a Windows machine by Unix commands.
It used to be if I wanted to run some Linux code under Windows I'd have to have a Linux box nearby, boot into Linux, or deal with Cygwin. I've never really enjoyed using Cygwin it's a pain to use, maintain, work with, and code for. There are lots of subtle differences in how your code behaves when you go from Linux to Cygwin (for example, re-writing someone's entire program because they liked to use lots of mallocs and Cygwin mallocs are unbelievably slow).
At this point though you can either run VMware, get a full Linux distro, and have easier access to your local Windows files (via a local share) than Cygwin's fun mapping scheme (/cygdrive what now?). Or you can even run an EC2 instance. Cygwin was never painless enough to make it worth while to use, if I needed to do something in Linux I'd rather use a real Linux box.
I don't think most people really miss the command line utilities enough to want to go through the hassle of using Cygwin (I hate the install process btw)... but then again I don't like using Linux as my desktop. I'd rather just use Windows or OS X and ssh into my Linux clusters as needed.
The people who run Slashdot are not religious.
The largest prime factor of my UID is 263267.
+1 orc
And I have mod point I could have applied.
-- I have a private email server in my basement.
It works well using WINE.
upon the advice of my lawyer, i have no sig at this time
What are you nerds doing still working??
Isn't there some kind of /. Santa tracker or something??
Oh wait a minute. Slashdot is run by Jews. That explains everything.
Marduk has them all on a short leash.
I know it sounds stupid but I hate the Cygwin icon, it looks like a Windows 3.1 app.
Yay me! ^^
Damn theres a lotta haters here. :-(
Cygwin is nowhere near as huge as those 'alternatives' you are giving and its great for windozers to learn about linux.
And anyway, andlinux sucks because it doesn't let you smash the stack
This does not take into account his advanced distribution network, planetary time dilation field generator, and bag of infinite holding.
With those tools in place, every present can be delivered in what would appear to be a fraction of a second to us. He doesn't do it all by himself. The "Santa Claus" image is actually a generalization of the appearance of an advanced species. They handle the delivery, assigned sectors based on population of "good" children. They stopped the "bad" children delivery of coal decades ago to optimize the delivery patterns.
The reindeer are a common question posed. They are not in fact reindeer. They the antigravity and propulsion systems, simply shaped to look like reindeer and a sleigh.
Did I mention that the entities known as "Santa Claus" is also not of this world, but brings happiness and joy to the juvenile population of the planet. It is, of course, a conspiracy where the children are being educated to be "good" obedient servants for when the harvesting time comes. When that happens, they will take the "good" children between the ages of 8 to 18, and put them to work on the alien masters ships.
I for one welcome our alien Santa Claus overlords. More over, I hereby request a ride off this rock.
Serious? Seriousness is well above my pay grade.
What are you trolls doing still working??
Isn't there some kind of troll Christmas party or something??
Oh wait a minute. Trolls are Jews. That explains everything.
Erm, it's the other way round. Cygwin provides a fairly complete GNU environment, whereas MinGW stands for "Minimalist GNU for Windows" and primarily provides gcc for plain Windows without attempting full POSIX compatibility. Hence Unix programs can usually be compiled with little change on Cygwin, whereas with MinGW a substantial porting effort is often required.
MinGW actually ships with Cygwin. There's also MSYS, which is a fork of Cygwin 1.3.
so his work load will be smaller and more manageable, and there are rumours that he's been cloned
"The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
What do you mean small subset, you can compile and install KDE and x.org on Cygwin. Pointless I agree, but most common place unix commandline stuff compiles and works on cygwin. I used to depend on cygwin to make life a bit more tolerable when I was still depending on windows laptops for development. There's something called puttycyg which is a fork of putty with some cygwin stuff compiled in that really improves the terminal experience (bash in a dos window kind of sucks).
I never noticed any performance issues. But then I don't do much performance critical work on the commandline. A few simple greps, ls and wc commands and the odd bash script to automate some stuff.
Jilles
Reindeer is redundant. The root rein is Scandinavian for 'reindeer', so reindeer translates to 'reindeer deer'.
rewriting history since 2109
"Even after all these years, Microsoft has nothing equivalent to the UNIX command line. The standard cmd.exe is too limited, and Powershell isn't a good interactive shell, it's more like typing at a Python or Ruby interpreter."
Well as Lisp has taught us, sometimes that's all you need.
I'm pretty sure the main purpose is for porting Unix applications to MS Windows, and/or for maintaining a common build environment for the two platforms. At least that is what I use it for. I actually compile with MinGW as the application itself have very few OS dependencies, Cygwin "just" provides the pure build environment.
I also used to use Cygwin/X11 to provide a Unix like interactive programming environment, but as the MS version of GNU Emacs is quite good these days, and GNU Emacs itself provide most of the common environment I need, I don't bother with that anymore.
Because of NT's POSIX subsystem (later exposed as Services for Unix or Services for Unix Applications), the NT kernel natively supports a fork() type operation.. My recollection is that Cygwin totally ignores this and does its own non-copy-on-write version of fork(), presumably because it was written in the days when Win95 and Win98 were common. Anyone know if they've corrected this?
Haha. Kinda reminds me of Table Mesa Dr. in Boulder, CO. (mesa means table). Table Table. Mesa mesa.
Something that annoyed me about cygwin in the past was that if one version is running and you then run something that loads a different cygwin library version, it all stops working... I have to reboot to get anything cygwin to work again.
since when does WINE run under cygwin?
It works both ways, although buggy and not fully functional.
And as reported by parent poster, this two redundant monsters are used as test cases to assist developers in perfecting both software stacks (by investigating said bugs and lack of functionality)
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Another im not sure you considered is running Cygwins X server and running xterm or some other X11 terminal emulator on windows. works well.
Now they'll let me put it on our production 2008 boxes. No more RDP to do every little thing!
The Windows command interpreter sucks as a terminal program. What's a good alternative for use with Cygwin? I'd prefer Unicode support, so I don't see question marks on all non-ascii filenames.
"Consider the task of converting a few thousand files from one format to another. The average Windows user will spend hours doing it by hand or spend a lot of money on a special purpose tool to do such conversions. If they're really smart, they may spend a lot of time and cobble something together in VisualBasic. That's the Windows way: slow, cumbersome, and expensive."
You mean there's a UNIX utility you can launch fom the command line that will convert a file from any arbitrary format to another arbitrary format without having to obtain a special purpose tool? What do they call it?
I am surprised that there are so many Cygwin haters out here. I install it on every Windows machine I own. Life would be very difficult without it. I did find the Windows command console that Cygwin uses, very limiting. Cut-n-paste is extremely painful. However I discovered puttycyg http://code.google.com/p/puttycyg/ that provides the putty interface for Cygwin. And now I don't have much to complain about.
For those talking about Services For Unix, does SFU provide all the tools (latest version of Subversion client/server, SSH client/server etc) that Cygwin provides? I don't think so.
Is SFU under continuous development, like Cygwin? I don't think so.
Cygwin is an excellent piece of software, specially when used with puttycyg.
Except it was called 4DOS back in the 90s, and NDOS back in the 80s. It's a command-line that has seen over 20 yrs of development. It may be no bash, but in conjunction with cygwin, I can do a great deal of things that unix people can do on my windows machine. Which is my main reason for sticking with windows -- don't want to re-write my 1000+ scripts.
-Clio
Karma: Bad (mostly from not giving a fuck)
Blog: http://clintjcl.wordpress.com
I have many scripts that pipe from clip: ... Like my linkifier that automatically links terms I want linked. Suck my comment into clipboard, run linkifier, paste back out with links. 4NT > CMD.
-Clio
Karma: Bad (mostly from not giving a fuck)
Blog: http://clintjcl.wordpress.com
In your case, the other 5% would be adding an apostrophe, a comma, and a well timed tap on the shift key, and would have cost you another 300ms (apologies for that remark if you lost both pinkies in a wheat-field bailer accident).
In their case, as we all know, "the first ninety percent of the task takes ninety percent of the time, and the last ten percent takes the other ninety percent", so they're well into exponential innings already.
And finally, a tip of the hat to Corinna Vinschen, who answered my emails about problems with services under Cygwin as far back 2000. That's a long run shepherding the near-sighted stepchild into some semblance of functional adulthood.
I know many younger Linux people whose devotion to a software download rarely exceeds ten minutes if the first spin doesn't immediately express preconceived gratification mojo.
The source for 4DOS is available; it should be fairly easy to port it to Linux.
http://www.4dos.info/sources.htm