简体中文 Solaris 用户指南

运行早期二进制代码

以下的 BCP 命令运行在早期 SunOS4. x / Solaris 1. x /Chinese OpenWindows 2. x 环境中编译的应用程序,而不需经过重新编译这些应用程序。其中的 OpenWindows V2 中文应用程序不再显示输入服务程序状态的区域。像下面实例所表明的一样,命令使用老名称 (old_application_name) 调用应用程序,并使用早期版本的指定语言环境名称 (oldlocale) 设置应用程序的基本语言环境、输入语言以及显示语言:


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

    要在目前的简体中文 Solaris 发行系统上运行编译成二进制代码的早期版本的 textedit 应用程序,可按下例键入:


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

简体中文 Solaris 2.x 和 1.x 应用程序之间的非兼容性使得无法在它们之间剪取和粘贴中文字符。