[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[solved] Re: Problems with text file going from Linux to MS Windows



Rodolfo Medina <rodolfo.medina@gmail.com> writes:

>> If I want to send a text file to an MS Windows user there are problems: in
>> fact, in MS Windows a text file which has been composed under Linux is not
>> correctly read: the line ends are not recognised.  The remedy is to cut the
>> text
>> and paste it into an MS Word file, then cut it again and re-paste it into the
>> text file, which is not so good because this way I need rebooting every time
>> into the Windows partition.
>>
>> Can anybody suggest some solution to this problem?



Claudius Hubig <x2017_2007@nurfuerspam.de> writes:

>> nano, e. g., supports the MS-DOS-file format (or whatever it's
>> called) and thus you can save your text files with nano (C+O, M+D)
>> the way Windows users are able to read them properly.




Rodolfo:

> Thanks, this seems to work fine: I paste the text into nano buffer, then do
> C-o M-d and it's done. :)




... or even better, since I'm an Emacs user:

 C-x RET f dos C-x C-s

to save the file in Dos format, and

 C-x RET f unix C-x C-s

to get it back to unix format!  Fantastic.

Rodolfo



Reply to: