Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpl-opus!hpnmdla!darrylo From: darrylo@hpnmdla.HP.COM (Darryl Okahata) Newsgroups: comp.sys.hp Subject: Re: mwm vs. emacs Message-ID: <430028@hpnmdla.HP.COM> Date: 6 Dec 90 00:09:26 GMT References: <754@parcplace.com> Organization: HP Network Measurements Div, Santa Rosa, CA Lines: 37 In comp.sys.hp, khaw@parcplace.com (Mike Khaw) writes: > Mwm on HP9000s3xx/HPUX 7.0 wants to reserve DELETE to popup window menus. > GNU Emacs wants to use DELETE for deleting the character left of the > cursor and BACKSPACE (control-H) for online help. > Is there a way to make mwm not use DELETE for the window menu; e.g., an > "xmodmap" incantation, or a .Xdefaults entry? 1. COPY the file "/usr/lib/X11/system.mwmrc" to "$HOME/.mwmrc". 2. Edit the file "$HOME/.mwmrc". 3. In the "DefaultKeyBindings" (*NOT* in "SampleKeyBindings"), delete the line: ShiftEscape icon|window f.post_wmenu (In my .mwmrc file, I deleted *all* lines, BUT the one with the "f.set_behavior" function. You may not want to do this, however.) 4. Save the file. 5. Restart mwm. If you already have a "$HOME/.mwmrc" file, merge "/usr/lib/X11/system.mwmrc" into it. See the man page for mwm(1) for more details. -- Darryl Okahata UUCP: {hplabs!, hpcea!, hpfcla!} hpnmd!darrylo Internet: darrylo%hpnmd@hp-sde.sde.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion or policy of Hewlett-Packard or of the little green men that have been following him all day.