[Samba] escape character
Kevin T
nevikintx at yahoo.com
Mon Jan 8 16:33:09 GMT 2007
in vi
:%s/^v^M//
ctrl v escapes the ctrl m
--- Volker Lendecke <Volker.Lendecke at SerNet.DE> wrote:
> 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
> --
> To unsubscribe from this list go to the following
> URL and read the
> instructions:
> https://lists.samba.org/mailman/listinfo/samba
>
to reply s/nowhere/nevikintx/
kevin t
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the samba
mailing list