[gnu.emacs] Emacs under VMS DECwindows: a solution

mellon@eris.berkeley.edu (Ted Lemon) (04/20/89)

About a week ago I posted a request to comp.windows.x asking if anybody
new how to get VMS DECwindows to support the Meta key for GNU Emacs.
A lot of nice people wrote back and told me how to make it work under
Ultrix, and one person suggested that I use the VMS DECwindows support
in GNU emacs.

Well, I don't have an Ultrix machine, and VMS DECwindows support was
until recently quite mythological, as far as I was able to tell.   So,
I hacked it in.

Basically, I had to change all the includes and fix a few unixisms in
the X code, which wasn't designed to compile under VMS, and I had to
hack the keyboard code in sysdep.c to allow for the possibility of
X events as well as keyboard ASTs.

I also brought up xmodmap, from the MIT X11R3 distribution, since the
LK200 keymappings are kind of horrible for hackers.   The one thing I
didn't have to remap was the meta key - emacs seemed to deal with the
compose character key just fine.

Anyway, I haven't broken out the changes into a nice neat package yet,
but if someone would like a copy of them, I'd be glad to set it up.  I
won't bother to make them distributable unless there's demand - I'm pretty
snowed under right now.

I can be reached at the following addresses:

mellon@eris.berkeley.edu
mellon@nli.com
...!apple!nli!mellon

				_MelloN_