[Samba] escape character
Volker Lendecke
Volker.Lendecke at SerNet.DE
Mon Jan 8 10:16:32 GMT 2007
On Mon, Jan 08, 2007 at 10:43:55AM +0100, Birkmose Anders Joon-Soo wrote:
> I have samba 3.0.23d installed on a AIX (5.2) UNIX server and have
> mapped a network share on my PC'er.(Windows XP)
>
> My problem is when adding simple text files from my PC'er to the share
> and want to edit them in a 'vi' editor, there have been added a escape
> character (^M) in the end of each line in the file. Its properly a
> 'carriage return' or 'line feed' conversion problem.
>
> It's the same as when ftp transfer a file from Windows to the Unix in
> binary mode. When transferring files in Ascii mode there is no problem.
>
> The Unix server is running a ISO8859-1 charset.
>
> Can any tell me if there is a setting in SWAT I can set to prevent this
> escape character?
No, Samba does not do this. recode, unix2dos and so on are
utils to do this on the server side.
Volker
More information about the samba
mailing list