Reference

XDisplayOfIM(3x) on Linux

The text 09d25c23514d, as Debian 3.0 (Woody) shipped it.

open, close, and otain input method information

XDisplayOfIM(3x) on Linux now