1

ttyS settings change when getty is run

view story
linux-howto

http://unix.stackexchange.com – I run: stty sane < /dev/ttyS1 stty -brkint ixoff -imaxbel -iexten < /dev/ttyS1 stty -F /dev/ttyS1 The result is: speed 38400 baud; line = 0; -brkint ixoff -imaxbel -iexten Next I run: /sbin/getty -L ttyS1 38400 vt100& ...and the serial connection doesn't work as expected. I check with stty again: stty -F /dev/ttyS1 ...and get this: speed 38400 baud; line = 0; min = 1; time = 0; -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke Why is it reconfigured, and how do I force the settings that I want? (HowTos)