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

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.
This commit is contained in:
Pádraig Brady
2015-01-23 00:43:58 +00:00
parent ed38d9d1ce
commit 81e5b59d8c
2 changed files with 23 additions and 1 deletions

View File

@@ -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.