On Tue, November 28, 2006 7:25 am, Jochem Maas wrote: > so the question is how can I use readline() and handle the SIGINT > gracefully whilst not waiting > for readline() to return control to my script? I'm just guessing here, but you probably don't. You could, howver, write your own PHP function similar to readline, only without whatever is in readline that ignores/buffers signals. You'd want something like an fread($x, 1) on a non-blocking stream, and then build up the string character by character, until you get a newline. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php