Re: [Samba] Dos To Unix?

2003-01-14 Thread Marian Mlcoch, Ing
Use ftp for this!!!

- Original Message -
From: "Brendan Flanagan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 4:05 PM
Subject: [Samba] Dos To Unix?


>
> If we drag a file from a Windows directory - say autoexec.bat and drop it
> onto a samba mapped Unix drive, when we then go to the Unix box and vi the
> file all the lines end in the DOS EOL character (^M) is there any
> option/configuration in samba to make it convert DOS text files to UNIX
> format?
>
> Brendan Flanagan
> Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ
> Phone: 01772 625715
> Email: [EMAIL PROTECTED]
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Dos To Unix?

2003-01-13 Thread Robert Adkins
Brendan,

Download and utilize the latest version of VIM. (Vi Improved)

I was concerned with that issue myself, as there are a number of logon   
BAT files and such that I either, didn't wish to move back and forth all   
the time to edit, or attempt to continually remember to use the DOS2UNIX   
and UNIX2DOS command that ships with most releases of Linux. (I say move   
back and forth because I am not sharing the netlogon directory.)

Anyway, one day, I just opened up a DOS Bat file with VIM and   
lo-and-behold, the file looked fine. I edited it and then saved it off   
and then opened it up in Windows.

It still looked fine.

Give a go, hopefully it will work fine for you.

Of course, it could also be something added to the Linux distro that I   
am using. I am running Red Hat 7.2, in case you were wondering.

I am certain that you should be able to locate the source code for VIM   
to then compile on whatever UNIX platform that you are using.

Good luck!

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
Ph. 586-254-5800
Fx. 586-254-5804


 -Original Message-
From: Brendan Flanagan [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 4:06 PM
To: [EMAIL PROTECTED]; Robert Adkins
Subject: [Samba] Dos To Unix?

   


If we drag a file from a Windows directory - say autoexec.bat and drop it
onto a samba mapped Unix drive, when we then go to the Unix box and vi   
the
file all the lines end in the DOS EOL character (^M) is there any
option/configuration in samba to make it convert DOS text files to UNIX
format?

Brendan Flanagan
Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ
Phone: 01772 625715
Email: [EMAIL PROTECTED]

 --
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Dos To Unix?

2003-01-13 Thread Waider
According to Joel Hammer:
> 
> No, as far as I know.
> Joel

Actually, it's probably possible with some futzing with the magic script
paramter, but it'd be pretty specific. 

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Chances are I'm not at home right now.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Dos To Unix?

2003-01-13 Thread Joel Hammer

No, as far as I know.
Joel


On Mon, Jan 13, 2003 at 04:05:55PM +0100, Brendan Flanagan wrote:
> 
> If we drag a file from a Windows directory - say autoexec.bat and drop it
> onto a samba mapped Unix drive, when we then go to the Unix box and vi the
> file all the lines end in the DOS EOL character (^M) is there any
> option/configuration in samba to make it convert DOS text files to UNIX
> format?
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Dos To Unix?

2003-01-13 Thread Harry Rüter
Hi,

> 
> If we drag a file from a Windows directory - say autoexec.bat and drop it
> onto a samba mapped Unix drive, when we then go to the Unix box and vi the
> file all the lines end in the DOS EOL character (^M)

Yes, and that's okay, because DOS/Windows needs it this way.
If you convert it to UNIX-style it won't work under DOS/Windows anymore
and you would have to convert it back DOS/Windows-style 

> Is there any option/configuration in samba to make 
> it convert DOS text files to UNIX format?

Don't know, but i'd bet there's none because Samba shall 
IN NO WAY way convert/interpret a file ...
 
I think your problem is not a real samba-problem,
it's (i think) a problem of editing files in two worlds ...
 
> Brendan Flanagan
> Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ
> Phone: 01772 625715
> Email: [EMAIL PROTECTED]

Greets Harry

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Dos To Unix?

2003-01-13 Thread Brendan Flanagan

If we drag a file from a Windows directory - say autoexec.bat and drop it
onto a samba mapped Unix drive, when we then go to the Unix box and vi the
file all the lines end in the DOS EOL character (^M) is there any
option/configuration in samba to make it convert DOS text files to UNIX
format?

Brendan Flanagan
Leyland Trucks Ltd, Croston Road, Leyland, PR26 6LZ
Phone: 01772 625715
Email: [EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba