Customizing SoftBench for Native Language Support (NLS)
Rebinding AltRebinding Alt
To replace the Alt keybindings used by the editor with alternate bindings using ESC, include the following lines in your $HOME/.Xresources file or use xrdb to set them:
*CodeEdit*extendKey: esckey
*Edit*extendKey:esckey
*ListMgr*extendKey:esckey
Note that ESC works differently from Extend char:
To enter
To enter
Note also that setting the three *extendKey resources shown above replaces only the Alt command bindings used in edit commands. All other uses of Alt, such as mnemonics used for menu operations, continue to require Extend char. See the “SoftBench Mnemonics and
If you remap the Alt key, you introduce a conflict between ESC used as the Alt key and ESC used to close a dialog box. To resolve this conflict, change the osfCancel virtual keybinding from ESC to
*osfCancel: Ctrl <Key> Escape
to your $HOME/.Xresources or $HOME/.motifbind file.
If your .motifbind file (or your .Xresources file) does not contain a Motif
/opt/softbench/newconfig/opt/softbench/config/examples/C1405A_RX.motifbind
For more information on osfCancel and Motif virtual keys, see the VirtualBindings(3X) and mwm(1X) reference pages. For more information on SoftBench edit area keybindings, see "Edit Area Keybindings" in SoftBench Online Help.
366 | Appendix D |