We are trying to hook an HP LaserJet IIID to our Sparcstation.
In trying to do this I have encountered a strange problem: I cannot seem to set
the terminal line characteristics with stty. As far as I can tell, the stty
call is either having no effect, or something is changing the characteristics
back as soon as my stty request is complete.
I am using the UCB version of stty as follows (for example):
stty > /dev/ttya
and the speed indicated is 9600. When I execute the following:
stty 19200 > /dev/ttya
I expect the speed to change to 19200 and it does not, likewise for any other
terminal characteristic. Executing the command as superuser or regular user does not change the outcome. The terminal line is turned off in ttytab, that is
the entry in /etc/tty (produced at startup) is "02ttya".
I have perused the stty(1v) and tty(4) manual pages but have no clue as to what
I am doing wrong. This command seqence works fine under ULTRIX.
Can anyone help?
Similarly, if anyone has connected an LJ3D to a Sparc and has a printcap entry they would be willing to share, I would also appreciate that.