Replace usage of TIOCSTI in mail while editing headers using a more common
authoranton <anton@openbsd.org>
Wed, 28 Jun 2017 14:58:23 +0000 (14:58 +0000)
committeranton <anton@openbsd.org>
Wed, 28 Jun 2017 14:58:23 +0000 (14:58 +0000)
commitbaecf150995d4609cd147948779361c3152f355d
tree047e0361b818336ac06ade69ffc76773b03ca482
parentbed15beb5859d80e72ca75fac4a841a7fd239c6a
Replace usage of TIOCSTI in mail while editing headers using a more common
IO-loop where ICANON is disabled and a single char of input is read at a time.
This requires the line editing capabilities provided when ICANON is enabled to
be implemented.

ok deraadt@
usr.bin/mail/tty.c