#  X WINDOW SYSTEM STARTUP SCRIPT
#
#  This shell script is used to setup the initial X clients.  It is
#  passed as a parameter to xinit, to be run by xinit along with the 
#  X server.  When this script terminates the X window system will be
#  terminated.

#  Standard output and error output for programs started by this script
#  are redirected to /dev/null (i.e. discarded).  This avoids
#  output to the screen that would mess up the window system display.

exec >/dev/null 2>/dev/null
 
#  The following X clients are started up as part of the initial window
#  system environment.  Users can change or add to these default clients
#  in order to set up a custom environment.  All clients started up in
#  this script should be run in the background.

# setup delete/backspace
xmodmap -e "keysym BackSpace = Delete"  
xhost +cadillac 
xhost +media-lab 
xhost +bright-eyes 
xsetroot -fg 'black' -bg 'midnight blue' -bitmap /u2/eero/.background

# Specify border width -bw, internal border -b, mouse cursor -ms, title, geometry
xterm -ms "aquamarine" -title "login: `hostname`" -n "login" -geom 80x24+1+1 & 

xclock -geometry 140x75+0-0 &
xload -geometry 140x75+300-0 &

emacs -w 94x58-1+1 &

uwm 

#  The following "wait" call is done to insure that all terminated
#  child processes are cleaned up (i.e., no <defunct> processes are
#  left around).

# wait

#  All the X clients started by this script have terminated.  Now
#  sleep forever (if this script terminates the window system will
#  be terminated).  When the window system is terminated with
#  [Shift][CTRL][Reset] this script will be killed.

# exec sleep 4000000000

#  The window system is terminated when this script is terminated.
