Gfx and user interface

(Under construction)

CDE, HP-UX >= 10.20

/etc/dt/config/sys.dtprofile is derived from /usr/dt/config/sys.dtprofile and should contain
DTSOURCEPROFILE=true
so that .profile's can be executed during CDE login.

VUE, HP-UX <= 10.20

When logged in via VUE, /etc/profile,$HOME/.profile are not executed by default since they may contain incompatible terminal commands such as tset,stty. To enable profile execution:
  1. in $HOME/.profile's and /etc/d.profile (the default user profile):
    if [ ! "$DT" -a ! "$VUE" ];
    then
       ...          # here all stty, tset commands etc
    else
    . /etc/profile  # common profile execution in case of VUE
    fi
    
  2. in all $HOME/.vueprofile's individually activate the line with
    VUE=true; ...
    
    and, if applicable, adapt
    PATH=$PATH:.....
    
  3. Scrollbars for terminal windows:
    If not existing yet:
    cp /usr/lib/X11/app-defaults/HPterm.ad /usr/lib/X11/app-defaults/HPterm
    
    In the files /usr/lib/X11/app-defaults/XTerm and /usr/lib/X11/app-defaults/HPterm, respectively:
    xterm*saveLines:      4s
    xterm*scrollBar:   True
    HPterm*saveLines:      4s
    HPterm*scrollBar:   True
    
    where 4s specifies lines to be saved "four screens" deep. Note that then /usr/lib/X11/app-defaults/%N must appear in the XFILESEARCHPATH.
    See also the legacy FAQ how to handle VUE-specific actions.
  4. Use of arrow keys for command line editing (hpterm,ksh):
    Found various recipes, none of which worked:

X server (HP-UX 11.x, 10.20)

X server properties (DefaultVisual, colour depth) may be changed via SAM-Display. The new configuration must be saved. The X server will be restarted. Configurations are stored in /etc/X11/X?screens.
Last update: 16-Mar-2010, M.Kraemer