LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux - simulate keyboard event

Hi,
can any one tell me how to simulate a Keyboard event such as escape in Linux ? i am using kernel 2.4.x
i found it can be done in windows using WinAPI calls! ..but i need do in LINUX ...any help is appretiated
thanks
madhan
0 Kudos
Message 1 of 3
(2,662 Views)
Hi Madhan,

I think you’ll want to use the ‘expect’ command in Linux for this. Do a ‘man expect’ in your shell or refer to this page: http://www.linuxforum.com/man/expect.1.php for information.

Hope this helps!

Kileen
0 Kudos
Message 2 of 3
(2,645 Views)
Hi Kileen
thank you for your reply ...i will try to work with it
madhan
0 Kudos
Message 3 of 3
(2,637 Views)