HP-UX Startup
Put startup scripts for CDE in /etc/dt/config/Xsession.d.
To activate command history control, add the following lines to .kshrc:
export EDITOR=vi export HISTFILE=$HOME/.sh_history
include the following line in $HOME/.profile:
export ENV=$HOME/.kshrc
and add the following line to $HOME/.Xdefaults:
*loginShell: True