if im going to make my project work in cross platform,

what is the equivalent of sendkey() from windows in linux..

like send keystrokes?

examples are much appreciated..

tnx
trip