Task

Demonstrate how to check whether the output device is a terminal or not.



Related task

   Check input device is a terminal


(with-open-stream (s *standard-output*)
  (format T "stdout is~:[ not~;~] a terminal~%" 
          (interactive-stream-p s)))