cloos at acsu.buffalo.edu writes: What I tried is: if ( ($HOSTTYPE)=sun3 && ($TERM)=sun ) X11 "==", not "=". Parenthesize around the whole expression, too: if (($HOSTTYPE == sun3) && ($TERM == sun)) X11 --karl