> Many thanks, Jan!
> 
> What's the bug in 'input?'?

See:  input? doesn't work properly with stdin (--cgi mode).
i.e. something is on stdin and input? return false,
but input return first line of data on stdin (that's correct).

It was posted to feedback.

Regards,
Jan

P.S.: maybe you can try to play with 
empty? head system/ports/input  
instead of input?

> >For reading stdin you can use functions input (reading)
> >and input? (checking if something on input), but you need
> >to run REBOL as cgi (or maybe without console), because in
> >other cases these functions are binded to keyboard buffer.
> >
> >But I should warn you: function input? has a bug in version 2.2.0.4.1
> >(Linux) and maybe in others.
> >
> >If you wanna just read some mailbox, try to do it via POP protocol
> >(documented somewhere on www.rebol.com).
> >
> >Regards,
> >Jan
> --
>                                       ...Len 
> 

--
Jan Strejcek
[EMAIL PROTECTED]

Reply via email to