From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <56a297000604280346i4d269bc5ld20fdc36685014bf@mail.gmail.com> Date: Fri, 28 Apr 2006 19:46:37 +0900 From: "Noah Evans" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Drawterm Solaris In-Reply-To: <14ec7b180604271757y228cfe0asd1fe7fa992e6422f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20127_20753363.1146221197526" References: <04574b431465cce03b8e15444f2079b8@swtch.com> <18485B5C-E6DC-462E-9632-CDB11FBF69BB@lanl.gov> <56a297000604271704q6bbd7eedgc7ab00fcbece267f@mail.gmail.com> <14ec7b180604271757y228cfe0asd1fe7fa992e6422f@mail.gmail.com> Topicbox-Message-UUID: 49be963c-ead1-11e9-9d60-3106f5b1d025 ------=_Part_20127_20753363.1146221197526 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline yeah, blah... the version I had on my old sun has got the blues too. hmmmm... compile the latest version with CONF=3Dunix make gives the followi= ng 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 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 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 > ------=_Part_20127_20753363.1146221197526 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline yeah, blah... the version I had on my old sun has got the blues too.
hmmmm... compile the latest version with CONF=3Dunix make gives the follo= wing errors:

gcc: unrecognized option `-pthread'
In file included= from ./include/u.h:1,
            = ;     from main.c:1:
./include/dtos.h:10:3: #error &= quot;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'
./inc= lude/lib.h:141: warning: data definition has no type or storage class
./include/lib.h:149: error: syntax error before "Qid"
./includ= e/lib.h:149: warning: no semicolon at end of struct or union
./include/l= ib.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 cl= ass
./include/lib.h:158: error: syntax error before '}' token
./inclu= de/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<= br>./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:21= 0: 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 sola= ris 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
per= functory 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 we= b
and the newly compiled one): despite being painfully slow, displaying<= br>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 yo= ur website. Does
> it have the RGB/BGR bug? Could be I'm just using a= n ancient version. I
> compiled a newer binary late last night, but I= won't have a chance to test
> it for a while.
>
> Noah

------=_Part_20127_20753363.1146221197526--