bug-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-xnee] Re: XNEE problems / Questions


From: Henrik Sandklef
Subject: [Bug-xnee] Re: XNEE problems / Questions
Date: Tue, 03 Feb 2009 00:01:38 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Burke, James wrote:

Shell problem:
I followed the example in section "5.8 Shell scripts using Xnee" of the xnee 
manual. Part of that example included xnee_fake_key calls:
                Xnee_fake_key l
                Xnee_fake_key s
                Xnee_fake_key XK_Return

Try "Return" (and not XK_Return)  ......

Does it work, then one of us has made a woops in the docs.

JB - No, Return did not fix the problem.


Strange, works here.

When I run the script, only the "l" gets outputted - the "s" and the return do 
not.

 I found that if I insert a "xnee_init_file" right before each "xnee_fake_key" 
call, it works.

The example and the bash file you're sourcing states you must call the init function.

JB - I do call "xnee_init_file" at the start of the script:
JB -            #!/bin/bash
JB -            . ~/jpburke/xnee_code/xnee-3.02/share/xnee.sh
JB -
JB -            xnee_init_file
JB -            sleep 1
JB -            xnee_fake_key l
JB -            xnee_fake_key s
JB -            xnee_fake_key Return
JB -            sleep 1
JB -            xnee_close_down
JB - JB - As executed above, I only get the "l" output. If I insert an xnee_init_file
JB - call before each xnee_fake_key call then it works as intended - "ls" and
JB - return is typed in my xterm and a listing of files in the current directory
JB - is displayed.


odd ..... yet crappy


Will have a look ... but after the other bug is fixed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]