Replace usage of TIOCSTI in csh using a more common IO-loop where ICANON is
authoranton <anton@openbsd.org>
Wed, 21 Jun 2017 18:55:15 +0000 (18:55 +0000)
committeranton <anton@openbsd.org>
Wed, 21 Jun 2017 18:55:15 +0000 (18:55 +0000)
commitc0d918cdfd9eaded8fe2bfdf189d0c13ee4b6c9a
treef9591b21648a66cc3a87fcacc2a4d2b551e36dc2
parentd5ed6f1bedcb1474b66f6f00597a38500df6c837
Replace usage of TIOCSTI in csh 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.

With help and feedback from deraadt@
bin/csh/file.c