summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-02-12 03:11:36 +0000
committerPádraig Brady <P@draigBrady.com>2015-02-17 03:03:23 +0000
commit321bd11352d1f378128d65746852e073f86319d3 (patch)
tree57cfd9397cf9806c2d122c116167b6cd44384416 /doc
parent3d4daddc7041724fc92b33d9495afa395cc5d995 (diff)
downloadcoreutils-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