Gfx and user interface
| GSI
| Biophysics
| Biophysics documentation
|
snippets found on usenet, didn't work
Mike Stroyan comp.sys.hp.hpux
hpterm has two modes for the behavior of the arrow keys. The default,
keypad_local mode, moves the cursor around the window as you see. The
keypad_xmit mode sends escape sequences when you press the arrow keys.
Those escape sequences can be interpreted by an editor or the shell.
You can change the mode using the escape sequences output by
"tput smkx" for starting keypad_xmit mode and "tput rmkx" for starting
keypad_local mode. The vi editor already uses those sequences,
returning the arrow keys to keypad_local mode when it finishes. To use
keypad_xmit mode in a shell, you potentially need to get the smkx escape
sequence output after every command. You can do that by putting the
escape sequence in the shell prompt string. For posix-sh you could to
that with PS1="$PS1$(tput smkx)".
hpterm: enable cursor keys (ttyMode), scrollbars, esc-output
AIX heritage, to be ignored:
- The file
/usr/lpp/X11/defaults/xserverrc
should contain the line
EXTENSIONS=" -bs -d 24:mir0 -d 24:lai0 -d 24:mtn0 -d 24:mint0 -d 24:mojl0 "
to enable backing store and 24bit colours for special
graphics cards (here GXT2000P, GXT135P, GXT3000P, GXT550P and GXT4500, respectively), if installed.
-
/etc/X0.hosts
and /etc/X1.hosts
control the X-server access from other hosts. Due to X-server problems
when the name server can't resolve the name of machines listed in these
files they should contain only GSI machines. This doesn't solve the
problem completely (because the GSI name server might be down as well) but at
least the most likely case of external network breakdown is excluded.
- CDE configuration
Path definitions in /etc/dt/config/Xsession.d/0010.dtpaths
Actual icons and datatypes in /u/bio/.dt/appconfig
- For machines with graphic cards, adjust screen resolution:
smit - Devices - Graphics Displays - Select the Display Type
choose monitor, then
Select the Display Resolution and Refresh Rate
- adjust keyboard properties (for machines with keyboards)
smit - Devices - Graphic Input Devices - Keyboard - Change / Show Characteristics of the Keyboard
Keyboard repeat rate [30] +#
Keyboard repeat delay 250 +
Alarm volume off +
Clicker volume off +
Extended keyboard identifier none +
or on command line
chhwkbd -r'30' -d'250' -a'0' -c'0'
| GSI
| Biophysics
| Biophysics documentation
|
Last update: 21-Jul-2006, M.Kraemer