cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/27/06:30:06

Date: Mon, 27 Apr 1998 13:26:33 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
cc: djgpp AT delorie DOT com
Subject: Re: [Q] is xlib.h available to build GLUT for MESA with DJGPP under DOS?
In-Reply-To: <86pzph7wuau.fsf@vesuri.Helsinki.FI>
Message-ID: <Pine.SUN.3.91.980427131520.23236C-100000@is>
MIME-Version: 1.0

On 27 Apr 1998, Esa A E Peuha wrote:

> > X11/Xlib.h is from X-Windows, which is windows used on Unix machines.
> > I don't think you stand any chance of finding a free emulation of it
> > which will work with DJGPP.
> 
> How difficult would it be to write one?

I have never tried, and I don't know enough X to estimate how hard it is. 

There is an old X emulation written for DJGPP v1.x which can be used as a
starting point.  It used GRX as its graphics back-end, and was quite good
(I was told at some point that GNU Emacs could be built with X support
using that emulation).  The only hard problem known to me that prevents
this emulation from working with DJGPP v2 is that it relied on a mouse
handler which used special hooks built into go32.exe in order to report
mouse events together with the keyboard events, and in the right order. 
AFAIK, GRX 2.x doesn't support this. 

A pointer to this old emulation is in the FAQ, section 22.2 (look for 
"Xlibemu").

Personally, I think that if a decent X emulation were available for DJGPP 
v2, it would be really great.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019