[comp.archives] [emacs] Chinese Emacs

simpson@math.psu.edu (Stephen G. Simpson) (02/16/91)

Archive-name: gnu/emacs/cxemacs/1991-02-15
Archive: cs.purdue.edu:/pub/ygz/cxemacs [128.10.2.1]
Original-posting-by: simpson@math.psu.edu (Stephen G. Simpson)
Original-subject: Chinese Emacs
Reposted-by: emv@ox.com (Edward Vielmetti)

The information below was posted on the Chinese Computing Network
(ccnet-l@uga.uga.edu) and is also available for anonymous ftp at
cs.purdue.edu in pub/ygz/cxemacs.

The Emacs Lisp code below leaves a lot of room for improvement.  If
you make any progress, please send your code to me
(simpson@math.psu.edu), Mark Leisher (mleisher@nmsu.edu), and
Yongguang Zhang (ygz@cs.purdue.edu).

--------------- beginning of cxemacs document ---------------

CHINESE EMACS !!!!!

Here is a way to make Emacs work under CXterm.  You will then be able
to use Emacs to edit Chinese files.

(For those who don't know, Emacs is GNU Emacs, the widely used
customizable text editor.  CXterm is a Chinese-capable X-Window
terminal program, based on MIT X11R4 XTerm.  CXterm uses the standard
GuoBiao coding of Chinese characters, where each Chinese character is
represented by two 8-bit bytes.  CXterm is available for anonymous FTP
at cs.purdue.edu, directory pub/ygz.)

FIRST, get the source code for GNU Emacs, version 18.55.  (The patch
below may also work for version 18.56 and above.  It will become
obsolete when version 19 arrives.)

SECOND, apply Ken Cline's 8-bit patch (at the end of this message) to
the Emacs source code.  Then compile and install Emacs, following the
instructions provided with the source code.

THIRD, put the following lines of Emacs Lisp code into your Emacs
startup file, normally .emacs.  (Alternatively, you can save this as
an autoloaded cxterm-mode.el file.)

[Patches and init files deleted.  --Ed.]