mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
stty currently fails like: $ stty 9600 $ saved=$(stty -g) $ stty 19200 "$saved" # Sets 9600 but reports failure stty: 'standard input': unable to perform all requested operations Whereas these work fine: $ stty 19200 9600 $ stty "$saved" 19200 * NEWS: Mention the bug fix. * src/speedgen (cbaud_to_speed): Determine the speed from the control flag encoding. * src/stty.c (recover_mode): If no separate speed specified, update the speed from the specified control flags. * tests/stty/stty-save-speed.sh: Add test cases.