I can never find an easy way to do this on the rare occasions that I need to do this.
maybe I can rediscover the different ways and keep track of them here.

http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&source=hp&q=mac+dos+2+unix&btnG=Google+Search
mac dos 2 unix - Google Search
http://www.macosxhints.com/article.php?story=20031018164326986
Convert end-of-line characters (revisited) - Mac OS X Hints
https://ccrma.stanford.edu/~craig/utility/flip/
ASCII text converstion between UNIX, Macintosh, MS-DOS


http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=opengl+vertical+retrace&btnG=Google+Search
opengl vertical retrace - Google Search
http://www.inb.uni-luebeck.de/~boehme/xvideo_sync.html
Synchronizing Xvideo to the vertical retrace
http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=opengl+vertical+refresh&btnG=Google+Search
opengl vertical refresh - Google Search
http://developer.apple.com/qa/qa2007/qa1521.html
Technical Q&A QA1521: Synchronizing OpenGL rendering updates to the vertical refresh of the display
http://www.lighthouse3d.com/opengl/glut/index.php?gameglut
OpenGL @ Lighthouse 3D - GLUT Tutorial
http://www.google.com/search?q=opengl+vblank&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
opengl vblank - Google Search
http://www.nvnews.net/vbulletin/showthread.php?t=95836
OpenGL sync to vblank and interlaced fields - nV News Forums
http://www.google.com/search?q=Temporal+Rate+Conversion+by+Dave+Marsh&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
Temporal Rate Conversion by Dave Marsh - Google Search
http://www.microsoft.com/whdc/archive/TempRate.mspx
Temporal Rate Conversion: Dave Marsh. Microsoft Technical Evangelist, TV and Video
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=wve&q=pyglet+swap+interval&btnG=Search
pyglet swap interval - Google Search
http://pyglet.googlecode.com/svn/trunk/doc/programming_guide/time.txt
http://pyglet.googlecode.com/svn/trunk/doc/programming_guide/time.txt
http://www.google.com/search?q=pyglet+set_vsync&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
pyglet set_vsync - Google Search
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=h1z&q=opengl+agl&btnG=Search
opengl agl - Google Search
http://developer.apple.com/DOCUMENTATION/GraphicsImaging/Reference/AGL_OpenGL/Reference/reference.html
AGL Reference
http://developer.apple.com/DOCUMENTATION/GraphicsImaging/Reference/AGL_OpenGL/Reference/reference.html#//apple_ref/c/func/aglSetInteger
AGL Reference