X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=jNXxtK2nU6v47fK7
	ou9acglvxyOoEKqCN3tOvxZqzNLAJIIZ41JAAOPmBN7M3GGc7L4YSwQ5AnfW9lyu
	RoMnWRxuHHAsS1zCVdwX2oUJ8WTqnvu/5+/sow78AVhoNRBNMXRM7ilJuuZAKTHa
	FJPdMwKHr2iqvQsB0c4GRcRp5Io=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=6zPEhE7sdaeqdtSfnTeHmz
	PSaOQ=; b=qWWZ2mfuHpjflfoJBe9kSA6jW/3bjspuE+lK0kE1bQOuNXNeldxqW2
	5Yk9QD62BX4vZtTF1UZsV/mNmVcx5cci5KHttUjG+Kph4oE3VYaz8VGjkST6pzpE
	tAyb36WClVtwFIaBo2KEYXzKljVZ6KKodLdZSsJNS0jafVBw/UjMc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,WEIRD_QUOTING autolearn=ham version=3.3.2
X-HELO: out2-smtp.messagingengine.com
Message-ID: <55195263.8060200@dronecode.org.uk>
Date: Mon, 30 Mar 2015 14:40:51 +0100
From: Jon TURNEY <jon.turney@dronecode.org.uk>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: arthur.jim.tu@gmail.com
Subject: Re: Input method in cygwin-x ?
References: <CAHmJ-oXjSroGRdH6Wg43CNHAYSZUVwnWdeYX8956tJo6BmPAbw@mail.gmail.com>	<551427DA.3040100@dronecode.org.uk> <CAHmJ-oXcfHX+KLoH904D2ozEk=QBHJ1YfN88KMTfHuJQu3GEjA@mail.gmail.com>
In-Reply-To: <CAHmJ-oXcfHX+KLoH904D2ozEk=QBHJ1YfN88KMTfHuJQu3GEjA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 27/03/2015 06:41, Arthur Tu wrote:
> I did some experiments with ibus.
>
> I have a linux machine with ibus installed. When using that machine
> natively, I can use ibus without any further configuration, except for
> ibus daemon startup. Applications like gnome-terminal, xfce4-terminal,
> emacs24, google-chrome and chromium work fine ibus.
>
> When I access that machine from another Windows computer with "ssh -Y
> machine" and start ibus daemon with "ibus-daemon&", the following
> behavior was obeserved.
> 1.  ibus worked fine with gnome-terminal, xfce4-terminal and goolge-chrome.
> 2.  ibus didn't work with xterm, emacs24 and chromium.

Thanks for these details.

I did a bit of experimentation with a Ubutunu 14.10 remote host

ibus-daemon -drx
export XMODIFIERS="@im=ibus"

Gives me working ibus with xterm.

I couldn't get emacs working with ibus even locally, and setting that up 
seems to be a bit obscure.  Are you using ibus.el?

Chromium just works for me.

> On Thu, Mar 26, 2015 at 11:38 PM, Jon TURNEY
> <jon.turney@dronecode.org.uk> wrote:
>> On 25/03/2015 06:44, Arthur Tu wrote:
>>>
>>> Is there a way to use input method in cygwin-x environment?
>>>
>>> For example, when I invoke emacs with
>>> """""""""""""""""
>>> ssh -X remote-machine
>>> emacs
>>> """"""""""""""""""
>>>
>>> I can't use either input methods in local windows machine or those in
>>> remote linux server.
>>
>>
>> This is something that I want to work, but I'm afraid I have no experience
>> using IMEs, so I'm not sure what needs doing, which is why the section [1]
>> in the User's Guide is currently empty.  I hope you can help me with
>> identifying what that needs to say!
>>
>> I believe it should possible to start your IME (ibus, scim, etc.) in the
>> remote sessions and have that work.
>>
>> Alternatively, there was some work done a while ago to provide a bridge
>> between the native Windows IME and the server, which I believe allowed using
>> the native Windows IME to input into X windows.  If that is useful, I can
>> probably bring that up to date.
>>
>> [1] http://x.cygwin.com/docs/ug/using-i18n.html#using-i18n-ime
>> [2] https://www.cygwin.com/ml/cygwin-xfree/2005-01/msg00066.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

