POV-Ray : Newsgroups : povray.windows : Log file wrap Server Time: 17 Jan 2019 03:00:41 GMT
  Log file wrap (Message 1 to 4 of 4)  
From: Mike Horvath
Subject: Log file wrap
Date: 20 Mar 2017 20:31:57
Message: <58d03c3d$1@news.povray.org>
Currently the debug log file wraps at 80 characters. Would it be 
possible to make it so that it doesn't wrap? I'm trying to print some 
tabular data, and this behavior is messing things up.

Thanks.


Mike


Post a reply to this message

From: dick balaska
Subject: Re: Log file wrap
Date: 21 Mar 2017 06:46:47
Message: <58d0cc57$1@news.povray.org>
Am 2017-03-20 16:32, also sprach Mike Horvath:
> Currently the debug log file wraps at 80 characters. Would it be
> possible to make it so that it doesn't wrap? I'm trying to print some
> tabular data, and this behavior is messing things up.
>
> Thanks.
>
>
> Mike

Hear! Hear! :)

I asked about this a year ago. I do the same, I output java source which 
I copy/paste into my tomcat servlet.

I thought fixing it would be a good toe dipping into the povray source 
(and the attendant github control).  Oy vey!  What a bizarre thing.  80 
is hardcoded into the constructor of objects (not even, say, LINE_WIDTH) 
and it seemed difficult to fix it the right way. I opted to just fix my 
debug output instead to be less than 80 characters. :) :(

-- 
dik


Post a reply to this message

From: clipka
Subject: Re: Log file wrap
Date: 21 Mar 2017 09:17:27
Message: <58d0efa7$1@news.povray.org>
Am 20.03.2017 um 21:32 schrieb Mike Horvath:
> Currently the debug log file wraps at 80 characters. Would it be
> possible to make it so that it doesn't wrap? I'm trying to print some
> tabular data, and this behavior is messing things up.

Due to the difficulties involved, I'd recommend using `#write` instead.


Post a reply to this message

From: William F Pokorny
Subject: Re: Log file wrap
Date: 21 Mar 2017 13:44:00
Message: <58d12e20$1@news.povray.org>
On 03/21/2017 02:46 AM, dick balaska wrote:
> Am 2017-03-20 16:32, also sprach Mike Horvath:
>> Currently the debug log file wraps at 80 characters. Would it be
>> possible to make it so that it doesn't wrap? I'm trying to print some
>> tabular data, and this behavior is messing things up.
>>
>> Thanks.
>>
>>
>> Mike
>
> Hear! Hear! :)
>
> I asked about this a year ago. I do the same, I output java source which
> I copy/paste into my tomcat servlet.
>
> I thought fixing it would be a good toe dipping into the povray source
> (and the attendant github control).  Oy vey!  What a bizarre thing.  80
> is hardcoded into the constructor of objects (not even, say, LINE_WIDTH)
> and it seemed difficult to fix it the right way. I opted to just fix my
> debug output instead to be less than 80 characters. :) :(
>

Perhaps of use for those compiling their own code - I run with my own 
patch based upon environment variables for this. See:

http://wiki.povray.org/content/User:Wfpokorny

and specifically:

https://github.com/wfpokorny/povray/tree/feature/unixConsoleFileColumnWrapControl

More documentation on use by clicking on the commit to get the commit 
message in github.

There is too an in progress pull req in #117 looking at the console side 
of wrapping. I "think" unix output only, but with the advantage it pulls 
the current column size information from the active console/terminal 
window.

Bill P.


Post a reply to this message

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