#!/bin/csh # /home/jhs/bin/.csh/dslx # xterm -geometry 20x5+120-0 -e dsl & # explicit public path to allow call from mk. switch (`hostname -s`) case park: case mart: echo "Run this on an internal host, not on a gate." # Gates can not read ~/.DOTS/.passwd/$DOMAIN2/pppctl` exit 1 breaksw default: xterm -bg rosybrown1 -geometry 20x5+120-0 \ -e /home/jhs/public_html/bin/.csh/dsl & breaksw endsw # Message for mk: # Not necessary as /etc/csh.login calls xauth.sh # cat << EOF # If you see: # Xlib: connection to "lapa:0.0" refused by server # Xlib: No protocol specified # xterm Xt error: Can't open display: lapa:0 # Then first run xauth.sh (on local screen host), then run dslx again. # EOF