Xref: utzoo comp.windows.x:9417 gnu.emacs:743 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!agate!eris.berkeley.edu!mellon From: mellon@eris.berkeley.edu (Ted Lemon) Newsgroups: ba.windows.x,comp.windows.x,gnu.emacs Subject: Emacs under VMS DECwindows: a solution Summary: By George, I think I've got it! Keywords: emacs xterm meta xmodmap Message-ID: <23353@agate.BERKELEY.EDU> Date: 20 Apr 89 06:29:46 GMT Sender: usenet@agate.BERKELEY.EDU Followup-To: comp.windows.x Organization: University of California, Berkeley Lines: 32 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_