how to check port settings on a Sun

der Mouse mouse at thunder.mcrcim.mcgill.edu
Wed May 29 17:24:11 AEST 1991


In article <1991May23.191124.359 at st-andy.uucp>, larry at st-andy.uucp (Larry Martell) writes:
> In article <837 at hartmanis.albany.edu> kevind at 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 at larry.mcrcim.mcgill.edu



More information about the Comp.unix.wizards mailing list