Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

LocalIM(3X11)  —  X11R5

NAME

LocalIM − Conversion table of Local Input Method

DESCRIPTION

Converts keysyms to some keysym and strings. 

If the modifier @im is defined "Local", this table is loaded by the input method. 

Coding format:

<from>[<from>...]  [<to>[<to>...]]  [{str}[{str}...]
or
<from>[<from>...]  Command
or
InitialState  OnState/OffState

fromSpecifies a input keysym name which is enclosed with ’<’ and ’>’. 

toSpecifies a output keysym name which is enclosed with ’<’ and ’>’. 

strSpecifies output string name which is enclosed with ’{’ and ’}’.  the number of str must equal to the number of to.

CommandSpecifies which command (NoFilter/ConvertOn/ConvertOff). 

NoFilterThe input keysym(s) (from) is(are) not filtered by the input method. 

ConvertOnIf the input keysym(s) (from) is(are) pressed, the input method move in a conversion on state. 

ConvertOffIf the input keysym(s) (from) is(are) pressed, the input method move in a conversion off state. 

InitialStateSpecifies the initial state. The second argument is OnState or OffState. The default state is OnState. 

It is possible to omit to or str. But either must be set. 

Code notation of str:

\n     --> NewLine
\t     --> Tab
\b     --> BackSpace
\r     --> CarriageReturn
\f     --> FormFeed
\e or \E      --> Escape
\\    --> BackSlash
\??? or \o??? --> Octal
\x??   --> Hexadecimal
other   --> raw code

EXAMPLE

InitialState            OffState
<Meta_L>                NoFilter
<Execute>               ConvertOn
<Execute>               ConvertOff
<backslash><Mod1><C>    <cent>          {\E-A\xa2}
<grave><A>              <Agrave>        {\E-A\xc0}

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026