This section describes some of the most common problems that can occur using the LispWorks X11/Motif GUI, which is available on Linux, FreeBSD, Mac OS X and UNIX.
Running under X11/Motif, LispWorks may print a message saying that it is unable to connect to the X server. Check that the server is running, and that the machine the image is running on is authorized to connect to it. (See the manual entry for command
LispWorks comes configured with the fonts most commonly found with the target machine type. However the fonts supplied vary between implementations and installations. The fonts available on a particular server can be determined by using the
xlsfonts(1) command. Fonts are chosen based on the X11 resources. See X11/Motif resources for more information.
Colors are chosen based on the X11 resources. See X11/Motif resources for more information.
To remove the problem, you can then change the resources (for example, by editing the file mentioned in X11/Motif resources) to reduce the number of colors LispWorks allocates.
Mnemonic processing on Motif always uses
mod1, so we disable mnemonics if that is Lisp's
Meta modifier to allow the Emacs-style editor to work. (The accelerator code uses the same keyboard mapping check as the mnemonics so
Alt accelerators would also get disabled if you had them.)
On X11/Motif, if you want Emacs-style keys
Ctrl-n, Ctrl-p in LispWorks list panels such as the Editor's buffers view, add the following to the X11 resources (see X11/Motif resources):
When using X11/Motif, LispWorks reads X11 resources in the normal way, using the application class Lispworks. The file
app-defaults/Lispworks is used to supply fallback resources. You can copy parts of this file to
~/Lispworks or some other configuration-specific location if you wish to change these defaults, and similarly for
dyld: /Applications/LispWorks 7.1/lispworks-7-1-0-x86-darwin-gtk can't open library: /usr/local/lib/libXm.4.dylib (No such file or directory, errno = 2)
Ensure you install Motif as described in The X11 GTK+ and Motif GUIs. Restart X11.app and LispWorks after installation of Motif.
LispWorks Release Notes and Installation Guide - 19 Oct 2017