-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
stty's manual page says
--file [...] open and use the specified DEVICE instead of stdin
The "instead of stdin" part is not true: by default it doesn't work on stdin, it works on the controlling terminal.
Therefore redirection like stty ... < /dev/pts/N, which works with GNU Coreutils stty, doesn't work here.
Of course, --file is available as a substitute. Nevertheless, unless there's a reason I can't see, I recommend to modify the behavior to match the manual (and not the other way around), that way redirection with < would also work for those who got used to this behavior.
(version 0.2.2 as shipped by Ubuntu 25.10)
naoNao89