Date: Fri, 30 Jul 1999 09:22:19 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Jeff Williams cc: djgpp AT delorie DOT com Subject: Re: about dtou and utod In-Reply-To: <199907291640.LAA07707@darwin.sfbr.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 29 Jul 1999, Jeff Williams wrote: > [4] The main reason any of this matters to me is because I move lots of > files back and forth from work (Solaris 2.7) to home (djgpp). A piece of information (which may or may not be taken as a plug): as of versions 20.x, Emacs, both on DOS/Windows and on Unix, detects the end-of-line (EOL) format of an existing file and preserves the EOL format when you save the file. When Emacs creates a new file, it uses the native EOL format (CRFL, if you do that on DOS), but you can force Emacs to use Unix-style EOL on DOSish systems, if you want to get rid of the conversions on the Unix side. > I was > working on the idea of hacking the source for `dtou' to use as a filter > with the `--use-compress-program=PROG' option of GNU tar. Then I could > make a tarball using djgpp that would untar on my Solaris box without > having then to apply `dos2unix' to the unpack files. Doesn't zip/unzip and djtar already have this option? Anyway, if you are thinking about Tar, I think it would be easier to add an option to Tar than to use filters.