作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 1985, Vol. 11 ›› Issue (04): 36-40.

• 论文 • 上一篇    下一篇

在unix支持下的一种汉字信息处理系统

蒋白桦   

  1. 中国石化总公司长岭炼油厂
  • 发布日期:1985-08-25

A CHINESN IMFORMATION PROCESSING SYSTEM SUPPORTED UNIX

Jiang Baihuo   

  • Published:1985-08-25

摘要: 本文介绍在 unix支持下的一种汉字信息处理系统,此系统是在 CODATAM 68 k上用 C语言实现的,它的副本被拷贝于5(1/4)时的脱机软盘上。原则上凡配有unix操作系统的微型机均可安装、使用或移植本系统。其主要设计思想是由 C语言利用原系统的定向及管道线功能,在原操作系统的I/O通道上插入一个象“筛子”一样的处理系统(称为sift系统),在被扩充了的操作系统下,将汉字信息象西文字串一样进行处理,对用户则完全透明。 本系统由中英文输出,汉字库,通用制表、更改字库、重建Sift、码本打印,更改汉字编码方案、重赋I/O设备控制码等八个模块组成,在本系统的设计中力求通用性,灵活性、可塑性,同时给用户留下可扩充余地(如:I/O设备的控制码参数化,汉字编码及其输入方法可由用户自定,可修改字库的汉字字模点阵等等),此外考虑到内存开销与找字速度的矛盾,为用户建立了一个动态字库、其数据结构为二叉树结构,由汉字编码到汉字内部码,采用折半查找法。

Abstract: This paper describes a Chinese information processing system supported by Unix and implemented by c language. Its essential concept of design is to turn to account redirection and pipe function of the original system by the use of c, and to insert a processing system (here it is called "SIFT SYSTEM") as a "sift" in the original I/O path. Under the operating system extended, the Chinese information is processed as English character strings are. This system takes account of utility, flexibility and plasticity, and accomodates users with extendable margins.