how to check port settings on a Sun

Larry Martell larry at st-andy.uucp
Fri May 24 05:11:24 AEST 1991


In article <837 at hartmanis.albany.edu> kevind at cs.albany.edu (Kevin M. Dombroski) writes:
>Folks,
>	How do I change/check the port settings on a Sun 3/50? I've been told
>"stty mode > /dev/ttya" will change the settings; how do I check this? I've
>tried "stty -a < /dev/ttya", which has no effect. Please let me know. Thanks.

The BSD stty (which you will run by default - it's in /bin) will not change
or check the settings of anything other then the tty you are executing it
from. The System V stty (it lives in /usr/5bin), however, will do exactly 
what you want. To change port settings execute: 
	"/usr/5bin/stty mode > /dev/ttya". 
To check the settings run: 
	"/usr/5bin/stty < /dev/ttya".

When I came from System V to SunOS 5 years ago I had the same problem.
-- 
Larry Martell                  "Opinions are like assholes; everybody has one, 
212-668-9478		        but nobody wants to look at the other guys"
uunet!st-andy!larry



More information about the Comp.unix.wizards mailing list