[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to keep unix eoln in repository

From: Joi Ellis
Subject: Re: How to keep unix eoln in repository
Date: Tue, 14 May 2002 06:56:26 -0500 (CDT)

On Tue, 14 May 2002, juhas wrote:

> Hi,
> is there any simple way how to keep unix ends of lines (eolns) in
> the repository?
> Despite the fact that our compile & link platform is UNIX, some
> of our developers edit source files on windows. And they always
> forget to change win eolns to unix eolns...
> Is it possible to set/write a trigger which would convert eolns
> in text files during cvs checkin?
> If not, is there another chance?

While I believe it's possible to use a samba server configured to auto-convert
from windows eolns to unix eolns when files are written, I believe all of
our developers users programmer editors which are smart enough to recognize
unix eolns and deal with them automatically.  I'm pretty sure MS Developer
Studio is one such, and our users have both a unix shell window open (for
cvs commands and launching builds) and a DS window accessing the same source
files via a samba mount.  (Our samba doesn't enable the auto-eoln setting.)

JBuilder is another such editor, if you're doing java.  
Joi Ellis                    Software Engineer
Aravox Technologies          address@hidden, address@hidden

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]