ARIF_RIME(3) ARIF User Manual ARIF_RIME(3)

arif_rime - example Rime IME integration for ARIF

#include <arif_rime.h>
extern struct arif_engine const arif_rime_engine;

An example implementation of ARIF engine, powered by the Rime IME core library.

See the manual page of arif_set_engine() for how to use this engine.

The init() function of arif_rime_engine ignores the first argument. Engine configuration is instead read from environment variables.

Note that the variables are only read during the first init() call, initialization of subsequent engine instances share the same configuration.

Path to the directory where Rime schema data files are stored.
Defaults to "/usr/share/rime-data".
Path to the directory where user configuration files are stored.
Path to the directory where Rime log files will be written to.
Defaults to "/tmp".
Rime minimum log level. Should be one of INFO, WARNING, ERROR or FATAL (case insensitive).
Default log level is INFO.
A whitespace-separated list of Rime modules to load before Rime initialization.

This is only an example to shed light on how an ARIF engine can be implemented. It is not intended for everyday use.

Only part of Rime's features are supported, and may not work as expected with certain configurations.

Copyright (C) 2023 CismonX <admin@cismon.net>

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

You should have received a copy of the license along with this document. If not, see <https://www.gnu.org/licenses/fdl-1.3.html>.

arif_set_engine(3)

Rime IME core library: <https://github.com/rime/librime>

January 2, 2023 0.1.0