Path: utzoo!attcan!uunet!lll-winken!ames!oliveb!apple!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!wastebasket From: wastebasket@LARRY.MCRCIM.MCGILL.EDU (der Mouse, really mouse@...) Newsgroups: comp.windows.x Subject: Re: x on pc Message-ID: <8904291929.AA24847@Larry.McRCIM.McGill.EDU> Date: 29 Apr 89 19:29:26 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 28 >> I'm interested in some sort of prog or dev. tool that will allow me >> to write code that I can generate in a PC environment (DOS, not >> unix) and when then ported to X will run as well. > Either you're missing something, or I am. Basically, the problem > with what you want to do is that X applications employ the > 'Client/Server' model; i.e., there are minimally TWO programs > running, the client and the server. Now, there's no reason why both > can't be running on the same machine, unless that machine happens to > be a single-tasking DOS machine. There are not *necessarily* two programs running; one could design a library with the same interface spec as Xlib but which included the actions the server would normally take as well. Alternatively, on an IBM PC family machine, one could build the server as a TSR program and have the Xlib calls use one of the unused soft interrupts to request the services of the server. (This would imply the equivalent of synchronous mode, but it's a lot better than nothing.) I have no idea whether anyone has built such a thing. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu (Replies will NOT reach me; use the signature address. This is an attempt to sidestep the flood of failure messages that inevitably follow any mail to xpert.)