Simplified Chinese Solaris User's Guide

Running Earlier Binary Code

The following BCP command runs the compiled binary code of earlier SunOS4.x /Solaris 1.x /Chinese OpenWindows 2.x applications without recompilation, although OpenWindows V2 Chinese applications display no input server status region. As shown in the following examples, the command calls the application by its old name (old_application_name) and sets the basic locale, input language, and display language using the older version's specific locale name (oldlocale):


system% old_application_name -lc_basiclocale oldlocale -lc_inputlang oldlocale \
    -lc_displaylang oldlocale

    For a current Simplified Chinese Solaris release system to run the compiled binary code of an earlier version of the textedit application enter, for example:


system% textedit -lc_displaylang chinese -lc_basiclocale chinese  -lc_inputlang chinese

Incompatibilities between Simplified Chinese Solaris 2.x and 1.x applications do not permit cutting and pasting of Chinese characters between them.