POV-Ray : Newsgroups : povray.general : Printing abc\abc (bug?) Server Time
9 Aug 2024 19:35:32 EDT (-0400)
  Printing abc\abc (bug?) (Message 1 to 5 of 5)  
From: Warp
Subject: Printing abc\abc (bug?)
Date: 12 Jun 2000 05:24:41
Message: <3944ac59@news.povray.org>
Why I'm unable to print the string "abc\abc" with povray (at least in this
Solaris compile)?
  If I try this:

#debug "abc\abc"

I get a beep and "abcbc" is printed. Ok, \a is some bell or something like
that.
  Then I thought that it has to be printed this way:

#debug "abc\\abc"

  Same result! A beep and "abcbc" was printed. Strange.
  Then I tried:

#debug "abc\\\abc"

  Now there's no beep but it prints "abc\\abc".

  It seems that I'm unable to print "abc\abc". Is this a bug?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Bob Hughes
Subject: Re: Printing abc\abc (bug?)
Date: 12 Jun 2000 10:29:07
Message: <3944f3b3@news.povray.org>
Probably will have to go with "abc","\","abc".

Bob

"Warp" <war### [at] tagpovrayorg> wrote in message news:3944ac59@news.povray.org...
|   Why I'm unable to print the string "abc\abc" with povray (at least in this
| Solaris compile)?
|   If I try this:
|
| #debug "abc\abc"
|
| I get a beep and "abcbc" is printed. Ok, \a is some bell or something like
| that.
|   Then I thought that it has to be printed this way:
|
| #debug "abc\\abc"
|
|   Same result! A beep and "abcbc" was printed. Strange.
|   Then I tried:
|
| #debug "abc\\\abc"
|
|   Now there's no beep but it prints "abc\\abc".
|
|   It seems that I'm unable to print "abc\abc". Is this a bug?


Post a reply to this message

From: Pabs
Subject: Re: Printing abc\abc (bug?)
Date: 13 Jun 2000 02:52:39
Message: <3945DA64.C3B828F@hotmail.com>
Bob Hughes wrote:

> Probably will have to go with "abc","\","abc".

Doesn't work - bug? probably

Pabs


Post a reply to this message

From: Alan Kong
Subject: Re: Printing abc\abc (bug?)
Date: 14 Jun 2000 20:48:28
Message: <qs8gks8lknqjjrt4nmi2eigoq6rvi150aj@4ax.com>
On 12 Jun 2000 05:24:41 -0400 Warp <war### [at] tagpovrayorg> wrote:

>  Why I'm unable to print the string "abc\abc" with povray (at least in this
>Solaris compile)?

  Hi, Warp. I thought I'd go ahead and post what we both agreed was a
'kludge' workaround.

#debug "abc\\ \babc"

  will print the desired "abc\abc" but we agree that the parser seems to
be a little inconsistent in this regard.

-- 
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer


Post a reply to this message

From: Warp
Subject: Re: Printing abc\abc (bug?)
Date: 15 Jun 2000 05:30:15
Message: <3948a227@news.povray.org>
Alan Kong <ako### [at] povrayno-spamorg> wrote:
:   Hi, Warp. I thought I'd go ahead and post what we both agreed was a
: 'kludge' workaround.

: #debug "abc\\ \babc"

  This certainly may work when outputting to stdout (or is it stderr?
whatever), but I wonder what happens if the debug stream is redirected to a
file...

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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