[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Answer: Application crashes when text is cut and pasted into an XmText widget may occur with statically linked executables linked with X11R5 libraries under SunOS. For example, a Netscape README file says: The SunOS 4.1 [Netscape 0.94] distribution also includes a directory called "nls". This directory is a standard part of the MIT X11R5 distribution, but is not included with OpenWindows 3.0 or earlier. We have linked Netscape against the MIT R5 libraries because they are less buggy in general; however, they have one rather serious bug, which is that if this "nls" directory does not exist, the program will dump core any time you try to paste into a text field! So, if you don't have the "nls" directory on your system, you will need to install it first. The usual place is /usr/lib/X11/nls, but you can put it anywhere: just point the $XNLSPATH environment variable at it. Some sites don't have their X libraries installed in /usr/lib/X11/. This doesn't matter. You either need to put the nls directory in /usr/lib/X11/, or every user will need to set this environment variable. So, for example, we do: setenv XNLSPATH /usr/local/x11r5/lib/X11/nls since our X11R5 is not installed in the default location.
Send corrections/additions to the FAQ Maintainer:
Last Update May 13 2007 @ 00:23 AM