Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!mips!pacbell.com!att!news.cs.indiana.edu!nstn.ns.ca!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!mouse From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Newsgroups: comp.unix.wizards Subject: Re: how to check port settings on a Sun Keywords: stty; /dev/ttya; Message-ID: <1991May29.072411.10954@thunder.mcrcim.mcgill.edu> Date: 29 May 91 07:24:11 GMT Article-I.D.: thunder.1991May29.072411.10954 References: <837@hartmanis.albany.edu> <1991May23.191124.359@st-andy.uucp> Distribution: usa Organization: McGill Research Centre for Intelligent Machines Lines: 18 In article <1991May23.191124.359@st-andy.uucp>, larry@st-andy.uucp (Larry Martell) writes: > In article <837@hartmanis.albany.edu> kevind@cs.albany.edu (Kevin M. Dombroski) writes: >> How do I change/check the port settings on a Sun 3/50? [...] > 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. Then it's not a real BSD stty; Sun must have broken it. Real Berkeley stty ("@(#)stty.c 5.4 (Berkeley) 4/4/86") does most of its ioctls to file descriptor 1, meaning it will print/change the settings of its stdout. (Exceptions: "stty size" and "stty speed" explicitly use /dev/tty for some inscrutiable reason.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu