On 10/06/09 21:31, Charles Campbell wrote:
>
> Hello!
>
> In running a not too trivial script I've written, I keep getting
> messages of the following sort (even when the script is quiescent, ie.
> after its opened its 8 windows):
>   (Centos 5.2/Linux/gtk)
>
> CALC/ xorn? An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
> Another agent is running...
> Failed to allocate the agent. Exitting...
> Failed to invoking the agent: Connection refused
> Cannot launch the agent
> Another agent is running...
> Failed to allocate the agent. Exitting...
> Failed to invoking the agent: Connection refused
> Cannot launch the agent
> An IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location ()
>
> In applying google to "IOException occurred at
> scim_bridge_client_imcontext_set_cursor_location", I see numerous bugs
> like this reported against various programs.  I suspect that this
> problem may be a vim+gtk+linux problem.  Anyone else see this, and any
> suggestions for how to figure out what's causing it?   BTW, these
> messages go to the launching GnomeTerminal even though I'm using gvim.
>
> Regards,
> Chip Campbell

I don't remember ever having seen those messages on my system, but scim 
is one possible XIM; it has settings for a lot of languages (including 
"English (American)"!). Are you sure your Input Method settings are 
correct? Or at least that they won't cause you trouble if you aren't 
aware that an IM is running? You may want to check the settings by 
clicking right, then "SCIM setup", on the keyboard-like icon in the 
system tray (or at least that's what it looks like to me on my KDE3 
winmanager).

In Vim, you may want to

        :setlocal imi=0 ims=-1

in any window where you want neither IM nor keymap handling at the moment.

See also
        :help 'iminsert'
        :help 'imsearch'
        :help 'imactivatekey'
        :help 'imdisable'

        :help mbyte-XIM
                and start scrolling from there

Note that the "Note" at lines 862 sqq of mbyte.txt (Last change: 2009 
Feb 28) seems a little outdated: my gvim with GTK2-GNOME GUI has 
"-xfontset +xim" compiled-in, which according to that note would be 
impossible. ":help 'guifontset'" correctly states that that option 
doesn't exist on GTK2 GUIs.

Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
49. You never have to deal with busy signals when calling your ISP...because
     you never log off.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui