Re: [Samba] R: RE: R: Re: Dos/Unix newline translating

2011-11-10 Thread John Doe
From: Riccardo Castellani ric.castell...@alice.it

 on Debian I'm using  VIM 7.2.445
 on RedHat I'm using VIM 6.3.82
  
Google found:
  http://vim.wikia.com/wiki/File_format
Maybe that will solve your problem...

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


Re: [Samba] R: RE: R: Re: Dos/Unix newline translating

2011-11-09 Thread Mat Enders
This ia a vimrc issue not a samba issue. Google will be your friend. 
Mat Enders from my BlackBerry®

-Original Message-
From: Riccardo Castellani ric.castell...@alice.it
Sender: samba-boun...@lists.samba.org
Date: Wed, 9 Nov 2011 12:43:23 
To: robert.gra...@cedrat.com; jd...@yahoo.com; samba@lists.samba.org
Reply-To: ric.castell...@alice.it
Subject: [Samba] R: RE:  R: Re:  Dos/Unix newline translating

on Debian I'm using  VIM 7.2.445
on RedHat I'm using VIM 6.3.82

I verified in both systems with this command : vi -v




Messaggio originale
Da: robert.gra...@cedrat.com
Data: 9-nov-2011 12.04
A: ric.castell...@alice.it, jd...@yahoo.com, samba@lists.samba.org
Ogg: RE: [Samba] R: Re:  Dos/Unix newline translating

on Debian it is possible that you are using the orginal VI. On RedHat you must 
be using ViM (VI Improved). Do you have vim on Debian
?

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com  

 -Message d'origine-
 De : samba-boun...@lists.samba.org 
 [mailto:samba-boun...@lists.samba.org] De la part de Riccardo 
 Castellani
 Envoyé : 9 novembre 2011 11:56
 À : jd...@yahoo.com; samba@lists.samba.org
 Objet : [Samba] R: Re: Dos/Unix newline translating
 
 But I have another server with RedHat and Samba 3.0.10 
 configured in the same way, but I can view correctly text 
 files which I move to RedHat server.
 
 
 
 
 Messaggio originale
 Da: jd...@yahoo.com
 Data: 9-nov-2011 11.42
 A: samba@lists.samba.orgsamba@lists.samba.org
 Ogg: Re: [Samba] Dos/Unix newline translating
 
 From: Riccardo Castellani ric.castell...@alice.it
  if I create a text file in my Windows XP client and I copy it to 
  /temporary folder, then I open it by VI editor into my 
 Debian server and 
  I see '^M' at the end of every row.
  How can I solve problem ? Problem references to Dos/Unix newline 
  translating  ?
 
 Windows uses '\r\n' and Unix uses '\n'...
 Either configure your Windows text editor to use \n, 
 or use dos2unix or use sed, etc...
 A simple google search would have pointed to you to something like:
 http://www.cyberciti.biz/faq/howto-unix-linux-convert-dos-newl
 ines-cr-lf-unix-text-format/
 
 JD
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba
 




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