[comp.sys.apollo] Serial ports under 10.1

kennel@mickey.cognet.ucla.edu (Matthew Kennel) (06/30/89)

How does one examine and/or change the characteristics of the serial ports
on an Apollo 4000, under SR 10.1?

Note, that I do _not_ have the fabled "tctl" program, or at least it's not in
my /usr/apollo/bin directory.

I'm trying to print to a laserwriter IINt through the serial ports under 10.1, and
am having big problems.

It's working _partially_ --- I can get some documents to print out (if I do a
"cat file >/dev/sio3") but after a while, the printer starts spitting back some
error message (flushing until end-of-file or something like that).  Somebody
mailed to me suggesting that the serial setup was screwed up, but I don't know
how to change it!  (I thought that the 'end-of-file' was a control-d, but I can
send control-d's until hell freezes over and it never breaks out. IN addition,
the light never stops flashing after I send a document, so I thought somehow
the handshaking might be messed up...)

For a more detailed description, see my post in "comp.lang.postscript" under
"Postscript Agony"...

I've even taken to essentially rewriting "stty"--open "/dev/sio3" and do all sorts
of ioctls on the file descriptor, but I'm not sure that will work.  On another
node, using a plain-jane terminal as the console through a serial port instead
of a display, I can't ever change the serial port characteristics with "stty"---
it doesn't give an error, but when I do a "stty everything" it reveals that it
never changed anything.

So, it comes down to this---has anybody successfully connected a Laserwriter IINT
to an Apollo 4000 running SR 10.1 and the Berkeley unix software?  What did you
have to do?  What setup do you have?

Does 10.1 _really_ use the regular tty driver?  Where do things get initialized?

Thanks in advance,
Matt Kennel
kennel@cognet.ucla.edu