One short correction. On 4.1 and 4.2 you CANNOT force data on someone else's tty line via the TIOCSTI call. I am not sure how this is checked for (possibly both read and write permission are required on the descriptor), but I tried it, and it does not work!