From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1ae959b243797008,start X-Google-Attributes: gidfee84,public From: glp5941@osfmail.isc.rit.edu (Greg Pratt) Subject: Using stty on 'locked' LAT devices Date: 1995/09/19 Message-ID: <43mq83$525@news.isc.rit.edu>#1/1 X-Deja-AN: 110568647 organization: Rochester Institute of Technology, Rochester, NY [USA] newsgroups: comp.unix.osf.osf1 I posted this message a few days ago, but I'm reposting it because I'm not certain that our news server was propogating articles off-site at the time. I've been given the fun task of tracking down a problem we've been having with our LAT-based connections to our main OSF/1 box ever since we upgraded from 3.0 to 3.2. This affects all of our OSF/1 3.2 systems that have LAT enabled to allow login connections from our terminal servers. Simply put, when a user logs in via a /dev/lat/* device, they are unable to use stty to change some of the settings of their terminal. Here's what will come up: grace/glp5941[31]% stty #2 disc;speed 0 baud; -parity clocal erase = ^? brkint -inpck -istrip icrnl -ixany onlcr echo echoe echok grace/glp5941[32]% stty 9600 grace/glp5941[33]% stty -clocal grace/glp5941[35]% stty istrip grace/glp5941[36]% stty #2 disc;speed 0 baud; -parity clocal erase = ^? brkint -inpck icrnl -ixany onlcr echo echoe echok 'stty istrip' will enable this mode. However, attempting to set the line speed had no effect, nor did changing the 'clocal' mode. This seems to work normally with any normal /dev/tty* device. While this may seem trivial, we have several products -- most notably vi -- that do not respond well to thinking that the line speed is 0 bps. Some software will behave different when it believes the line speed is below a certain value, presumably to make it easier for people with really old, slow modems to deal with a system that would otherwise be slogging down their terminals with screen redraws and large bursts of text that the modem (or the user) wouldn't be able to keep up with. Our technical support people are unable to explain this. In fact, they asked me to do research on this. :) Has anyone got a clue what is causing this, and how we could get around it? -- Gregory L. Pratt Rochester Institute of Technology Lab Consultant, Programmer, Writer, Poet, Philosopher, and Chef-Wannabe Snail Mail: 42 Colony Manor Drive Rochester, New York 14623-3404 USA