in reply to is 0 bytes read EOF ?

This from perldoc -f sysread "There is no syseof() function, which is ok, since eof() doesn’t work very well on device files (like ttys) anyway. Use sys- read() and check for a return value for 0 to decide whether you’re done. "

Does this answer the question?

This by the way must be my "evil" post because it is the 666th post! BWAHAHAHAHAAHAHAHA!!!


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg