Task

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



Related task

   Check input device is a terminal


 
IN: scratchpad USE: unix.ffi
IN: scratchpad 1 isatty
 
--- Data stack:
1
 