🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1102

Simple RAW serial rs232 output from a Sparcstation 1

#1102
From: Henry Minsky
Date: Sat, 27 Oct 1990 22:32
22 lines
1033 bytes
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)
Technical Details
Message-ID: <3844@media-lab.MEDIA.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!wuarchive!mit-eddie!media-lab!hqm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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