Just for kicks I have written a little personal "quote of the day" thing for my workmates.
I chose not to bother installing/configuring pre-existing plugins and wrote my script parser in BlitzMax.
PROBLEM: STDIN blocks until a carriage return is recieved. Why is this?
input() could be coded seperately, STDIN itself could really do with a method to tell if there is anything coming in, and if so, how many chars there are, in order to prevent the system from blocking.
the system blocks because as stated in the CGI 1.1 spec, the browser is NOT obliged to send a carriage return after the bytes are set.
Any ideas what I can do here?
I chose not to bother installing/configuring pre-existing plugins and wrote my script parser in BlitzMax.
PROBLEM: STDIN blocks until a carriage return is recieved. Why is this?
input() could be coded seperately, STDIN itself could really do with a method to tell if there is anything coming in, and if so, how many chars there are, in order to prevent the system from blocking.
the system blocks because as stated in the CGI 1.1 spec, the browser is NOT obliged to send a carriage return after the bytes are set.
Any ideas what I can do here?