Simple RAW serial rs232 output from a Sparcstation 1
Henry Minsky
hqm at media-lab.MEDIA.MIT.EDU
Sun Oct 28 09:32:25 AEST 1990
I am trying to hook a faxmodem up to the serial port of a sparcstation.
I want to open the serial line at 19.2kbaud, RAW mode.
I want to be able to do a few simple operations:
read characters
write characters
flush the input buffer
Can anyone tell me the simplest way to do this? The Sun documentation
is a nightmare mixture of 4.3bsd / sysV compatibility options. I just
want to do some ioctl calls. But the documentation says that's
obsolete, use termios, or termio, which is made from STREAMS which is...
Can anyone point me at a simple example of source code, or recommend the correct
documentation to read?
Thanks,
Henry Minsky
(hqm at ai.mit.edu)
More information about the Comp.unix.programmer
mailing list