Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!st-andy!larry From: larry@st-andy.uucp (Larry Martell) Newsgroups: comp.unix.wizards Subject: Re: how to check port settings on a Sun Keywords: stty; /dev/ttya; Message-ID: <1991May23.191124.359@st-andy.uucp> Date: 23 May 91 19:11:24 GMT Article-I.D.: st-andy.1991May23.191124.359 References: <837@hartmanis.albany.edu> Reply-To: uunet!st-andy!larry (Larry Martell) Distribution: usa Organization: RMJ Securities Corp. Lines: 19 In article <837@hartmanis.albany.edu> kevind@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