Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "113) How can put Text in overstrike mode instead of insert?"
Next document is "115) Can I change the tab stops in the XmText widget?"
114) How can I make the Delete key do a Backspace? Related
question: How can I swap Delete and Backspace?
[Last modified: Oct 94]
Answer: Put this in your .Xdefaults
*XmText.translations: #override <Key>osfDelete: delete-previous-character()
Additional information from David Kaelbling <drk@x.org>:
You can also supply an arbitrary file name to xmbind (so you can conditionally
run xmbind from your .xinitrc file based on the hostname, architecture,
xdpyinfo output, or whatever).
Some people prefer to use xmodmap to swap the keysyms for all applications,
but what you're doing will work fine if you specify all of the virtual key
bindings. The current bindings are stored on the root window -- use "xprop
-root" and look for a _MOTIF_BINDINGS or _MOTIF_DEFAULT_BINDINGS property.
OSF/Motif is also distributed with a "bindings" directory containing all the
fallback virtkey binding files.
There are several ways to do display-specific customization: make
Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "113) How can put Text in overstrike mode instead of insert?"
Next document is "115) Can I change the tab stops in the XmText widget?"