# .profile - gehoert ins jeweilige HOME-Verzeichnis # Set up the command search paths: PATH=/usr/bin/:/usr/bin/X11:/usr/contrib/bin:/usr/sbin:$HOME:$HOME/bin:. export PATH # CDE should not invoke tty commands. if [ ! "$DT" ]; then # Set up the terminal: TERM=$(ttytype) # The -h in tset will refer to /etc/ttytype for terminal types # eval ` tset -s -Q -h` # You could also hardcode your terminal type with: # TERM=2392a echo TERM has been set to $TERM # The intr "^C" maps ctrl-c instead of DEL for program interrupt stty erase "^H" kill "^U" intr "^C" eof "^D" susp "^Z" stty brkint hupcl ixon ixoff fi # Remove write access from the default permissions for group and others umask 022 # Set up Korn shell variables # Inform the Korn shell to reference the $HOME/.shrc file # Aliases are usually defined here ENV=$HOME/.shrc; export ENV # The following variables are used to set up the command stack # and the history feature EDITOR=/usr/bin/vi; export EDITOR HISTSIZE=5000; export HISTSIZE HISTFILE=$HOME/.sh_history; export HISTFILE FCEDIT=/usr/bin/vi; export FCEDIT # Run the script .logout to clean out the history file # created by the Korn shell command stack trap "$HOME/.logout" EXIT # The following lines can be updated for your application and uncommented # if you want your application to start automatically when loggin in #exec /usr/bin/myapplication # Private Variablen export index=0