On Wed, 27 Oct 2010 08:56:00 +0200 Bo Berglund <[email protected]> wrote:
> On Wed, 27 Oct 2010 07:37:40 +0200, Sven Barth > <[email protected]> wrote: > > >On 26.10.2010 17:59, Bo Berglund wrote: > >> BTW: Is there a way to get the Indy10 files in Linux format? > >> There are different line endings in Linux than what is in the Fulgan > >> zip file which is Windows line endings, I believe). I assume that you > >> have to have Linux line endings in order to make it work with Lazarus > >> on Ubuntu? > > > >Lazarus can work with both line endings on all platforms (as well as the > >compiler by the way). The only thing you can't is mixing the line > >endings in one file as Lazarus will use the line ending of the first > >line (but the compiler will accept those files ^^). > > Very good! > I have had bad experience earlier with files on Linux/Solaris being > edited via samba shares from windows and then the functions controlled > by these files stopped working because of the Windows line endings.... > So now I can proceed to unpack the zip file from Windows via the samba > share to Ubuntu and then inside Ubuntu use these transparently, right? yes > Or maybe better yet: I import the Indy files into my CVS server on > Windows and then I check them back out in Ubuntu, thus making CVS fix > the line endings.... yes, even better > Will the Lazarus source editor keep the file line endings if I edit a > file in Ubuntu that was originally moved there from Windows and thus > has the CRLF line endings? > So that if I add new lines they will retains the original line endings > when I save? As far as I remember this was implemented in 0.9.29, so you need a 0.9.29. Keep in mind that a samba share is a case insensitive file system, while the compiler and the IDE under Linux work case sensitive. Maybe you want to rename all files lowercase. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
