From 81e5b59d8cedd1afb185ec5147ab25ed509ff80c Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Fri, 23 Jan 2015 00:43:58 +0000 Subject: 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. --- doc/coreutils.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3-70-g09d2