]> git.ipfire.org Git - thirdparty/coreutils.git/commit
stty: document the 'discard' character setting
authorPádraig Brady <P@draigBrady.com>
Fri, 23 Jan 2015 00:43:58 +0000 (00:43 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 24 Jan 2015 01:06:59 +0000 (01:06 +0000)
commit81e5b59d8cedd1afb185ec5147ab25ed509ff80c
tree89f187b7e12cac32da4511c635a522edde7f9104
parented38d9d1cea592324de8133890789a3195d1b14d
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
src/stty.c