Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SCIM/XIM in cygwin/Xemacs

21 views
Skip to first unread message

Mark Sammons

unread,
Aug 5, 2009, 12:20:01 AM8/5/09
to
Hi, All.

Some keystroke combination I inadvertantly entered started SCIM or XIM
(not sure which -- I'm going by fruitless web searches for a
solution).

This disables the rather important 'C-space' key combination,
overriding it so that instead
I get a little window with what looks like a chinese character and a
drop-down menu.

I have searched quite extensively for a solution, and found promising
candidates, but haven't
successfully resolved this problem yet.

Best candidate was: edit the Xresources file and set Xemacs.SCIM:
false, but this doesn't
change the behavior.

I infer that since I seem to have activated this feature in Xemacs, I
need to disable it in Xemacs
also. I did poke around the MULE settings, but nothing appeared to be
relevant.

I assume I'm not the only frustrated fatfinger out here... any help
would be very greatly appreciated.

Regards,

Mark

Julian Bradfield

unread,
Aug 5, 2009, 5:17:47 AM8/5/09
to
On 2009-08-05, Mark Sammons <maxd...@gmail.com> wrote:

> Some keystroke combination I inadvertantly entered started SCIM or XIM
> (not sure which -- I'm going by fruitless web searches for a
> solution).

Ah, yes. This took me weeks to sort out (on Linux).
You probably didn't start it in XEmacs - it probably got started by some
gtk application. I never did find out what exactly starts it.

> This disables the rather important 'C-space' key combination,
> overriding it so that instead

Indeed.

At first I just tried killing off the scim processes, but then sooner
or later they'd just get started again.

My eventual linux solution was the following in my startup:

# clobber the default input method in FC6
unset XMODIFIERS
unset QT_IM_MODULE
unset GTK_IM_MODULE

I guess XMODIFIERS is probably irrelevant on cygwin, but GTK_IM_MODULE
might be the target.

Colin S. Miller

unread,
Aug 5, 2009, 5:21:14 AM8/5/09
to
Mark Sammons wrote:
> Hi, All.
>
> Some keystroke combination I inadvertantly entered started SCIM or XIM
> (not sure which -- I'm going by fruitless web searches for a
> solution).
>
> This disables the rather important 'C-space' key combination,
> overriding it so that instead
> I get a little window with what looks like a chinese character and a
> drop-down menu.
That does sound like an input selection - my Acer laptop running Xfce triggers it
by LeftCtl-LeftShift on their own. LeftCtrl-Space will dismiss it.

>
> Best candidate was: edit the Xresources file and set Xemacs.SCIM:
> false, but this doesn't
> change the behavior.
>
> I infer that since I seem to have activated this feature in Xemacs, I
> need to disable it in Xemacs
> also. I did poke around the MULE settings, but nothing appeared to be
> relevant.
>
>

> Regards,
>
> Mark
Mark,

I assume that it has been permanently turned on, not just for the current session.

In this case, has it been added to your ~/.xemacs/config.el ?
This is where xemacs writes the configuration info to. This is
for option set via the "custom" system.

~/.xemacs/init.el is for configuration written directly in elisp by the user.


HTH,
Colin S. Miller

--
Replace the obvious in my email address with the first three letters of the hostname to reply.

Mark Sammons

unread,
Aug 5, 2009, 9:12:15 AM8/5/09
to
On Aug 5, 5:17 pm, Julian Bradfield <j...@inf.ed.ac.uk> wrote:

Thanks for the suggestion...

OK. I have this problem both on my own machine (Windows plus cygwin-
x) and on my work machine
(CentOS). On the work machine, I added the commands you suggest, and
source it, but the behavior
(over my putty connection) is still "no ctrl-space", alas.

I actually started reinstalling cygwin -- doubtless a mistake, as I'm
9000 miles from home and have lousy
internet connection, so I can't try out the suggestion on my local
machine... will let you know.

Thanks,

Mark

Julian Bradfield

unread,
Aug 5, 2009, 9:40:35 AM8/5/09
to
On 2009-08-05, Mark Sammons <maxd...@gmail.com> wrote:

> OK. I have this problem both on my own machine (Windows plus cygwin-
> x) and on my work machine
> (CentOS). On the work machine, I added the commands you suggest, and
> source it, but the behavior
> (over my putty connection) is still "no ctrl-space", alas.

Of course it won't work in that situation. The input method is
operating on your local machine - you need to disable it there.

Mark Sammons

unread,
Aug 5, 2009, 11:00:42 PM8/5/09
to
On Aug 5, 9:40 pm, Julian Bradfield <j...@inf.ed.ac.uk> wrote:

In that case, it is a general Windows setting somewhere. Do you have
a good sense of where to unset the SCIM/XIM options under Windows?
-- I had assumed it would depend only on cygwin/X -- that is all I
find
when web-searching for solution, and I'm running Putty under Windows.

Mark

Julian Bradfield

unread,
Aug 6, 2009, 3:20:21 AM8/6/09
to
On 2009-08-06, Mark Sammons <maxd...@gmail.com> wrote:
> In that case, it is a general Windows setting somewhere. Do you have
> a good sense of where to unset the SCIM/XIM options under Windows?
> -- I had assumed it would depend only on cygwin/X -- that is all I
> find
> when web-searching for solution, and I'm running Putty under Windows.

Now I'm totally confused. Where is your input method window appearing?

In fact, could you be precise about what's running where, and exactly
what you see where?
Windows input methods, as far as I can see from googling, have to be
switched on via the task bar.

Mark Sammons

unread,
Aug 9, 2009, 2:32:51 AM8/9/09
to
On Aug 6, 3:20 pm, Julian Bradfield <j...@inf.ed.ac.uk> wrote:

On Aug 6, 3:20 pm, Julian Bradfield <j...@inf.ed.ac.uk> wrote:

When I was running xemacs on my laptop (Windows Vista), I used to
get a little box pop up outside the xemacs window with the Chinese(?)
character as the default option from a little drop-down menu. The
box
was *tiny*.

As with the initial keystroke set that originally started this whole
mess,
I am not sure what made this window appear: it was, I *think*, after
ctrl-space and some other key, at which point the keyboard appeared
to stop responding and I'd sit there confused hitting keys and
wondering
why nothing was happening.

I have not seen that little window in a long time -- but ctrl-space
has been
dead to me since then. Appears to do *nothing*.

I had been using this setup to work remotely, and use my (much more
powerful) work machine. I had hoped that using Putty, this would
sidestep the problem (which I assumed was Cygwin, but now, who
knows). No dice: ctrl-space doesn't work there either. I just
reinstalled cygwin completely; and funnily enough, the first time
I booted up xemacs, there was a new *Windows* toolbar visible.
No window popped up when I hit ctrl-space, but no "select"
behavior either.

The Language toolbar had chinese and english language inputs as
options,
so I disabled the Chinese. Toolbar has now disappeared. ctrl-space
*still* doesn't work.

This does look like more of a Windows problem now... and there is
indeed
some discussion here:

http://stackoverflow.com/questions/179119/how-to-prevent-windows-xp-from-stealing-my-input-ctrl-space-which-is-meant-for-em

Though a) I don't see the ctrl-space keyboard shortcut listed in the
relevant window and b) ctrl-space still isn't
working, after deleting the Chinese input option...

Thanks for your help so far...

Mark

Mark Sammons

unread,
Aug 9, 2009, 7:36:08 PM8/9/09
to

> This does look like more of a Windows problem now... and there is
> indeed
> some discussion here:
>
> http://stackoverflow.com/questions/179119/how-to-prevent-windows-xp-f...
>

Another dead-end forum thread, for completeness...

http://social.answers.microsoft.com/Forums/en-US/vistaappearance/thread/f01de525-73b2-4c4e-969e-b5aa001c0eb7

0 new messages