From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fort-point-station.mit.edu ([18.72.0.53]) by speech.braille.uwo.ca with esmtp (Exim 3.32 #1 (Debian)) id 15z0bU-0005N7-00 for ; Wed, 31 Oct 2001 14:00:44 -0500 Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.21.75]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id OAA08600 for ; Wed, 31 Oct 2001 14:00:38 -0500 (EST) Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id OAA28729 for ; Wed, 31 Oct 2001 14:00:28 -0500 (EST) Received: from vantaa ([18.81.1.76]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with SMTP id NAA22827 for ; Wed, 31 Oct 2001 13:55:54 -0500 (EST) Message-ID: <006301c1623e$44a01200$4c015112@vantaa> From: "Rich Caloggero" To: Subject: Samba - windows and unix end-of-line conventions Date: Wed, 31 Oct 2001 14:00:06 -0500 Organization: MIT ATIC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: speakup@braille.uwo.ca X-Reply-To: "Rich Caloggero" List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: I've finally got Samba working. What I originally invissioned using it for is to be able to administer a linux server remotely from a windows machine. I like windows for its file browsing and easy text editing (cursors are tracked and movement commands are easy and intuitive). I have bad hands so typing filenames gets tedious, so running linux from the shell gets hard on the hands. Emacspeak is ok, but I use windows for e-mail and music stuff, so it just seems natural to use it for my user interface stuff, and linux as my server machine. Now for the question: the unix newline convention is to terminate lines with just a line feed character (ascii 10). WIndows insists on seeing the pair of characters ascii 13, followed by ascii 10. Is there a way to have Samba do some sort of translation when a file is opened from the windows side, perhaps based on the file extension, which would turn any unix end of line sequences into windows sequences, and vice versa when the file was written back to the Linux end? Seems like something someone has implemented, but where to find it... Seems like something one could do with a shell script, but how to get Samba to call it... Rich