🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
1 messages
1 total messages Started by Henry Minsky Sat, 27 Oct 1990 22:32
Simple RAW serial rs232 output from a Sparcstation 1
#1102
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads