#!/bin/csh -f
if ( -f ~/.profile ) then
xterm -title "Your .profile file" -bg gray -fg black -geom 80x24 \
        -fn 7x14bold -exec less ~/.profile
else
  cat >/tmp/.$$ <<EOF
  There is no .profile in your home directory
  echo " "
  type 'q' to close window
EOF

  xterm -title "Your .profile file" -bg gray -fg black -geom 80x4 \
        -fn 7x14bold -exec less /tmp/.$$
  rm -f /tmp/.$$
endif
