Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpfcso!hpfinote!maj From: maj@hpfinote.HP.COM (Mike Jassowski) Newsgroups: comp.sys.hp Subject: Re: stty on hp9000s300 Message-ID: <15480014@hpfinote.HP.COM> Date: 12 Sep 90 15:18:47 GMT References: <1990Sep11.155337.17413@cunixf.cc.columbia.edu> Organization: Hewlett Packard CICD Lines: 24 > Could some please tell me why stty [some mode] < /dev/tty?? doesn't > work under hp-ux 7.0. > Paul Puglia ---------- Although I don't use 7.0, I do see similar symptoms under 6.5. It seems that the stty command works, but as soon as stty closes the device, it goes back to normal. What I do is use two windows. One opens the device for I/O, the other issues the stty command. Example: [in first window] $ cat > /dev/tty [cat opens /dev/tty and waits for input] [in second window] $ stty [some mode] < /dev/tty [stty changes device and exits] Stuff typed into the first window should now be sent/received at the requested mode. Hope this helps. -- Mike Jassowski (maj@hpesmaj.fc.hp.com, (303)229-2227) (Standard Disclaimers Apply)