If you can use it in 8.2.3, then there is something wrong with
8.3b2 and we will need to fix it. Otherwise, XIM isn't working
for you, and that's a different problem which we should also
fix, but at least it's not a new bug.
-- Scott
Keiichi Takahashi wrote:
>
> Hi, I am Japanese Tcl/Tk user.
>
> According to manual, it seems possible to use XIM on Tcl/Tk8.3b2, as shown below. But I've never got any successful results.
> Does anyone successfully use XIM on Tcl/Tk8.2b2?
>
> Regards,
> Keiichi, Japanese Tcl/Tk user
>
> ---
> tk useinputmethods ?-displayof window? ?boolean?
> Sets and queries the state of whether Tk should use
> XIM (X Input Methods) for filtering events. The
> resulting state is returned. XIM is used in some
> locales (ie: Japanese, Korean), to handle special
> input devices. This feature is only significant on
> X. If XIM support is not available, this will
> always return 0. If the window argument is omit-
> ted, it defaults to the main window. If the
> boolean argument is omitted, the current state is
> returned.
>
>
> --
> mailto:bit...@nyc.odn.ne.jp
>
>
>
>
Keiichi Takahashi wrote:
>
> Hi, Scott,
>
>
> > > Does anyone successfully use XIM on Tcl/Tk8.2b2?
> > >
> >
>
> Scott Redman wrote:
>
> > Can you use the XIM with Tcl/Tk 8.2.3?
>
> Sorry, this is my mistake. I am only talking about the feature of
> Tcl/Tk8.3.
>
>
> > If you can use it in 8.2.3, then there is something wrong with
> > 8.3b2 and we will need to fix it. Otherwise, XIM isn't working
> > for you, and that's a different problem which we should also
> > fix, but at least it's not a new bug.-- Scott
>
> O.K. I look foward to being fixed! This is really important feature
> for the people who uses multi byte character.
>
> Thanks,
> Keiichi
>
> --
> mailto:bit...@nyc.odn.ne.jp
>
--
mailto:bit...@nyc.odn.ne.jp
-- Scott
Keiichi
Keiichi Takahashi wrote:
>
> Hi, Scott,
>
> Now, I installed Tcl/Tk8.2.3 on my Linux Box which is already set
> Japanese environment, and checked XIM on text widget of this Tcl/Tk.
> It seems XIM isn't working on it. Does it required any specific
> setting on resource or options when compiling?
>
> Note: Of course, with Jan Nijtman's plus patch for Tcl/Tk8.2.3, XIM is
> working.
>
> Scott Redman wrote:
>
> > Actually, can you try using XIM in 8.2.3? It should work,
> > and if it doesn't this is another problem. If it does
> > work (in the older version), then something is wrong with
> > 8.3b2 and needs to be fixed.
> >
> > -- Scott
--
mailto:bit...@nyc.odn.ne.jp
-- Scott
My understanding for internationalization of
Tcl/Tk is that:
- Supported UTF-8 in Tcl/Tk8.1 release, but no XIM
support for multi-byte character.
- Jan Nijtman's Plus Patchs support XIM in
Tcl/Tk8.1 and 8.2. These XIM patches were
originally created by Mr.Hirano in SRA, Japan.
- Will suppport XIM in Tcl/Tk8.3 release with new
command, 'tk useinputmethod'. Brent Welch also
mentions in his book, 'Practical Programming in
Tcl and Tk Third Edition', Chapter 54, p.726.
In Tcl/Tk8.3 beta release, I have tried to use the
command 'tk useinputmethod', but it seems it
doesn't work. I am wondering if my usage of this
command would be incorrect. Then, at first, I just
would like to know typical or supposed usage of
this command or other method to use XIM on the
Tcl/Tk, and if it doesn't work with appropriate or
supposed usage, of course, I am going to submit
bug report. Thank you.
Regards,
Keiichi
In article <389DB57C...@scriptics.com>,
Scott Redman <red...@scriptics.com> wrote:
> Hmmm... OK, there must be something that was
missed
> in 8.2.3 that the Plus patch fixes. Jeff must
not
> have applied that fix to 8.3b2. Can you file a
bug
> report? Jeff is probably reading this thread,
but
> it's best to have it logged in the bug db.
>
> -- Scott
>
Sent via Deja.com http://www.deja.com/
Before you buy.
My understanding to internationalization of Tcl/Tk is that:
- In Tcl/Tk8.1 release, UTF-8 was supported, but not for XIM.
- Jan Nijtman's Plus Patches for 8.1.1 and 8.2.X cover XIM.
- In Tcl/Tk8.3 release, XIM will be supported as mentioned in Brent
Welch's book, 'Practical Programming in Tcl and Tk 3rd Edition', Chapter
54, p.726.
I guessed that is the command, 'tk useinputmethods' in Tcl/Tk8.3 beta
release, which enables to use XIM on Tcl/Tk running under UNIX
environment. Unfortunately, it seems that XIM isn't working with this
command.
I am wondering if my usage of this command is incorrect. Then, at
first, I would like to know appropriate or supposed usage of this
command, 'tk useinputmethods', and then will try this on my Linux
environment. If still XIM is not working under suppposed condition, I am
going to submit bug report. Thank you.
Regards,
Keiichi
Scott Redman wrote:
>
> Hmmm... OK, there must be something that was missed
> in 8.2.3 that the Plus patch fixes. Jeff must not
> have applied that fix to 8.3b2. Can you file a bug
> report? Jeff is probably reading this thread, but
> it's best to have it logged in the bug db.
>
--
mailto:bit...@nyc.odn.ne.jp
I had no idea this was the case with the plus patches. Reading
http://members1.chello.nl/~j.nijtmans/plus.html
it gives no indication of this.
> - In Tcl/Tk8.3 release, XIM will be supported as mentioned in Brent
> Welch's book, 'Practical Programming in Tcl and Tk 3rd Edition', Chapter
> 54, p.726.
>
> I guessed that is the command, 'tk useinputmethods' in Tcl/Tk8.3 beta
> release, which enables to use XIM on Tcl/Tk running under UNIX
> environment. Unfortunately, it seems that XIM isn't working with this
> command.
You are using the command correctly, the XIM support just
obviously isn't correct. If I had known earlier that the plus
patches had this working, I could have looked at them for 8.3.0.
If Jan can elaborate on what changes are necessary, then I'll
look at fixing it right after Tcl2K (busy week ahead).
--
Jeffrey Hobbs The Tcl Guy
jeffrey.hobbs at scriptics.com Scriptics Corp.
Thank you very much for your understanding, and also thanks so much for kind
help from Jan Nijtmans by mail.
Jeffrey Hobbs wrote:
> You are using the command correctly, the XIM support just
> obviously isn't correct.
O.K. I will just submit bug report.
> If I had known earlier that the plus
> patches had this working, I could have looked at them for 8.3.0.
Is this mean the bug related to 'tk useinputmethods' will be fixed by 8.3.0
release or later release?
> If Jan can elaborate on what changes are necessary, then I'll
> look at fixing it right after Tcl2K (busy week ahead).
Just FYI.
Original XIM patches can be obtained in
ftp://ftp.sra.co.jp/pub/lang/tcl/jp/tcl8.1.1i18n.patch.gz
ftp://ftp.sra.co.jp/pub/lang/tcl/jp/tk8.1.1i18n.patch.gz
These are for Tcl/Tk8.1.1 made by Motonori Hirano, and these are contained Jan
Nijtmans Plus-Patches in Tcl/Tk8.1.1+ and later versions. Thank you.
Keiichi
--
Keiichi Takahashi
mailto:bit...@nyc.odn.ne.jp
mailto:kt...@lsil.com
Jeffrey Hobbs <jeffre...@scriptics.com> writes:
> > I guessed that is the command, 'tk useinputmethods' in Tcl/Tk8.3 beta
> > release, which enables to use XIM on Tcl/Tk running under UNIX
> > environment. Unfortunately, it seems that XIM isn't working with this
> > command.
>
> You are using the command correctly, the XIM support just
> obviously isn't correct. If I had known earlier that the plus
> patches had this working, I could have looked at them for 8.3.0.
> If Jan can elaborate on what changes are necessary, then I'll
> look at fixing it right after Tcl2K (busy week ahead).
There is also a Japanese in-line conversion patch of Windows in Japan.
Do you know it?
I desire for it to go into Tcl core.
--
--------
Satoshi Imai
Software Development Department
Tokyo LSI Development center
NEC IC Microcomputer Systems, Ltd.
E-mail: s-i...@nims.nec.co.jp
No, I wasn't aware of this one. What functionality does it
provide? It'd be nice to get all these sorted out, so we can
finally have all this set in the core.
Jeffrey Hobbs <jeffre...@scriptics.com> writes:
> No, I wasn't aware of this one. What functionality does it
> provide? It'd be nice to get all these sorted out, so we can
> finally have all this set in the core.
If the following patches are applied,
the in-line conversion of a Japanese input will become possible at Windows.
http://members.xoom.com/tcltk/src/tk8.2ime1.1.patch.gz
Jeffrey Hobbs wrote:
> No, I wasn't aware of this one. What functionality does it
> provide? It'd be nice to get all these sorted out, so we can
> finally have all this set in the core.
>
> --
> Jeffrey Hobbs The Tcl Guy
> jeffrey.hobbs at scriptics.com Scriptics Corp.
The patch which mentioned by Satoshi is probably the same as that shown in my
URL.
http://members.xoom.com/tcltk/src/tk8.2ime1.1.patch.gz
http://members.xoom.com/tcltk/src/82ime11.zip
If you could read Japanese font, please see
http://members.xoom.com/tcltk/tips/tips006.html
This URL mentions instructions how to patch and compile sources with MSVC++6.0
SP3. At least, on 8.2.2, the patch works well though I have not patched it to
8.2.3 yet.
This patch was contributed by Kouichi Yamamoto. I wish these patches, I mean
for UNIX and Windows will be adopted in 8.3.1 release. Thanks.
Regards,
Keiichi
--
Keiichi Takahashi
mailto:bit...@nyc.odn.ne.jp
(Fuhito Suguri, pseudonym)
mailto:tc...@mx1.freemail.ne.jp