Skip to contentSkip to conversation

Keystroke simulator

DISCUSSION Bodo Eggert 1 participant 1 message Mar 29, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Mister Google

Is there a way to simulate a keystroke to a program, ie. have a program send it something so that as far as it's concerned, say, the "P" key has been pressed?

Yes. That's what programs like telnetd do.

Look for man 4 pts.