Subject: Re: bug#67619: stty on Chromebook

From: Pádraig Brady <[email-masked]>
Date: Mon, 4 Dec 2023 13:28:24 +0000

tag 67619 notabug
close 67619
stop

On 04/12/2023 07:41, Dan Jacobson wrote:
> Seen on Chromebook:
> $ stty speed
> 38400
> $ stty speed 1200
> 38400
> $ stty speed 1200
> 1200
> coreutils 9.4

"speed" only prints the current setting.
A number on its own, sets the input and output speeds.
So depending on the order of the supplied "speed" or <number>,
it will print the current speed before or after it is set.
If you want to set speed with explicit directives you would need:
   stty ispeed 1200 ospeed 1200

cheers,
Pádraig