Problems with carriage return on VMS

John E. Malmberg malmberg at Encompasserve.org
Wed Nov 7 20:54:54 GMT 2001


> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.samba.org/listinfo/samba-vms

> From: "Kelly Oliveira" <kellyo at dtslatin.company>
> 
> Hi,
> I have an application that check out the files from the AIX in
> the VMS directory (mapping by Samba), when I open the files on
> VMS environment I have carriage return that is not recognized by VMS.
<snip>
> Is there any parameter to set on smb.conf ?

No.

UNIX text files are delimited by line-feeds, and text files on
Microsoft platforms can be delimited in many different ways.

There is no practical way for SAMBA to tell if a file being
accessed or created is a text file that should be converted,
or a binary file that should not.

This is an issue that the no platform that SAMBA runs on gets right
100% of the time.

Unfortunately you did not let us know what version of SAMBA you are
using, or the Version of OpenVMS.

If you are running the SAMBA 2.0.6 release, the information on
how to get SAMBA to automagically attempt to set your files to
STREAM-CRLF is in samba_root:[docs]readme_vms_2_0_6_vms_0.txt.

[As documented this currently does not work well for large files from
 Microsoft clients.  It does not seem to have a problem with
 SAMBA to SAMBA transfers though.]

If this information can not help you, on OpenVMS, you may have
some luck with the SET FILE/attr=(rfm:stmcr) DCL command.

-John
wb8tyw at qsl.network
Personal Opinion Only
> 
> End of samba-vms Digest
> 





More information about the samba-vms mailing list