Hi, Thanks for the tmrwaiter function. Linux/lazarus never ceases to amaze me as to what it provides and how hard it to find what there is! I shall try it.
As to the other comment about flaky serial:
sdpoSerial is very rough around the edges. It frequently drops characters sending or receiving; if the serial device isn't found, it raises an exception! It randomly gives sigsegv errors too!
However, there doesn't seem anything else.
I have come from CBuilder and have used TComPort routines which were absolutely bombproof and I didn't have problems talking to serial devices. Shame these aren't available for lazarus.
The C routines are wiring serial ones, which are very good. My wrapper program does need some further work as at the moment, TProcess gets what is sent to stdout, but not stderr, so if the port doesn't exist, I don't get the "Unable to..." message, which does appear if one runs the C prog from the command line.
I just wish I could find a decent serial component for lazarus.
Brian