/* Program to send a string to an X-Window as if it was keypresses *Thisisusedbythexdvihelpviewertoflippages. *First,veryrudimentaryversionthatdoesonlyrecognizeafewkeys. *TheneatXWindowseventcodeisduetoShaneSmit(ssmit@caldera.com), *theatrociouswraperlooprunningoverastringisbyA.Hulpke(who
* still cannot code proper C...) 27-Nov-00 */
#include <X11/Xlib.h> #include <X11/keysym.h>
int main( int iArgc, char *asArgv[] )
{ char *cmd;
Display *pDisplay;
KeyCode A_KeyCode;
KeySym kasy;
XKeyPressedEvent KeyPressEvent;
XKeyReleasedEvent KeyReleaseEvent;
Window Target; int iDummy,i;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.