summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-01-23 00:43:58 +0000
committerPádraig Brady <P@draigBrady.com>2015-01-24 01:06:59 +0000
commit81e5b59d8cedd1afb185ec5147ab25ed509ff80c (patch)
tree89f187b7e12cac32da4511c635a522edde7f9104 /doc
parented38d9d1cea592324de8133890789a3195d1b14d (diff)
downloadcoreutils-81e5b59d8cedd1afb185ec5147ab25ed509ff80c.tar.xz
stty: document the 'discard' character setting
The equivalent of this is 'flush', but that was never documented as an option (though was output with stty -a). Therefore use the more descriptive name, also generally used on BSD systems. Note even though this setting seems ineffective on Linux, supporting the setting is useful to allow terminal programs to receive the default ^O character code. * doc/coreutils.texi (stty invocation): Document the 'discard' option. * src/stty.c (struct control_info): Add 'discard'; same as 'flush'. (display_all): Show 'discard' rather than 'flush' char. (display_changed): Likewise. (usage): Document the 'discard' option.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index f84094039..078bca340 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -14438,6 +14438,11 @@ End the line.
@opindex eol2
Alternate character to end the line. Non-POSIX.
+@item discard
+@opindex discard
+@opindex flush
+Alternate character to toggle discarding of output. Non-POSIX.
+
@item swtch
@opindex swtch
Switch to a different shell layer. Non-POSIX.