Sample Client-side Scripts:


client1:

#! /bin/csh -f

echo "Environment:"
echo "--------------------------"
echo ""
echo "PWD = `pwd`"
echo ""
echo "Data from stdin:"
echo "--------------------------"
cat
echo "--------------------------"

client2:

#! /bin/csh -f

xterm -sb -e /bin/csh -f -c "\
echo 'Environment:' \
echo '--------------------------' \
setenv \
echo '--------------------------' \
echo '' \
echo 'PWD = `pwd`' \
echo '' \
echo 'Data from ${1}:' \
echo '--------------------------' \
cat $1 \
echo '--------------------------' \
\
echo ''; echo '[Press RETURN to continue]'; set junk "\$"< \
"