[immodule-qt] command line qtrc setting tool.

YamaKen yamaken at bp.iij4u.or.jp
Wed Aug 18 11:51:41 EEST 2004


Hi Takumi,

At Tue, 17 Aug 2004 19:18:42 +0900,
takumi at asaki.jp wrote:
> I write command line qtrc setting tool(qtimconfig).
> 
> Please review attached patch.
> 
> It can show current setting, show immodule list, and set im-switcher and im-module.
> 
> show above it's usage message.
> 
> % ./bin/qtimconfig -help
> Usage: qtimconfig [options]
> Optinos:
>         -help                   print this message.
>         -show                   show default settings.
>         -list-all               show all immodule list.
>         -list-switcher          show only immodule switcher.
>         -list-immodule          show only immodule.
>         -set-switcher name      set 'name' as default immodule switcher.
>         -set-immodule name      set 'name' as default immodule.

I've checked your implementation. Thank you for the contribution.

But in accordance with recent discussion, I think that
qtimconfig should be altered about responsibility.

You and I had been agreed about disabling default IM (and
IM-switcher) configuration using qtrc. It had transferred the
responsibility 'configure default IM' to distribution-specific
configuration tools such as localedrake. So qtimconfig should be
specialized for IM (and IM-switcher) listing.

I think that new responsibility of the tool should be following.

(1) Provide available IM list to expert users to configure
    QT_IM_* envs by hand

(2) Provide available IM list to system integrators to construct
    IM configuration menu (such as in localedrake)

(3) Provide available IM list to imsw-multi to construct the
    popup menu

These responsibilities are similar to gtk-query-immodules-2.0 on
GTK+ environment. So we should make the tool closer to GTK+'s
one about behavior and result (the IM list format). It brings
following benefit.

- Any users can reduce learning and system maintenance cost
  involving the tool since the behavior, responsibility and
  result of the tool are similar to well-known
  gtk-query-immodules-2.0

- System integrators may share some code fragment of parser for
  the IM list between GTK+ and Qt

I also think that the tool should be renamed to
qt-query-immodules to explicitly indicate above similarity.

How do you think about it?

-------------------------------
YamaKen  yamaken at bp.iij4u.or.jp



More information about the immodule-qt mailing list