Mail Archives: djgpp/1999/07/30/11:46:05
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.
- Raw text -