[squeak-dev] International text input on X11

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Tue May 17 16:46:04 UTC 2016


On Tue, May 17, 2016 at 7:29 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
>> On 16.05.2016, at 19:06, Yoshiki Ohshima <Yoshiki.Ohshima at acm.org> wrote:
>>
>> On Mon, May 16, 2016 at 10:04 AM, tim Rowledge <tim at rowledge.org> wrote:
>>> Forgive me if I’m being hopelessly naive here, but does this text input mechanism work for other languages too? Would it, for example, be usable as an on-screen keyboard for theRaspberry Pi lcd touchscreen?
>>
>> It should work for any other languages that ibus or scim can handle.
>> Yes, it will be usable with the on-screen keyboard.
>
> Would it be feasible to make the VM primitives generic? That is, do not call it “ImmX11Plugin” but e.g. “KeyboardPlugin” and the “focus” primitive would be called whenever a text field is focused, and the image would pass the cursor position as arguments (plus possibly the text field bounds).
>
> Then we could implement the same primitives in e.g. the iOS or Android VMs to support the on-screen keyboard.

I think it's feasible in theory. Originally, we had separated
primitives for different platforms and the dispatch was done in the
image. But standard primitive sounds reasonable.

On the practice side, The current ImmX11Plugin somehow got some Unix
Locale features, which must have been added by for some reasons; it is
is a bit overloaded and may require to disentangle them.




-- 
-- Yoshiki


More information about the Squeak-dev mailing list