angel@umigw.MIAMI.EDU (angel li) (09/28/87)
I have just finished porting the Version 11 X library and old toolkit to VMS. I have demos (ico, muncher, plaid) and hacks (paint) and clients (xrefresh, xcalc, xedit) running on VMS but nothing useful like xdvi or xproof. The port was rather straight forward using the CMU IP/TCP package to communicate with the server. I did find a bug in the old toolkit when porting xedit. xedit would die immediately after starting up due to a bug in ButtonBox.c\XtButtonBoxAddButton. xedit passes an argument list terminated by a null entry and XtButtonBoxAddButton would call XrmAtomsEqual (strcmp) with a zero argument. The argument list count seems to be one too long. Is the null needed at the end of the list? The most work seem to be fixing up references of the following kind: someType (*f)(); . . . f(...); into someType (*f)(); . . . (*f)(...); The BSD compiler did not seem to mind the reference, but the VMS C compiler complained. Also there is no typedef for caddr_t in <types.h> on VMS. Is the Sx library being moved to X11? I liked the "looks" of both mx and tx. Angel Li angel@miami.miami.edu -- Angel Li University of Miami/RSMAS Internet: angel@miami.miami.edu UUCP: hao!umigw!angel