PDA

View Full Version : stty -F does not use specified device



buddy1138
10th March 2011, 11:43 PM
I have a java program that opens /dev/tty6 and writes vt100 escape sequences and characters. The problem is that the terminal is echoing the control keys that are typed on the screen. I have tried to use "stty -F /dev/tty6 -echoctl to turn it off but this does not work - "stty -a -F /dev/tty6" shows echoctl is still in force. If I try the stty command in a terminal without -F "stty -a" properly reports -echoctl. It just seems that the -F parameter is not getting the setting to the proper tty. Any help would be appreciated. Thanks. Buddy