POV-Ray : Newsgroups : povray.windows : Carriage return/ line feed Server Time
24 Nov 2024 20:43:59 EST (-0500)
  Carriage return/ line feed (Message 1 to 5 of 5)  
From: F VERBAAS
Subject: Carriage return/ line feed
Date: 23 Jul 1998 19:12:04
Message: <35b7b534.0@news.povray.org>
This is a silly question, I know. But, how can I set the POVRAY editor
(version 3.0, Windows 95) to display correctly a scene file loaded from the
net. I get all lines of code on one line, with black rectangles where the (I
guess) newlines are. I fix this now by loading the file into the DOS editor
and force a save action, but I take it there is some less laborious way.

Any help?
Frans


Post a reply to this message

From: Photon
Subject: Re: Carriage return/ line feed
Date: 23 Jul 1998 21:24:40
Message: <35B7D442.16DA1ED6@dtmf.com>
That is a common problem... text in unix ends lines with <LF> only, and
DOS/Windows uses <CR><LF>.  And yes, the most universal "always" there tool to
convert with is DOS's edit command... just open, then save, then exit.  If you
search the net for names like "unix2dos" or:
unix and dos and "text format" and convert
or some such query.. there are several tools out there..

Brandon

F.VERBAAS wrote:

> This is a silly question, I know. But, how can I set the POVRAY editor
> (version 3.0, Windows 95) to display correctly a scene file loaded from the
> net. I get all lines of code on one line, with black rectangles where the (I
> guess) newlines are. I fix this now by loading the file into the DOS editor
> and force a save action, but I take it there is some less laborious way.
>
> Any help?
> Frans
>


Post a reply to this message

From: Timothee BESSET
Subject: Re: Carriage return/ line feed
Date: 26 Jul 1998 07:16:43
Message: <35BAF9DE.307DD100@mail.club-internet.fr>
Photon wrote:
> 
> That is a common problem... text in unix ends lines with <LF> only, and
> DOS/Windows uses <CR><LF>.  And yes, the most universal "always" there tool to
> convert with is DOS's edit command... just open, then save, then exit.  If you
> search the net for names like "unix2dos" or:
> unix and dos and "text format" and convert
> or some such query.. there are several tools out there..
> 
> Brandon
> 

You can also use wordpad .. it will recognize the unix <LF>, and saves
as a DOS text file .. it works for me ..

Other solution : try to ftp it between a unix and DOS, using ASCII
format ...

----------------------------------
Timothee Besset
ECL - Promo 99
http://www.mygale.org/01/besset
MGS http://www.planetquake.com/mgs


Post a reply to this message

From: F VERBAAS
Subject: Re: Carriage return/ line feed
Date: 26 Jul 1998 16:10:50
Message: <35bb7f3a.0@news.povray.org>
>You can also use wordpad .. it will recognize the unix <LF>, and saves
>as a DOS text file .. it works for me ..


Yes, I know the root of this evil, and I am about to spend some lines of
FORTRAN to write a converter. But, could the new editor for POVray for
Window please Please PLEASE do this obvious conversion automatically?

Frans


Post a reply to this message

From: Mark Wagner
Subject: Re: Carriage return/ line feed
Date: 10 Jun 1999 01:18:38
Message: <375f4aae@news.povray.org>
Photon wrote in message <35B7D442.16DA1ED6@dtmf.com>...
>
>
>That is a common problem... text in unix ends lines with <LF> only, and
>DOS/Windows uses <CR><LF>.

To make things worse, the Macintosh uses only the <CR>!

Mark


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.