From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,79c3810e4007d8ad X-Google-Attributes: gid103734,public X-Google-Thread: 1078e5,79c3810e4007d8ad X-Google-Attributes: gid1078e5,public X-Google-Thread: f4bda,79c3810e4007d8ad X-Google-Attributes: gidf4bda,public X-Google-Thread: f9382,79c3810e4007d8ad X-Google-Attributes: gidf9382,public X-Google-Thread: 1164f8,79c3810e4007d8ad X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-06-14 17:34:47 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: stampo@hotmail.com (Brad) Newsgroups: comp.sys.dec,comp.windows.x,comp.windows.x.apps,comp.os.linux,comp.os.linux.x Subject: Re: Making an XFree86 application work under Xdec. Date: 14 Jun 2001 17:34:47 -0700 Organization: http://groups.google.com/ Message-ID: <54888ee3.0106141634.2cff368d@posting.google.com> References: <54888ee3.0106130052.c710079@posting.google.com> NNTP-Posting-Host: 213.68.98.20 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 992565287 31850 127.0.0.1 (15 Jun 2001 00:34:47 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 15 Jun 2001 00:34:47 GMT Xref: archiver1.google.com comp.sys.dec:4490 comp.windows.x:2588 comp.windows.x.apps:189 comp.os.linux:5880 comp.os.linux.x:12141 Hi all, Thanks for your responses to my questions. It was greatly appreciated and has narrowed down my search for a solution. In fact I have been able to get it to work the way it should, though I still have a problem. It turns out that my x-server is running with a visual class of PseudoColor, and some software we need to run on the workstation requires to be run in a visual of PseudoColor. However when I tried my application running under different visuals eg TrueColor, StaticColor, DirectColor of GrayScale then it works fine. So you see I have a dilemma. I need to run the workstation under PseudoColor, but my application doesn't run properly under PseudoColor. Does anyone have any suggestions as to what I can do? By the way, for those interested, what I am trying to do is create a record and replay facility. I'm using x0rfbserver which exports the framebuffer of the X server to one or more clients (using same protocol as vnc): http://www.hexonet.de/software/x0rfbserver/index.html Then I am passing it through rfbproxy which makes recordings of vnc sessions: http://people.redhat.com/twaugh/rfbproxy/ In this way I can record my x-sessions for replay at a later date. It's all working very well under a visual of TrueColor, but I just need to get it to work under the PseudoColor visual so it will work with the application I am supposed to be making recordings of. Any suggestions will be once again very much appreciated. Thanks for your input so far. Kind regards, Brad. stampo@hotmail.com (Brad) wrote in message news:<54888ee3.0106130052.c710079@posting.google.com>... > Hello, > I have an application, which was written for linux and I want to make > it work under digital unix. I have allready ported the code to compile > under digital unix, and seems to run. However it doesn't run quite as > it should, as the colours come out quite funny. I believe my problem > has something to do with the application expects to be running under > XFree86 and not Xdec. I have run the application within a vnc server > under digital unix. The vnc server is running XFree86, and the > application worked fine. So I know my application is working fine > under digital unix, I just need to get it to run under Xdec instead of > XFree86. > I believe I encountered a similar problem some years ago, without > finding a solution. I remember back to my days at uni where I had to > write a simple program which draws a shape on the screen in differing > shades of grey (black at top, grey at bottom). I wrote it under Linux > and it worked. However when I tried to run it under digital unix at > work it all came out funny. It came out > all black. > > SO MY QUESTION IS THIS: > Does anybody have any tips on how I can make my application, written > for XFree86, run as it should under Xdec? > There must be something fairly simple that I just have no clue on, > since my simple uni assignment was such a simple program. > Anyone have experience in making an Xfree86 application run under > Xdec? > > Any help would be GREATLY appreciated. > Kind regards, > Brad. > > PS: Please respond to stampo@hotmail.com and the newsgroup.