1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-12 12:00:21 +02:00

doc: stty: mention the -g does not save the terminal window size

* doc/coreutils.texi (stty invocation): Mention that 'stty -g' does not
save the terminal window size as allowed by POSIX.1-2024.
This commit is contained in:
Collin Funk
2026-02-21 23:33:56 -08:00
parent c057266f15
commit 6ad189d87b
+4
View File
@@ -14665,6 +14665,10 @@ Print all current settings in a form that can be used as an argument to
another @command{stty} command to restore the current settings. This option
may not be used in combination with any line settings.
POSIX-1.2024 allows implementations of the @code{-g} option to exclude
the terminal window size from the output. This is the behavior of GNU
@command{stty}.
@end table
Many settings can be turned off by preceding them with a @samp{-}.