LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Stuffing a key into another virtual terminal's stdin (https://www.linuxquestions.org/questions/programming-9/stuffing-a-key-into-another-virtual-terminals-stdin-839414/)

RandomTroll 10-20-2010 07:19 PM

Stuffing a key into another virtual terminal's stdin
 
I want to put a keystroke into another virtual terminal's stdin.

A simple 'echo p > /dev/tty7' causes a p to appear on the console of tty7 but not the app running in tty7 to respond as though a p key had been pressed. Per the instructions of a fellow in the software forum I tried using an ioctl, but that returned a permissions error, even when I made the target VT's permissions 777 (and it had the same owner).

crabboy 10-20-2010 09:05 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Duplicate of:

http://www.linuxquestions.org/questi...-stdin-839110/


All times are GMT -5. The time now is 05:14 PM.