From: Tuomo L. <dj...@ik...> - 2008-01-15 20:11:59
|
Gilbert, Todd (MPAU) wrote: > I recently converted to MINGW32 (from cygwin), and have two issues that > weren't present when using cygwin: 1) lpr command does not work. I'm > able to ping the printer, and get a response; and 2) files created in http://www.mingw.org/mingwfaq.shtml#faq-what http://www.mingw.org/mingwfaq.shtml#faq-msys Maybe you're expecting something other than the lpr included with Windows. (I didn't even know there was lpr in Windows!) In any case that is not really MinGW or MSYS issue but likely an incompatibility problem with Microsoft's implementation and your server. Same command-line in cmd probably fails the same way. > windows environment possess carriage return characters at the end of > each line (^M), when viewed in MINGW32/msys using vi. I know how to > overcome this using "dos2unix" conversion command, and "%s/^V^M//g"; but > want to know how to avoid having to do this. Is there some > configuration file that needs to be modified, or something else? 1) Use vim instead (or actually set nocompatible) 2) set fileformat=dos (and maybe eg. set fileformats=unix,dos,mac) -- Tuomo ... >>> Whomever set up the servers... >> Incorrect usage of "whomever", it should be "whoever". :) >> "The person" is the subject of the sentence, whereas >> "the servers" is the object. >> If you're gonna go out of your way to use "whom", >> at least get it right :) >> (Yes, I'm a grammar nazi.) > Quick way to pick the right word: change > Whomever set up the servers... > to > Him set up the servers... > and see if it makes sense. Yep that's what I did. Did him set up the servers? Of course him did! :D -- on http://thedailywtf.com/Comments/Bunker_Buster.aspx?pg=3 |