delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/15/15:42:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cwilson AT ece DOT gatech DOT edu>
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 <cygwin AT cygwin DOT com>
CC: Shankar Unni <shankarunni AT earthlink DOT net>
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>

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<Z \r\n
> 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<Z \n   <<<< no \r
> 
> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019