Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3CE2BA2D.7080605@ece.gatech.edu> Date: Wed, 15 May 2002 15:42:37 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: egor duda CC: Shankar Unni Subject: CVS: binmode/textmode issues [Was: Re: Changes in latest snapshot] References: <20020512044943 DOT GA5997 AT redhat DOT com> <3CE28FA4 DOT 6080402 AT earthlink DOT net> <3CE2A07E DOT 6040101 AT ece DOT gatech DOT edu> <10432987112 DOT 20020515221208 AT logos-m DOT ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit egor duda wrote: > CW> Then, you switch to binmode, and do another cvslogin, resulting in this: > > CW> :pserver:anoncvs AT anoncvs DOT cygnus DOT com:/cvs/src Ay=0=h CW> :pserver:anoncvs AT subversions DOT gnu DOT org:/cvs A \r\n > CW> :pserver:anoncvs AT sources DOT redhat DOT com:/cvs/src Ay=0=h > CW> The next time the .cvspass file is read in, cvs is confused by the > CW> presence of the \r's in the first two lines. (Which it never saw > CW> before, thanks to textmode). > > CW> Use switch back to binmode, use dos2unix on .cvspass (and .cvsrc for > CW> that matter), and try again... > > Doesn't it seem to you that we should rather patch cvs to open > .cvspass in textmode? If that is indeed the problem. I'm not sure that it is. Everytime a textmode/binmode issue like this comes up with cvs, I make a suggestion for people to try -- hoping that they will do so, report back, and their experience will confirm or deny that 'X' is the problem. Instead, I always get "suggestions" like yours -- no offense, Egor -- instead of people actually TRYING what I recommend. I'm not going to go hacking around inside cvs until I KNOW what and where the problem REALLY is -- not where we think it MIGHT be. CVS works for me; I use it daily for my dissertation. I don't want to (possibly) break it in an attempt to fix an (unconfirmed) problem -- for very important personal reasons (if I scrog my dissertation trying to fix someone else's unconfirmed binmode problem, then I'm going after them with an axe... Okay, maybe I'll just restore from my daily backup. But you get the idea.) > IIRC, \r is not a valid symbol for encrypted > passwords, so it can be safely skipped. > > i use "binmode everywhere" myself, but i suppose we'll have yet > another binmode/textmode hell here after changing the default. One Of These Days, I plan to do the following: a) transition my cvs build to script-based packaging b) update my existing patches to the recent 1.11.2 release (2002-04-17) -- with NO other changes c) let that simmer for a month or two as a 'test release' d) THEN attempt to fix various binmode/textmode "problems" people keep reporting -- but never confirming... --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/