CTRL-M and CTRL-J characters in files

2004-03-24 Thread prolist
I uses Windows 2000 machine and use Jcreator LE for my Java code. When I am adding files to CVS using WinCVS client, somehow other memebers of team using Linux machines are getting ^M^J in their files. Why is it happening and moreover how can I get rid of this automatically while checking-in and ch

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Larry Jones
prolist writes: > > There is a settings in WinCVS preferences Global tab which has a checkbox > "Checkout text files with the Unix LF (0xa)" and I already have this > checkbox checked. > > What should I do to avoid this problem? Uncheck the checkbox. Use Unix line endings on Unix platforms, Win

RE: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Jim.Hyslop
prolist wrote: > I uses Windows 2000 machine and use Jcreator LE for my Java > code. When I am > adding files to CVS using WinCVS client, somehow other > memebers of team > using Linux machines are getting ^M^J in their files. Why is > it happening > and moreover how can I get rid of this automa

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread u . tropp
Hi, > I uses Windows 2000 machine and use Jcreator LE for my Java code. When I am > adding files to CVS using WinCVS client, somehow other memebers of team > using Linux machines are getting ^M^J in their files. Why is it happening > and moreover how can I get rid of this automatically while check

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Steve deRosier
The CVS client automatically handles the differences between Windows and UNIX line endings by converting the files when you do the checkout or update (or commit, or...). So, as unintuitive as it sounds, uncheck this option. Then you'll get the Windows line endings without those being imported int

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry Jones wrote: >prolist writes: > >>There is a settings in WinCVS preferences Global tab which has a checkbox >>"Checkout text files with the Unix LF (0xa)" and I already have this >>checkbox checked. >> >>What should I do to avoid this problem? >

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread prolist
MAIL PROTECTED]> Sent: Thursday, March 25, 2004 1:01 AM Subject: Re: CTRL-M and CTRL-J characters in files > The CVS client automatically handles the differences between Windows and UNIX line endings by converting the files when you do the checkout or update (or commit, or...). So, as unint

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Steve deRosier
t;[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 1:01 AM Subject: Re: CTRL-M and CTRL-J characters in files The CVS client automatically handles the differences between Windows and UNIX line endings by converting the files when you do the checkout or update (or c

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 prolist wrote: >But, isn't that option only about "checkouts", what about check-ins I >can't locate any poption specific to that. The WinCVS preferences aren't explicit enough in their labling, but the option is symmetrical. If you ask it not t

RE: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Jim.Hyslop
prolist wrote: > But, isn't that option only about "checkouts", what about > check-ins I > can't locate any poption specific to that. WinCVS probably (and properly) assumes that the option will apply in both directions. It really does *NOT* make sense to use one line ending on check-out, but a

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Frederic Brehm
At 02:31 PM 3/24/2004, Steve deRosier wrote: To cleanup your current problem, I'd sugest have your Linux guys check out the files, run them through dos2unix until the files are cleaned up, check them in, and then you need to do an update or checkout without that box checked. You might also want

Re: CTRL-M and CTRL-J characters in files

2004-03-24 Thread Larry Jones
prolist writes: > > But, isn't that option only about "checkouts", what about check-ins It affects both. -Larry Jones I think football is a sport the way ducks think hunting is a sport. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http: