in reply to Re^2: Detecting the current terminal
in thread Detecting the current terminal

web servers set some special %ENV values, don't remote terminal servers do the same?