Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!mit-eddie!media-lab!hqm From: hqm@media-lab.MEDIA.MIT.EDU (Henry Minsky) Newsgroups: comp.unix.programmer Subject: Simple RAW serial rs232 output from a Sparcstation 1 Message-ID: <3844@media-lab.MEDIA.MIT.EDU> Date: 27 Oct 90 22:32:25 GMT Organization: MIT Media Lab, Cambridge, MA Lines: 22 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@ai.mit.edu)