Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpl-opus!hpccc!hpcc01!hpwrce!ted From: ted@hpwrce.HP.COM ( Ted Johnson) Newsgroups: comp.unix.aux Subject: Re: Setting serial ports to 19.2 KB Message-ID: <860001@hpwrce.HP.COM> Date: 11 Jun 89 17:05:56 GMT References: <273@radar.UUCP> Organization: Ye Olde Salt Mines Lines: 22 >Does anyone know how to set the serial ports to 19200 baud? >The man page for stty mentions 19200 as equal to "exta", >but neither "stty exta nor "stty 19200 seem to do anything. "stty -a port is still set to the previous setting, and indeed it >is when tested. I haven't worked with A/UX, but other flavor of unix require you to first do a nohup sleep on the port, i.e., /bin/nohup /bin/sleep 99999999 < /dev/tty0 & stty 19200 < /dev/tty0 The nohup sleep keeps the port open, so that it remembers its port settings. The value used for sleep is usually something which is >> the amount of time you expect will pass before the machine is rebooted. -Ted