Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpda!hpcuhc!hpausla!hparc0!graham From: graham@hparc0.HP.COM (Graham Eddy) Newsgroups: comp.sys.hp Subject: Re: stty on hp9000s300 Message-ID: <1510004@hparc0.HP.COM> Date: 27 Sep 90 15:36:30 GMT References: <1990Sep11.155337.17413@cunixf.cc.columbia.edu> Organization: Land of Oz: drunken koalas and wombats Lines: 15 > > Could some please tell me why stty [some mode] < /dev/tty?? doesn't > > work under hp-ux 7.0. works exactly as expected > This is just a guess, but here goes. When no process has a serial line > open, its stty values are undefined. When the first process opens a > serial line, the values are set to defaults (300 baud, cs8, etc..). Any i think it is more accurate to state that when the "first" open(2) occurs on a serial port, the "stty values" are set to a driver-dependent value, typically picked up from the interface board. no -default- settings on board? well, expect 300 baud, ... -graham "representing noone's view but his own"