diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-02-12 03:11:36 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-02-17 03:03:23 +0000 |
commit | 321bd11352d1f378128d65746852e073f86319d3 (patch) | |
tree | 57cfd9397cf9806c2d122c116167b6cd44384416 /doc | |
parent | 3d4daddc7041724fc92b33d9495afa395cc5d995 (diff) | |
download | coreutils-321bd11352d1f378128d65746852e073f86319d3.tar.xz |
stty: fix setting of 'extproc' on BSD
This setting is unusual on BSD as it's read normally in the local
flags returned by tcgetattr(), but can only be set with an ioctl.
Setting with tcsetattr() is ignored.
* src/stty.c (NO_SETATTR): A new flag to indicate the setting
is read and displayed like a normal termios flag, but is set
in some other manner.
(main): Skip tcsetattr() for this setting when this flag is set.
Also fixup the exiting 'extproc' processing to handle the
'-extproc' case correctly.
(sane_mode): Skip setting '-extproc' for 'sane' to avoid the error.
This isn't ideal but matches the operation of the BSD native stty.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions