Palm to Android via Linux
Yedidyah Bar-David
linux-il at didi.bardavid.org
Wed Jun 1 10:28:21 IDT 2011
On Wed, Jun 01, 2011 at 10:22:32AM +0300, shimi wrote:
> 2011/6/1 Mordecha Behar <mordecha.behar at mail.huji.ac.il>
>
> > I've encountered the opposite problem.
> > Files I create in a Linux text editor (Kwrite) don't open properly in
> > Windows Notepad. I get the entire file on one line.
> > Maybe there's something strange going on behind the scenes in KDE?
> >
> >
> >
> That's something else and relates to the way Unix and Windows define
> "newline".
>
> You could run your file through the unix2dos utility prior to moving it to
> Windows, and it will most probably solve your issue.
>
> Alternatively, if you'll be using Kate (which I think is better than
> KWrite), you have Tools -> End of Line -> UNIX (and you can change there to
> Windows/DOS)
You can also open it in windows with Write (sometimes called Wordpad)
by right-click -> Open with -> Write (or wordpad). It knows Unix newlines.
--
Didi
More information about the Linux-il
mailing list