twconvdict Command

Purpose

Converts other user dictionary to the operating system user dictionary. This command only applies to AIX® 4.2 or higher.

Syntax

twconvdict-i Type ] [ -v CodePage ] [ -f Source ] [ -t Target ]

Description

The twconvdict command converts a dictionary to an operating system user dictionary. The supported code pages are SOPS, PS55 and ET. The dictionary type include both Tseng_Jye and Phonetic user dictionaries.

Flags

Item Description
-f Source Specifies the name of font file to convert.
-i Type Specifies the type of dictionary to convert to. Type can be:
TJ
Tseng_Jye, or
PH
Phonetic.
-t Target Specifies the name of the converted font file.
-v CodePage Specifies the type of code page to convert to. CodePage can be:

SOPS

PS55, or

ET.

Exit Status

This command returns the following exit values:

Item Description
0 Successful completion.
>0 An error occurred.

Security

Access Control: You must have root authority to run this command.

Auditing Events: N/A

Examples

To convert the dictionary USRFONT.C12 to an operating system dictionary of code page of type SOPS and dictionary type of Tseng_Jye with the name aix, enter:

twconvdict -i TJ -v SOPS -f USRFONT.C12 -t aix

Files

Item Description
/usr/lpp/tls/bin/twconvdict Contains the twconvdict command.