I'm in the process of porting a program from dos to linux.
Everything else is done, but I cannot figure out how to read the serial ports.
All the program has to do is log data supplied, via rs-232, by a dumb external
machine. In dos I wrote a serial interrupt handler in assembly, the rest in
C. All the C code has been ported, but I don't have a clue as to how to go
about the serial routines. All the docs I could find covered remote terminals
and console replacement.
The device that I have to read simply transmits a continuous stream of data.
It has no handshaking signals (hardware or software) - The redundancy is high.
If some data is not valid, you simply wait for it to be transmitted again.
- Simple enough if you can get at the data.
Any ideas at all would be appreciated.