[comp.unix.wizards] tc_flushc on BSD

clp@altos86.Altos.COM (Chuck L. Peterson) (08/27/89)

Okay, I give up.  What does tc_flushc (usually '^O') do?
The one use for such a character I can think of would be
to flush output when you accidently run "cat" instead of
"more" when remotely logged in on BSD systems.  ^C (SIGINT)
doesn't stop this output right away, and it really gets annoying.

It seems like some sort of ^C ^O combination would allow you to
immediately regain control of your terminal, but it doesn't.

The purpose for this cannot be simply to inconvenience people like
me who want their programs to read a ^O when in CBREAK mode.
Setting tc_flushc to -1 allows this to be read, by the way.

Chuck L. Peterson
clp@altos.com