[Ecls-list] How do I determine if *standard-input* is coming from an interactive terminal
William Bland
doctorbill at gmail.com
Thu Jun 30 09:52:46 UTC 2005
Hi,
I'm using ECLS to write some command-line unix programs, and I need to
determine if *standard-input* is coming from an interactive terminal,
e.g. someone said:
$ myprogram arg1 ... argn
or if *standard-input* is being redirected from a pipe or a file, e.g.
$ myprogram arg1 ... argn < file
or
$ otherprogram | myprogram arg1 ... argn
Any suggestions?
Thanks and best wishes,
Bill.
More information about the ecl-devel
mailing list