Re: Including </dev/tty> and completing from header will cause freezing up
On Sat, 10 Jul 2010, tyru wrote:
> #include </dev/tty>
Why are you doing this? I can't imagine it's a good idea in any
It's hardly surprising that Vim freezes up, considering you're
essentially causing Vim to try to treat the current TTY's input stream
like a normal file for completion type purposes, while at the same
time Vim also is trying to use the TTY for user input.
In other words, this is not a Vim bug, just a Unix user shooting
himself in the foot, which Unix doesn't really try to prevent.