greycat 1259182705 learn The TIOCSTI ioctl() command lets you insert input into a terminal driver's queue. "Simulate Terminal Input".