]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: stty: mention the -g does not save the terminal window size
authorCollin Funk <collin.funk1@gmail.com>
Sun, 22 Feb 2026 07:33:56 +0000 (23:33 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Sun, 22 Feb 2026 07:33:56 +0000 (23:33 -0800)
* doc/coreutils.texi (stty invocation): Mention that 'stty -g' does not
save the terminal window size as allowed by POSIX.1-2024.

doc/coreutils.texi

index def1a8820198c1872bd8a203802f85837713b890..aeb258b23107ffe5d5affc2952ee93ade95377a2 100644 (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{-}.