[Info-vax] RMS internals?
glen herrmannsfeldt
gah at ugcs.caltech.edu
Mon Aug 10 14:47:48 EDT 2009
In comp.os.vms Richard B. Gilbert <rgilbert88 at comcast.net> wrote:
(snip, someone wrote)
<> FTP imposes a standard CRLF pair at the end of each line of text,
<> when transfering as a text file. Of course, TCP doesn't need to
<> know about this.
< That's not quite true! FTP appends the LOCAL LINE TERMINATOR in text
< mode. Unix destinations get <LF>. DOS/Windows get <CR><LF>. I think
< there's something that uses <CR> by itself but I can't recall what it
< is; maybe Apple/Mac. VMS gets "counted strings".
That is for the receiving end. For the sending end, the local
line terminators are converted to CRLF.
If you transfer non-text files between unix systems in text mode,
any CRLF pairs in the original file will be converted to LF at
the receiving end. I believe that done right the receiving end
on a unix system does CRLF --> LF conversion, instead of just
removing CR, reducing the probability of damage, but not
eliminating it.
-- glen
More information about the Info-vax
mailing list