[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[m17n-lib:00027] Re: How to get M17NDIR?



Sorry for the late response.

In article <20040605.222151.68552863.yusuke@xxxxxxxxxxxxxxxxxx>, yusuke@xxxxxxxxxxxxxxxxxx writes:

> I am trying to read m17n-db files directly from uim.
> However, I could not find a convenient way to get m17n-db directory.

> Are there any convenient way to get it?
> I suggest you to add m17n-config --db option, but there maybe some
> issues with this solutions.

This is a difficult problem.  Even m17n-lib itself depends
on that m17n-db is installed with the same --prefix as
m17n-lib.  It seems that there's no smart solution as far as
m17n-db is distributed independently.

So, I've just added a command `m17n-db' in the m17n database
that works as below:

% m17n-db -h
Usage: m17n-db [ OPTIONS ] [ TAG0 [ TAG1 [ TAG2 [ TAG3 ] ] ] ]
Options:
  -h, --help	Print this information.
  -v, --version	Print the version number.
  -l, --locate	Print absolute pathnames of database files.
	TAG0 through TAG3 specifies the tags of the database.
With no options, print the installed directory name.

You can run the command "m17n-db -l input-methodd" to list
up all input method files.

Please try the latest CVS code of the m17n database.

---
Ken'ichi HANDA
handa@xxxxxxxx