Palm to Android via Linux
Baruch Siach
baruch at tkos.co.il
Wed Jun 1 10:40:41 IDT 2011
Hi Mordecha,
On Wed, Jun 01, 2011 at 10:24:22AM +0300, Mordecha Behar wrote:
> '\n' isn't a newline everywhere?
> Or even '\r'?
No. See http://en.wikipedia.org/wiki/Newline.
baruch
> On Wed, Jun 1, 2011 at 10:22 AM, shimi <linux-il at shimi.net> 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)
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the Linux-il
mailing list