From: Mark Firestone Date: 2008-07-01T19:05:03+09:00 Subject: in select: interrupt Anyone getting errors like this.... I'm working on a console mode full screen editor (that Dossy kindly prototyped for me years ago). Basically, it's reading $STD_IN with a select, thusly: if select([@in_io], nil, nil, 1) c = @in_io.sysread(1) {lots of stuff to process the input follows...} Funny thing is, there seems to be a finite amount of code that can be below here, in the input loop. After I add a certian amount, I start getting funny errors while I'm typing in the editor, either in select: interrupt, or the program simply says "Quit" and abends. If I take some code out, the behaviour stops. Problem is, I need this code. I was also having the same issues when i was using term/ansicolor. I wrote my own ansi module and this went away, until I started adding code to the select loop. ... I've used select in this way before, on a TCP/IP socket, with no issues....