Newsgroups: comp.windows.x
Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!noc.near.net!howland.reston.ans.net!ux1.cso.uiuc.edu!uwm.edu!caen!uunet!uchdcc!dcc.uchile.cl!gibanez
From: gibanez@dcc.uchile.cl (Gabriel Ibanez C.)
Subject: key event ----> window
Originator: gibanez@dcc.uchile.cl
Sender: usenet@dcc.uchile.cl (Network News)
Message-ID: <1993May17.202352.2116@dcc.uchile.cl>
Date: Mon, 17 May 1993 20:23:52 GMT
Nntp-Posting-Host: dcc.uchile.cl
Organization: Universidad de Chile, Depto. de Ciencias de la Computacion
Lines: 34

Hi there,


  Do someone of you have a program for sending a key event
to another window but it MUST appear in that window....

I have used xsendevent.tar package but it does not do that !!!

For example, if I get a program executing:

--------------
#!/bin/sh
read something
....
....
echo $something
....
....
--------------

and if I send the key event "<KeyPress>a,<KeyRelease>a"
to that window then I will get:

something=a


Thanks in advance.


-- 

   Gabriel Iban~ez C.          
   gibanez@dcc.uchile.cl
