in reply to Detecting the current terminal

Why would the script care?

Replies are listed 'Best First'.
Re^2: Detecting the current terminal
by iphony (Acolyte) on Nov 12, 2008 at 09:42 UTC
    It's because some functions would be disabled if the user is running the script remotely.
      web servers set some special %ENV values, don't remote terminal servers do the same?