Article 170525 of comp.os.vms:
Hi,

X11 and Motif are 99.999% the same on Unix as on OpenVMS, but there are a
just a couple of exceptions.  Has anybody put together a compehensive list
of these that they would be willing to share?  The reason I ask is that I'm 
wondering if some of the funny little glitches I see in ported software 
might not just trace back to these few incompatibilities.  If no such list
exists I'd be happy to compile one.  If you know of an OS specific problem 
with X11 or Motif, just email me a brief note stating the function(s)
involved, and the does and don'ts.  If possible give a Unix version
example, and an OpenVMS version example. 

For instance, here is one VMS specific problem that I've seen before:

XtResolvePathname:  must be used this way:

    filename = XtResolvePathname(XtDisplay(toplevel),NULL,"TED",
#ifdef __VMS
            ".HELP","SYS$HELP%:%N%S",NULL,0,NULL);
#else
            ".HELP",NULL,NULL,0,NULL);
#endif

Reason, on OpenVMS you generally need to specify the path explicitly to
find the file.  The trick here is that one must use "SYS$HELP%:" because
X11 would otherwise interpret the unescaped ":" as a list delimiter and
attempt to access first SYS$HELP, then TED.HELP.  (Fix and explanation
from Dom Maddalone, dgm@cronus.colorado.edu, way back in 1994.) 

Regards,

David Mathog
mathog@seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech 
**************************************************************************
*Affordable VMS? See:  http://seqaxp.bio.caltech.edu:8000/www/pcvms.html *
**************************************************************************


