On Wed, Mar 09, 2005 at 03:47:05AM +0100, Pham Kim Long wrote:
> 
> Hi`nh nhu+ ba'c chu+a ddo.c ky~ manual:
> 
> 6.1 Using xterm with unikey
> ------------------------------
> If in the configuration file you set "CommitMethod=Forward" and unikey
> works fine with xterm, then you don't have to read this section.
> 
> If xterm does not work with "CommitMethod=Forward" then set
> "CommitMethod=Send" in the config file\. You also have to change change
> xterm settings by putting this line in ~/.Xresources:
> 
> xterm*allowSendEvents: 1
> 
> Then run:
> $ xrdb -load ~/.Xresources
> 
> Reason: By default xterm does not accept synthetic messages sent by
> other applications. 
> 
> ---------
> Ba'c co' the^? xem the^m o+? dda^y:
> http://unikey.org/manual/x-unikey-manual.html
> 
> Long

Thanks, problem sovled. DDu'ng la` to^i chu+a ddo.c ky~ manual. Sorry
for such mistake.

Just for record:
As I recall now, actually I did read manual before compliling.
After make install i took alook at unikeyrc it read:

# CommitMethod: Send|Forward|Mixed. Default: Send
#   Use XSendEvent or XIM forward key event to commit string
# Both methods will work with most applications.
# Some application with high-level security may
#   block XSendEvent, so CommitMethod must be set to "Forward"
# Some versions of xterm are known to work only if CommitMethod=Send
#   see doc/manual for information on xterm
# I recommend "Send" first. If it does not work, try "Forward"
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CommitMethod = Send

So I just assumed that "it does not work" and changed to "Forward". Then I
fired up xterm, typed something in and happily saw that it worked. Some days
later I used it again and problem occurs. 

BTW, I wonder how xunikey users pass XMODIFIERS to xterm or other apps
they use. In my case, I use a key combine to fire up xterm so I just
put XMODIFIERS="@im=unikey" before xterm in my command.

LXT.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
VietLUG-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho