Hello Ron,
Thursday, September 13, 2001, Ron Woodall <[EMAIL PROTECTED]> wrote:
>>If you use FTP to transfer file between windows and linux, switch your
>>ftp client to 'ascii' mode.
>>If not, tell your editor to save output file in unix format.
RW> I store the file directly to the Linux machine and tried setting
RW> the editor to save in unix format.
what do you mean - 'directly'? it's impossible. you should use samba
on linux or ftp - there is no other solutions, afaik.
RW> No resolution. I haven't tried FTP yet
RW> but that might be worth it when I get to the production end of the run. Any
RW> other solutions? I'm using NoteTab Light 4.85 (Freeware version) by Eric
RW> G.V. Fookes.
1. change your editor. i prefer me (www.multiedit.com), correctly handles
many problems, but, i'm afraid, not a beginners tool.
2. you can use
perl -p -i -e 's/\r//g' filename # dos->unix
perl -p -i -e 's/\n/\r\n/g' filename # unix->dos
on your linux.
3. you can setup X server on your windows computer, and run linux
editor's (emacs, nvi, ... ) from linux. this is a long song, but i
can sing, if anyone is interested :)
RW> Thanks but no cigar yet ;-)
no smoking:) want to die at full health :) (sort of humor)
Best wishes,
Maxim mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]