Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!asente From: asente@decwrl.dec.com (Paul Asente) Newsgroups: comp.windows.x Subject: Re: Emacs under 'Ultrix(RISC)' DECwindows Keywords: emacs xterm meta xmodmap Message-ID: <1356@bacchus.dec.com> Date: 21 Apr 89 04:33:49 GMT References: <517@laic.UUCP> Organization: DEC Western Software Lab Lines: 18 In article <517@laic.UUCP> darin@nova.UUCP (Darin Johnson) writes: >I have keys remapped so I have an escape key (only DEC would come out >with a UNIX only machine, and not have an escape key :-) and <> in >the right places. However, this gets saved as a dxterm resource, and >is not general enough so that emacs sees this remapping. This seems to be a common problem so I'll post the answer. add this line to your .X11Startup file: xmodmap -e "keycode 0xb1 = Meta_L" -e "keysym period = period greater" -e "keysym comma = comma less" & (All on one line.) This makes the compose key act like a meta key for emacs and puts < and > on the , and . keys. Also, key F11 is already escape if you ever find yourself using an unfixed keyboard. -paul asente asente@decwrl.dec.com decwrl!asente