in reply to Expect and PTY dropping data
After some investigation I have found that the operative system drops data when syswrite is called with more than 512 bytes or when consecutive enough syswrites summing up more than 512 bytes are performed.syswrite returns the number of bytes written, and the caller is responsible for re-syswriting the bytes that didn't get written. Is it possible that the return value is not being checked? Or is the OS simply reporting that the syswrite call succeeded even though data is being dropped?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Expect and PTY dropping data
by salva (Canon) on May 21, 2008 at 14:56 UTC | |
by moritz (Cardinal) on May 21, 2008 at 15:02 UTC |