On Tue, 26 Dec 2006, Rainer Stratmann wrote:
> How to open correct the serial interface ('/dev/ttyS0') As far as I know, this is a terminal, so the terminal emulator will mess up the IO. You should open the raw device. > In my program it works for writing, but reading is not possible at the moment. > Has someone an idea or example code? If you have access to Toolbox, it comes with a TSerial component. It should work with FPC and Linux. I also think there is a serial unit distributed with FPC, but I am sure about it's inner workings. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal