On 22-Feb-01 Don Simons wrote:
> I can imagine that this behavior would irritate people who only work in
> Linux, but I can't really recall anyone complaining in the past, and I
> really don't relish changing PMX to try to compensate for it.  Any
> thoughts, discussion, suggestions?


On the Linux end I would suggest:

recode ibmpc..latin1 file.pmx

This will take care of the line endings (among others which shouldn't be
there anyway  like language specific characters).

During ftp in ascii mode the line endings are sometimes (though not alway --
depends on the ftp clients) this conversion is done automatically. unzip
doesn't seem to be able to do it, but recode (or dos2unix) will help.

Hold on:

UnZip 5.40 of 28 November 1998, by Info-ZIP 

from man unzip:

MODIFIERS
       -a     convert  text  files.   Ordinarily  all  files  are
              extracted exactly as they are stored (as ``binary''
              files).   The  -a option causes files identified by
              zip as text files (those with the `t' label in zip-
              info listings, rather than `b') to be automatically
              extracted as such, converting line endings, end-of-
              file  characters  and  the  character set itself as
              necessary.  (For example, Unix files use line feeds




So it should be possible with unzip and -a as well.


K.-H.


------------------------------------------------------------------------
E-Mail: Karl-Heinz Herrmann <[EMAIL PROTECTED]> 
http://www.fz-juelich.de/icg/icg7/FestFluGre/transport/khh/general.html
Sent: 22-Feb-01, 22:13:52
------------------------------------------------------------------------

Reply via email to