Task

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



Related task

   Check output device is a terminal


/* Check input device is a terminal, in Jsish */
;Interp.conf().subOpts.istty;
 
/*
=!EXPECTSTART!=
Interp.conf().subOpts.istty ==> false
=!EXPECTEND!=
*/