Installation: Keyboard
|
|
|
|
|
Online Documentation Home Page
Setting Keyboard Focus Automatically
Ada-ASSURED positions popup dialog boxes at your mouse location so
that you automatically get keyboard focus.
Use of Ada-ASSURED will be impaired if the window manager
requires ``click to focus''.
If keyboard focus is set automatically based on mouse position, skip the
rest of this step.
Otherwise, you should add a line to your .Xdefaults file or your
.Xresources file (if you use xdm) depending on which window
manager you use.
- If you are using the Motif window
manager mwm
add the following line:
mwm*keyboardFocusPolicy:pointer
If you use the OpenWindows window
manager olwm
add the following line:
OpenWindows.SetInput:followmouse
For other window managers, you should consult their documentation.
- Enter whichever of the following two commands is appropriate:
~/.Xdefaults
or
~/.Xresources
- Enable the changes by restarting your window manager.
Hewlett Packard Keyboard Users
Older Hewlett Packard keyboards do not have a Meta or Alt
key. On these keyboards, the key labelled Extend Char
can be used as Meta.
(Newer Hewlett Packard keyboards are based on
the Intel, or PC 101 keyboard and do not have an Extend Char key.)
By default, this key is also used
with other keys to generate non-ASCII characters such as Ø.
This feature must be turned off in order for Ada-ASSURED to
function as described.
The files named hpmodmap and hprestoremap
in aahome/Ada-ASSURED3.5/files will modify the
keyboard map and restore it, respectively.
If you have such a keyboard, do this now by entering:
cd aahome/Ada-ASSURED3.5/files
xmodmap hpmodmap
Motif Key Bindings
Ada-ASSURED depends on the correct translations of X keysyms to Motif
key bindings. Motif comes with sample key translations for many
platforms and X servers. Your system administrator should have installed
the correct bindings for your site. However, if you notice that
any of the following keys do not work as specified, you should ask
your system administrator to check the Motif translations. Note,
the following is a superset of the keys to check; not all keyboards have
all of the keys listed:
| Left |
| Right |
| Up |
| Down |
| End |
| Home |
| Prior (often labeled PgUp) |
| Next (often labeled PgDn) |
| BackSpace |
| Delete |
| Insert |
| Help |
| Copy |
| Cut |
| Paste |
| Undo
|
Note for X11 R6 Users. If your site is using an X11 R6 server, then
the key bindings shipped with Motif may not work.
GrammaTech provides sample keybindings for X11 R6 servers in the directory
aahome/Ada-ASSURED3.5/files/bindings/X11R6.
Find the appropriate file that matches your platform and use it as a guide
to update the files on your system.
See the man pages for xmbind, mwm, and xmodmap for details.