>> >I need to send regularly timed keystrokes to an app that opens a
>> >graphic window. The keyboard interaction is handled by the app via
>> >glutKeyboardFunc (the vendor sent me the relevant source code
>> >fragment).. I'm not familiar with this, and the vendor was not
>> >familiar with the details of expect. On my end, Expect is loading
>> >app fine from terminal, and getting its output back on the
>> >(controlling) terminal, so my "expects" are working, but the
>> >sequences I'm "sending" in reply have no effect on the app.
>> >Is communicating via expect through the GL function doable?
>> >I'm thankful for any guidance;
>> Well, as I think you've discovered, Expect only works with character
>> apps. But it was good for you to discover this on your own.
>Yeah; I feel like Columbus...
>It's tough to shake the bliss, until one's ignorance stands up and
>Thanks for the illumination;
FWIW, I looked at "xlab" last night - compiled easily - and it seems to
work. It is a little unpolished (clear that the author had a lot more to
do and never got around to finishing it - note that his web page is 404
now, so for all we know, he may be dead), but it does work.
I was able to automated an xv (picture viewer) session with it. Note that
xlab is strictly "record-and-playback" - it is not a programming language
like Expect is.
I'd be happy to hear about newer/better automation tools for X.