[Ecls-list] ecl_stream_to_handle bug? (Was: Latest changes)
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Wed Nov 1 18:59:50 UTC 2006
2006/11/1, Dave Roberts <dave at vyatta.com>:
> (if (isatty (ecl_stream_to_handle *standard-input*))
> ...set terminal for raw IO...
> ...else just use readline...)
Is a -1 a valid input to isatty? Don't you need to check the output of
ecl_stream_to_handle? I also presume you want to do
(if (isatty (ecl_stream_to_handle *standard-input*))
...else just use readline...
...set terminal for raw IO...)
Juanjo
More information about the ecl-devel
mailing list