Traditional Chinese Solaris User's Guide

How to Create a New Code Table Input Method

  1. Create and edit the code table source file.

    Prepare the code table source file to define the mapping of characters, words, or phrases to input keystrokes.

  2. Convert the source code table file to binary format.

    Use the txt2bin utility to convert the code table text file to binary file.

    # /usr/lib/im/locale/zh_TW/common/txt2bin source_codetable_file
    binary_codetable_file
    


    Note –

    You can find the txt2bin and bin2txt are utilities in the directory: /usr/lib/im/locale/zh_TW/common/


  3. Add the code table to the input method specification file, /usr/lib/im/locale/zh_TW/sysime.cfg.

    For example, if your new code table binary file is called newim.data, add the entry newim to the input method specification file, sysime.cfg.

  4. Restart the htt input method server by typing the following commands as root.

    # /etc/init.d/IIim stop
    # /etc/init.d/IIim start

    The new input method is ready to use when you log in to the system.