#!/bin/csh -f set WIDTH=`tput cols` set HEIGHT=`tput lines` echo "The terminal is $WIDTH characters wide and has $HEIGHT lines."