What is the discard option in stty -a
?
There is a patch to document this 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.
Source [PATCH] stty: document the 'discard' character setting