Re: Keystroke simulator

From: Bodo Eggert
Date: Tue Mar 29 2005 - 15:25:50 EST


Mister Google <binary-nomad@xxxxxxxxxxx> wrote:

> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/