POV-Ray : Newsgroups : povray.windows : Log file wrap : Re: Log file wrap Server Time
3 Dec 2021 02:31:07 EST (-0500)
  Re: Log file wrap  
From: William F Pokorny
Date: 21 Mar 2017 09: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-2021 Persistence of Vision Raytracer Pty. Ltd.