jrg@Apple.COM (John R. Galloway) (05/13/88)
I know I can run X10 binaries under X11, but is there a source conversion program? i.e. something that just simplistically takes the old C lib and Xt calls and make new ones (adding context set up etc.). even if it were crude it would be helpful. -- apple!jrg John R. Galloway, Jr. contract programmer, San Jose, Ca These are my views, not Apple's, I just get my mail here.
jim@EXPO.LCS.MIT.EDU (Jim Fulton) (05/13/88)
One of the subtleties of porting X10 code to X11 is dealing with GC's in an efficient manner. If you don't find a translator, I'd recommend the using the following as guides: 1. The summary ./doc/X10-correspond describes each of the X10 Xlib routines and gives a brief description of what its X11 counterpart would be. 2. The source for Todd Brunhoff's protocol translator. The files in ./clients/x10tox11/X11/ give you a detailed illustration of how each X10 request can be implemented using X11 Xlib. Many programs actually become easier to read when they use GC's since they don't have to carry around all of the information for every call. It does take a little getting used to, however. Jim Fulton MIT X Consortium