Subject: Re: CR/LF question
From: wesley.craig@umich.edu
Date: Wed Sep 20 2000 - 01:20:10 EDT
> From: Peter DiCamillo <Peter_DiCamillo@brown.edu>
> To: netatalk-admins@umich.edu
> I'm not proposing any solution that involves guessing. The problem
> we're encountering is that the Finder and some other programs, such
> as StuffIt, create a file with some other type, write data to the
> file, then change the type to TEXT when done. That results in the
> data not being translated when written, but then being translated
> when read (since the type has become TEXT). The solution I'm
> proposing is to never translate such files. The code would keep
> track of whether the original type of the file at it's creation was
> TEXT, and subsequently use that information instead of the current
> type when deciding whether or not to translate.
To be a more perfect mac-only file repository, CR/LF translation should
be disabled. If you want to successfully share files between macs and
unix machines, CR/LF has certain benefits. It is some what less
necessary these days, at least for users familiar with editors like
BBEdit. Unsophisticated users may still benefit from CR/LF
translation, tho the possibility of confusion may make it undesirable.
This is a frequently asked question...
:wes
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:11 EST