Lullabot Ideas
We know stuff. We empower you to know stuff too.
Install Cygwin on Windows XP
Video by Addison BerryOctober 8, 2007 - 8:11am
Windows XP doesn't come with native tools for working with some common development tasks such as creating and applying patches. In the *nix world the tools diff and patch are standard in a dev toolbox. Cygwin will give Windows users a Linux-like command line and the ability to install a number of common Linux tools. This video will show you how to install the Cygwin base as well as diff, patch and CVS, which is the version control system that drupal.org uses for all of the core and contributed code.
The advantage to using the command line tools is that many online references for these tasks, including the drupal.org handbook, tend to use this rather than GUI instructions because they can depend on the command line being the same across systems, while various GUI tools will have many different ways to accomplish the same thing. Command line may seem scary to those that haven't used it but it really is as easy as typing in some words and watching magic happen.

Comments
Thanks!
Thanks, this is great! I hate using 'doze but have to use it at the moment to check out browser compatibility stuff - this makes my life sooo much easier!
How do you stream the video podcast?
I have a question about how you are streaming the podcast? I noticed that it started playing before the entire file "downloaded". Would you mind telling me what Drupal module does this?
Thanks also for another great podcast.
Rich
Video module
We are using the video module.
other options in windows
I like Bitvise Tunnelier for my ssh and all secure tunneling needs and Beyond Compare from Scooter Software for remote file compare via ftp (can produce diffs for patches in Windows, but does a smashing job at file comparison).
quicktime file
I somehow killed my Quicktime plugin. Although I have reinstalled, Firefox and IE7 both crash when trying to view the clip. I would really like to view this clip. Is there any other way to get a copy of this clip? Or perhaps can someone there blast me a copy view email? I would be utterly grateful. :)
Thank you
Thanks
Thanks for a great vidcast. Love your new site design. Keep up the good work. What tools do you use to produce the vidcast?
Prince Edward Island
Canada
On a Mac
I'm on a Mac so I am using iShowU for video capture and then iMovie to edit. I always record just the video first, clean it up and then lay the audio down using iMovie. I do some tricky behind the scenes shuffling of source files to get the capture into iMovie without losing quality due to import compression. I'm planning to do a video about how I make videos soon.
Video on how to make Videos
Hi,
Great video!
When could we expect this video?
We have a requirement coming up shortly that needs knowledge and expertise of how to capture screens, edit the movie, superimpose audio, sync'ing the audio, etc.
Please do let us know...
TIA
Thanks a million!!!
Thanks for this great video. It made my installation of Cygwin a lot smoother than it would have been with out it.
But having said that, would you go over some of the common commands, and how to use them, or maybe a seperate videocast on .patch files?
I've been trying to patch my installation to fix the problem with TinyMCE with regards to GZip and have never been able to patch those files properly.
Maybe what exactly a .patch file contains, where it should be located and how to run the patch command from Cygwin.. :)
A run down of that would be AWESOME.!!
Keep up the great work..
Applying patch video
Hi Puraz,
I do have a basic video showing how to apply a patch on d.o in the videocasts section. It specifically shows applying a patch to core but the same basic steps would be used for a contributed module as well. Unlike core patches, most contributed patches are made from within the module's directory so you should place the patch file in the same directory as the rest of the module files.
I'll use an example of having the TinyMCE module installed in my sites/all/modules folder.
cd /my/path/to/drupalroot/sites/all/modules/tinymce-pis needed from here, as would be if doing a patch from Drupal's root folder.):patch < mypatchfile.patchThat should do the trick if the patch is good.
Thank you for replying back..
Wow, Thank you Addi for writing back. You guys are awesome, I wasn't expecting a response...thus my delay in writing back :)
I tried your suggestion, and it didn't work. I kept getting and error saying:
After that it waited for the prompt, and I have no idea what should go there.
I've looked inside the .patch file to try and see what it means, so that I can maunally patch the files, but I don't quite understand the 'language'.
Any other tips/trick I could try to get this to work?
I've tried 2 patches for TinyMCE, the compressor as well as the spellchecker, and for both I get the same error.
Thanks again.
Old patch
I was looking at the thread where that patch came from and it is from back in the spring and was added to the module in April. The latest version of TinyMCE (5.x-1.9) has the patch code already in it so I don't think you need to use this patch. If you are using an older version of TinyMCE you should update to the latest released version.
That said, to continue with the error that you got, it appears that the patch file and command was not run from inside the TinyMCE folder. You need to have the patch in the tinymce module folder like this:
tinymce (this is the module folder)
- plugins folder
- po folder
- INSTALL.txt
- LICENSE.txt
- plugin_reg.php
- README.TXT
- tinymce.info
- tinymce.install
- tinymce.module
- compressor_2.patch
And run the patch command from there. When I do that, it does try to apply the patch but as I said, it doesn't work and spits different errors since the code is already there and the patch is therefor useless.
Thanks really helped
Thanks so much, this really helped my with patching.
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
Thanks so much for making
Thanks so much for making life a little easier
xx
It's really well done
It's really well done presentation with clarity and preciseness. Thank you very much for this.
Problem in installing Cygwin
Hello everyone, I am using ftp proxy and I can not download cygwin. please help me
Problem in installing Cygwin
Hello everyone, I am using ftp proxy and I can not download cygwin. please help me
Thanks
Thank you very much for this video and the little "How-to patch" in the comments. I am no longer a patching virgin. Hooray!
Quit Time
I wish you would consider using some other format than QUIT time. I call it Quit Time because it is more pain than anything. The newest quit time version is not compatible with xp service pack 1. As this is a Drupal site, there must be a better way to provide this useful information. If we all had brand new computers or MACs then it would be a better world, but the cost is prohibitive. Ubuntu might play it as a work around. But this site is the almighty Lullabot, using Quit Time?
Appreciate all you do and will try to find a box that will actually play the file.