RE: [rtl] A little of the subject -- But I need help

2001-03-27 Thread Dresner, Norman A.

I just tried it.  That's correct, at least for 2.91.66 and I believe all
"earlier" versions too.

IIRC, '\r' is defined as "white-space" and should be equivalent to a space.

Norm

 -Original Message-
 From: Ken Teh [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, March 26, 2001 10:15 PM
 To:   Thomas Frasher
 Cc:   [EMAIL PROTECTED]
 Subject:  Re: [rtl] A little of the subject -- But I need help
 
 I may be wrong, but I believe the GNU compiler ignores \r in the source
 code.  The only place I've ever seen compilation fail because of \r is if
 the Makefile itself has \r in it.
 
 
 
 On Mon, 26 Mar 2001, Thomas Frasher wrote:
 
  This is a little off the subject of this list, but please bear with me.
 
  We have just begun (only about 6 months ago) controlling our source code
  with CVS.   I'm having a problem, several of our software engineers use
  windows editor (a personal preference thing). There are countless ^M's
 in
  the files after they edit them.  I remove those ^M's  and commit them to
 the
  repository, when I check them out again, the ^M's are still there.
 
  My boss is paranoid that these updates to the repository and possibly
 some
  of our other changes are not getting commited to the repository. So his
  level of confidence in the tool is degrading, even though he knows that
  thousands of people are using and that it really does work, it's an
  emotional issue around.
 
   Anybody got a glimmer of what is happening?  How to Correct and how to
  avoid (beyond the obvious of bagging windows and dumping it in the
 river)?
 
  I have a workaround but it's drastic and I'd rather not blow away the
  repository ad recreate it if I don't have to.
 
  Thanks in advance,
 
  Thomas
 
  -- [rtl] ---
  To unsubscribe:
  echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
  echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
  --
  For more information on Real-Time Linux see:
  http://www.rtlinux.org/rtlinux/
 
 
 -- [rtl] ---
 To unsubscribe:
 echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
 echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
 --
 For more information on Real-Time Linux see:
 http://www.rtlinux.org/rtlinux/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] A little of the subject -- But I need help

2001-03-27 Thread Patrick Maheral

Hi Thomas,

Heres what I found about CVS and CR/LF in Win/DOS in the
"How to store binary files" node of the cvs info file:

There are two issues with using CVS to store binary files. The first is
that CVS by default convert line endings between the canonical form in
which they are stored in the repository (linefeed only), and the form
appropriate to the operating system in use on the client (for example,
carriage return followed by line feed for Windows NT).

It looks like CVS on the Win/DOS machine adds those ^M's as it receives the
files, and strips them before committing.  So, as long as you don't transfer
files directly between the the Win/Dos machines and unix machines (ie. ftp,
mail, copy, etc.), you should be OK.

I have been using CVS on a linux box for some time, and just recently added
some windows users.  We haven't had any problems with ^M's.  I just made
sure that the original files in the repository didn't have them to begin
with.

I hope that info is correct for your version of CVS.

Patrick

On Mon, Mar 26, 2001 at 11:29:06AM -0800, Thomas Frasher wrote:
...
 We have just begun (only about 6 months ago) controlling our source code
 with CVS.   I'm having a problem, several of our software engineers use
 windows editor (a personal preference thing). There are countless ^M's in
 the files after they edit them.  I remove those ^M's  and commit them to the
 repository, when I check them out again, the ^M's are still there.
... 
  Anybody got a glimmer of what is happening?  How to Correct and how to
 avoid (beyond the obvious of bagging windows and dumping it in the river)?
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] A little of the subject -- But I need help

2001-03-26 Thread Edgar Hilton

If I remember correctly, in the newer WinCVS versions, there is an
option:

Admin-preferences 

tab which gives you the option of checking out ASCII files with the Unix
LF.  Check the box.  I believe that there is a more complete answer to
this at http://www.cvshome.org.

I hope that this helps.  If it doesn't, consider sending follow up
emails to the cvs mailing lists also listed in the website above.

-Edgar
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] A little of the subject -- But I need help

2001-03-26 Thread Ken Teh

I may be wrong, but I believe the GNU compiler ignores \r in the source
code.  The only place I've ever seen compilation fail because of \r is if
the Makefile itself has \r in it.



On Mon, 26 Mar 2001, Thomas Frasher wrote:

 This is a little off the subject of this list, but please bear with me.

 We have just begun (only about 6 months ago) controlling our source code
 with CVS.   I'm having a problem, several of our software engineers use
 windows editor (a personal preference thing). There are countless ^M's in
 the files after they edit them.  I remove those ^M's  and commit them to the
 repository, when I check them out again, the ^M's are still there.

 My boss is paranoid that these updates to the repository and possibly some
 of our other changes are not getting commited to the repository. So his
 level of confidence in the tool is degrading, even though he knows that
 thousands of people are using and that it really does work, it's an
 emotional issue around.

  Anybody got a glimmer of what is happening?  How to Correct and how to
 avoid (beyond the obvious of bagging windows and dumping it in the river)?

 I have a workaround but it's drastic and I'd rather not blow away the
 repository ad recreate it if I don't have to.

 Thanks in advance,

 Thomas

 -- [rtl] ---
 To unsubscribe:
 echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
 echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
 --
 For more information on Real-Time Linux see:
 http://www.rtlinux.org/rtlinux/


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl Your_email" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/