Task

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



Related task

   Check output device is a terminal


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