yeah, blah... the version I had on my old sun has got the blues too.

hmmmm... compile the latest version with CONF=unix make gives the following errors:

gcc: unrecognized option `-pthread'
In file included from ./include/u.h:1,
                 from main.c:1:
./include/dtos.h:10:3: #error "Define an OS"
In file included from main.c:2:
./include/lib.h:138: error: syntax error before "p9_uvlong"
./include/lib.h:138: warning: no semicolon at end of struct or union
./include/lib.h:141: error: syntax error before '}' token
./include/lib.h:141: warning: type defaults to `int' in declaration of `Qid'
./include/lib.h:141: warning: data definition has no type or storage class
./include/lib.h:149: error: syntax error before "Qid"
./include/lib.h:149: warning: no semicolon at end of struct or union
./include/lib.h:153: error: syntax error before "length"
./include/lib.h:153: warning: type defaults to `int' in declaration of `length'
./include/lib.h:153: warning: data definition has no type or storage class
./include/lib.h:158: error: syntax error before '}' token
./include/lib.h:158: warning: type defaults to `int' in declaration of `Dir'
./include/lib.h:158: warning: data definition has no type or storage class
./include/lib.h:180: error: syntax error before "va_list"
./include/lib.h:180: warning: no semicolon at end of struct or union
./include/lib.h:185: error: syntax error before '}' token
./include/lib.h:208: error: syntax error before "va_list"
./include/lib.h:210: error: syntax error before "va_list"


On 4/28/06, andrey mirtchovski <mirtchovski@gmail.com> wrote:
i believe the binary you downloaded exhibits the bug, but i can't
verify under which conditions... I tried compiling a new binary on an
old solaris 8 machine but couldn't -- the new drawterm code has no
solaris hooks and the machine is too far away (and too busy) for me to
try to import the relevant bits from the old code, even though a
perfunctory look indicates it to be more than trivial (getcallerpc is
there, but there's a non-posix solaris-specific thread implementation)
i may try still.

i compiled the old code and ran a test (both the binary from the web
and the newly compiled one): despite being painfully slow, displaying
on an X running under PowerPC (OSX) did not show color problems,
however in both cases drawterm crashed with some X error or other.

i apologize for being useless :(

On 4/27/06, Noah Evans <noah.evans@gmail.com> wrote:
> Hey Andrey,
>
> This is actually using the solaris drawterm binary from your website. Does
> it have the RGB/BGR bug? Could be I'm just using an ancient version. I
> compiled a newer binary late last night, but I won't have a chance to test
> it for a while.
>
> Noah