POV-Ray : Newsgroups : povray.unix : Turn off text messages Server Time
22 Dec 2024 08:21:41 EST (-0500)
  Turn off text messages (Message 1 to 9 of 9)  
From: Sebastian H 
Subject: Turn off text messages
Date: 31 Jan 2006 11:22:30
Message: <43df8ec6$1@news.povray.org>
Hello

If I understood right giving povray the -GA argument should turn off
all console messages. I tried

povray +Iscene.pov -GA

but all messages appear on the console. povray even tells that
everything is turned off (which is very polite but a bit weird).

<povray-output>
...
Redirecting Options
   All Streams to console..........Off
   Debug Stream to console.........Off
   Fatal Stream to console.........Off
   Render Stream to console........Off
   Statistics Stream to console....Off
   Warning Stream to console.......Off
...
</povray-output>

All messages go through stderr with -GA *enabled* or not.
Why do messages streams not take their way through stdout?
And why do the stream to console flags do not affect the
output at all?
Does anyone has clue about this?

Sebastian


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Turn off text messages
Date: 31 Jan 2006 11:32:44
Message: <43df912c$1@news.povray.org>
> povray +Iscene.pov -GA
> 
> but all messages appear on the console. povray even tells that
> everything is turned off (which is very polite but a bit weird).

	This is a known bug in the 3.6 series that has been already
discussed in this group.  If you want a fix, you can try the Unix
frontend patch (latest version is 0.2.1) described in some recent
messages here.

> Why do messages streams not take their way through stdout?

	Because stdout can be used to output the rendered image,
using e.g. 'povray +o-'.  Check the user manual.

	- NC


Post a reply to this message

From: Sebastian H 
Subject: Re: Turn off text messages
Date: 31 Jan 2006 14:33:48
Message: <43dfbb9c$1@news.povray.org>
Nicolas Calimet wrote:
>> povray +Iscene.pov -GA
>>
>> but all messages appear on the console. povray even tells that
>> everything is turned off (which is very polite but a bit weird).
> 
> 
>     This is a known bug in the 3.6 series that has been already
> discussed in this group.  If you want a fix, you can try the Unix
> frontend patch (latest version is 0.2.1) described in some recent
> messages here.

Ah yes, I'll give it a try.
Thank you very much.

Sebastian


Post a reply to this message

From: povray
Subject: Re: Turn off text messages
Date: 2 Feb 2006 17:05:25
Message: <pan.2006.02.02.20.30.47.639518@almost.bestweb.net>
On Tue, 31 Jan 2006 17:27:06 +0100, Sebastian H. wrote:

> Hello
> 
> If I understood right giving povray the -GA argument should turn off
> all console messages. I tried
> 
> povray +Iscene.pov -GA
> 
> but all messages appear on the console. povray even tells that
> everything is turned off (which is very polite but a bit weird).
> 
> <povray-output>
> ...
> Redirecting Options
>    All Streams to console..........Off
>    Debug Stream to console.........Off
>    Fatal Stream to console.........Off
>    Render Stream to console........Off
>    Statistics Stream to console....Off
>    Warning Stream to console.......Off
> ...
> </povray-output>
> 
> All messages go through stderr with -GA *enabled* or not.
> Why do messages streams not take their way through stdout?
> And why do the stream to console flags do not affect the
> output at all?
> Does anyone has clue about this?
> 
> Sebastian


 povray -iscene.pov 2>/dev/null

The "2>" forces stderr to be redirected instead of stdout.


Post a reply to this message

From: WellenZillich
Subject: Re: Turn off text messages
Date: 23 Mar 2006 09:35:00
Message: <web.4422b134b0114831c71d6360@news.povray.org>
On Tue, 31 Jan 2006 17:27:06 +0100, Sebastian H. wrote:

"...giving povray the -GA argument should turn off all console messages. I
tried but all messages appear on the console. Povray even tells everything
is turned off. All messages go through stderr, -GA *enabled* or not."

Try, taking care for the Ampersand:

    xterm -T DEBUGWINDOW -e tail -f ./DEBUG.txt &
    povray +GD./DEBUG.txt ./INPUT.pov

Lines in INPUT.pov like e.g.:

    #debug concat( "nHALLO SEBASTIAN: ", str(clock,0,0), "n" )

will produce their output in DEBUGWINDOW and, nearly, nothing else. Does
work for pov3.6 on SuSE9.0

Best regards: WellenZillich


Post a reply to this message

From: WellenZillich
Subject: Re: Turn off text messages
Date: 7 Apr 2006 06:20:01
Message: <web.44363bf4b011483292a70ad0@news.povray.org>
SORRY: Replace "n" with "\n":

   xterm -T DEBUGWINDOW -e tail -f ./DEBUG.txt &
   povray +GD ./DEBUG.txt ./INPUT.pov

Lines in INPUT.pov like e.g.:
   #debug concat( "\nHUHU: Linebreak after two:", "one,"two","\n","three")
   will produce output in DEBUGWINDOW.

Best Regards: WellenZillich


Post a reply to this message

From: Sebastian H 
Subject: Re: Turn off text messages
Date: 8 Apr 2006 04:17:56
Message: <443771b4$1@news.povray.org>
WellenZillich wrote:
> SORRY: Replace "n" with "\n":
> 
>    xterm -T DEBUGWINDOW -e tail -f ./DEBUG.txt &
>    povray +GD ./DEBUG.txt ./INPUT.pov
> 
> Lines in INPUT.pov like e.g.:
>    #debug concat( "\nHUHU: Linebreak after two:", "one,"two","\n","three")
>    will produce output in DEBUGWINDOW.

Hmm, interesting idea though I would prefer a fifo instead of invoking
tail. However this does not cure the problem with the current inability
of linux-POV-Ray to turn off stderr output. This requires a patch as
mentioned somewhere else.

Regards,
Sebastian


Post a reply to this message

From: bob
Subject: Re: Turn off text messages
Date: 12 Apr 2006 21:09:42
Message: <pan.2006.04.13.01.09.24.403693@almost.bestweb.net>
On Sat, 08 Apr 2006 10:24:59 +0200, Sebastian H. wrote:

> WellenZillich wrote:

<<snippage>>
> tail. However this does not cure the problem with the current inability
> of linux-POV-Ray to turn off stderr output. This requires a patch as
<<snippage>>

 povray -iyour_pov_file 2>/dev/null

	"2>" redirects stderr.  Redirecting it to /dev/null
effectively turns it off.


Post a reply to this message

From: WellenZillich
Subject: Re: Turn off text messages
Date: 4 May 2006 06:35:01
Message: <web.4459d7f5b0114831c71d6360@news.povray.org>
bob <bob### [at] almostbestwebnet> wrote on SebastianH. & WellenZillich:

Sebastian H. wrote:
"...giving povray the -GA argument should turn off all console messages. I
tried but all messages appear on the console. Povray even tells everything
is turned off. All messages go through stderr, -GA *enabled* or not."

bob wrote:
povray -iyour_pov_file 2>/dev/null
"2>" redirects stderr to /dev/null & turns it off.

No question bob is right and console messages could be get rid off this way.
BUT: Working around the problem this way would cause the next questions
concerning textconsole output switches GD, GF, GR, GS, GW. My "Catching the
debug stream" should have been read as the pragmatic answer to the first4me
important one of these not yet asked questions.
Apropos FIFO: Yet anybody really has tried get it2work? Seems not2be doable
as easy as first thought by me, regrettable.

Regards from the ascending branch:
Wellenzillich


Post a reply to this message

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