Main Page   Modules   Data Structures   Globals   Appendix  

Sample Programs

This section describes these example programs. They are to demonstrate the usage of the m17n library, not for practical use.

m17n-conv -- convert file code

SYNOPSIS

m17n-conv [ OPTION ... ] [ INFILE [ OUTFILE ] ]

DESCRIPTION

Convert encoding of given files from one to another.

If INFILE is omitted, the input is taken from standard input. If OUTFILE is omitted, the output written to standard output.

The following OPTIONs are available.

m17n-view -- view file

SYNOPSIS

m17n-view [ XT-OPTION ...] [ OPTION ... ] [ FILE ]

DESCRIPTION

Display FILE on a window.

If FILE is omitted, the input is taken from standard input.

XT-OPTIONs are standard Xt arguments (e.g. -fn, -fg).

The following OPTIONs are available.

m17n-date -- display date and time

SYNOPSIS

m17n-date [ OPTION ... ]

DESCRIPTION

Display the system date and time in many locales on a window.

The following OPTIONs are available.

m17n-dump -- dump text image

SYNOPSIS

m17n-dump [ OPTION ... ] [ FILE ]

DESCRIPTION

Dump a text as PNG image file.

The PNG file is written to a file created in the current directory with the name "BASE.png" where BASE is the basename of FILE. If FILE is omitted, text is read from standard input, and the image is dumped into the file "output.png".

The following OPTIONs are available.

m17n-edit -- edit multilingual text

SYNOPSIS

m17n-edit [ XT-OPTION ...] [ OPTION ... ] FILE

DESCRIPTION

Display FILE on a window and allow users to edit it.

XT-OPTIONs are standard Xt arguments (e.g. -fn, -fg).

The following OPTIONs are available.

This program is to demonstrate how to use the m17n GUI API. Although m17n-edit directly uses the GUI API, the API is mainly for toolkit libraries or to implement XOM (X Output Method), not for direct use from application programs.

mimx-anthy -- external module for the input method <ja, anthy>

DESCRIPTION

The shared library mimx-anthy.so is an external module used by the input method <ja, anthy>. It exports these functions.

See also

Input Method

mimx-ispell -- external module for the input method <en, ispell>

DESCRIPTION

The shared library mimx-ispell.so is an external module used by the input method <en, ispell>. It exports these functions.

This program is just for demonstrating how to write an external module for an m17n input method, not for an actual use.

See also

Input Method
Top of this page

Main Page   Modules   Data Structures   Globals   Appendix  

mulemark