ChinesePower 3.0 - A Double-Byte Word Processor on X window and Windows95 ------------------------------------------------------------- 0. What is it? A Double-Byte Word Processor on X window. Basically, it has a root window. From the root window. You can open an input window and unlimitted numbers of edited file windows. It has all the features of the modern word processing plus generating gif file of the chinese document. o GB, HZ, Big5, EUC-JIS, EUC-KS, UNICODE, UTF7, UTF8 encoding support in the same document o Easy use tool bar and edit bar o GB, Big5, JIS, KS input o Input phrase library modification o Horizontal and vertical lines o Documents to GIF o Unlimited concurrent edited files o "What You See is What You Get" o Support both TTF (True Type Font) and HBF (HZ Bitmap Font) fonts (TTF font make big HZ looks good) o Graphics in Document o Multiple fonts and sizes at the same time o Mutiple columns o Mutiple alignments o Underline and middle line o Page setting o PS on-line print o Color PS support o Find & change o Multiple colors o Header & foot note o Zoom in & Zoom out o New HZ input interface o HZ <-> GB, Big5 <-> GB, Unicode <-> GB, Unicode <-> Big5 JIS <-> GB, JIS <-> Big5, JIS <-> Unicode, KS <-> Unicode o Middle button copy o Right button Popup menu o Auto save o Auto crash Backup o Tool to print the Chinese, Japanese or Korean documents in the Netscape o Also supported on Windows95. The Windows95 version is available from: ftp://ccic.ifcss.org/pub/software/ms-win/editor/chpower3.zip GB and HZ are used in mailand China and Singapore. Big5 is used in Taiwan and HongKong. JIS is used in Japan. KS is used in Korea. Supported Graphics Format: gif, bmp, pm, and pcx. ---------- 1. Requirements In short, you need a Unix account to hold the ChinesePower software and a display that allows you to open X windows from your Unix account. A) Hardware: In theory, any hardware that supports Unix and X window But I have only tried it on Sun Sparcs, and HP. On some HP, it does not work. Examples: Workstations: Sun, HP, DEC station, IBM RT or RS, SGI. High-end PCs: 386/486/Pentium PC with VGA (or better) or Mac. X terminal: Visual X Terminal, NCD, HP/X. X terminal users must have access to the Unix back-end server machines. B) Software: Unix operating system and X Window System. Your system must come with all the necessary files to support X and Motif1.2 application development, which include all the header files and link libraries for X11, Xt, and Xm. 386/486/Pentium PC users must run Lunix or other Unix operating systems (e.g., SCO, UNIX386, BSD386/386bsd) and XFree86. ChinesePower will not run in DOS or Windows or Window NT. Macintosh users must run A/UX (no Macintosh OS), DECstation users must run OSF/1 or Ultrix (no VMS), IBM RT/RS must run AIX (no OS/2). ---------- 2. Make A) Get ChinesePower source code from the Internet. ftp://ccic.ifcss.org/pub/software/x-win/editor/README.chpower-3.0 ftp://ccic.ifcss.org/pub/software/x-win/editor/chpower-3.0.tar.gz You can also get the package from other sites: (Beijing) info.bta.net.cn:/pub/software (partial); (Shanghai) info.sta.net.cn:/pub/software (partial); (Singapore) ftp.technet.sg:/pub/chinese (full) (Taiwan) ftp.edu.tw:/Chinese/ifcss/software (full); (Taiwan) nctuccca.edu.tw (IP: 140.111.3.21); (US) cnd.org:/pub/software (IP: 132.249.229.100); B) Unpack the source code archive: csh% gunzip chpower-3.0.tar.gz csh% tar -xvf chpower-3.0.tar csh% cd chpower-3.0 C) Compile Modify Makefile if necessary: If you are using "Linux", please copy "Makefile.linux" to "Makefile". If you are using "Linux" and X11R6, please copy "Makefile.linuxR6" to "Makefile". If you are using X11R6, please copy "Makefile.X11R6" to "Makefile". In "Makefile": Include file directories must be correct X11: X11INC Motif: XMINC Lib file directories must be correct X11: X11LIB Motif: XMLIB Compiler Name must be the C compiler that you have: "cc" or "gcc" and then issue command csh% make The compiling should successed for most workstation. Otherwise, please let me know what is the problem. After the compiling finished, issue csh% cd chpower csh% chpower It will display a beautiful window but you have to do Step 3-6 to have it work properly. -------------- 3. Get Font Files: *************************************************************************** You must have 8x16.hbf and 8x16.bin and at least one set other font files. *************************************************************************** 8x16.hbf and 8x16.bin comes with this package and in directory chpower-3.0/fonts/. 3.1 HBF Font: You can get GB HBF font files from ftp://ccic.ifcss.org/pub/software/fonts/gb/hbf/ Such as: cck24, cclib16, cclib16f, etc. (Attention: a HBF font is a set of files rather than one single file. You must read HBF specification in ifcss to understand which files belong to a HBF font) It is recommended to put font files into directory chpower-3.0/fonts/ You can also get Big5 HBF from: ftp://ccic.ifcss.org/pub/software/fonts/big5/hbf/ Unicode fonts from: ftp://ccic.ifcss.org/pub/software/fonts/unicode/hbf/ JIS, KS fonts from: ftp://ccic.ifcss.org/pub/software/fonts/misc/hbf/ The HBF files used for ChinesePower must be in GB, Big5, JIS, KS or Unicode encoding. 3.2 TTF Font: There are free Big5 TTF fonts at: ftp://ccic.ifcss.org/pub/software/fonts/big5/ms-win/ JIS TTF at: ftp://ccic.ifcss.org/pub/software/fonts/misc/ms-win/ But no other free TTF Font file available. You can buy it from http://www.gy.com/ or somewhere else or your PC. The TTF files used for ChinesePower must be in GB, Big5, JIS, KS or Unicode encoding and Microsoft encoding. ------------- 4. Get East Asian Input Methods: ChinesePower uses cxterm5.0 East Asian input methods. You can get cxterm5.0 from ftp://ccic.ifcss.org/pub/software/x-win/cxterm5.0/ Refer to file chpower-3.0/chpower/HZinput.doc on how to input. ************************************************************************** You can run ChinesePower without East Asian input methods but you can not type in East Asian Characters. ************************************************************************** ------------- 5. Setup Environment Variables a) set HBF font directory: setenv HBFPATH path_for_HBF_font_files (e.g. $HOME/chpower-3.0/fonts) b) set TTF font directory: setenv TTFPATH path_for_TTF_font_files (e.g. $HOME/chpower-3.0/fonts) c) set input method directory: setenv HZINPUTDIR path_for_input_method_of_cxterm_5.0 (e.g. $HOME/chpower-3.0/dict) You should set the HZINPUTDIR to the directory which contains four directories: gb, big5, jis, and ks. d) set ChinesePower directory: setenv CHPOWERPATH path_of_chinesepower (e.g. $HOME/chpower-3.0/chpower) e) set Graphics file directory: (All the pictures used by the ChinesePower must be stored in this directory) setenv CHPPICPATH path_of_graphics_dir (e.g. $HOME/chpower-3.0/pic) ---------- 6. Run ChinesePower csh% chpower ----------- 7. Setup or Modify ChinesePower Configuration File To have ChinesePower work better for you, you may need to modify the following configuration files. The ChinesePower configuration files are chpower-3.0/chpower/chpower.cfg chpower-3.0/chpower/chpowertab.GB (for GB) chpower-3.0/chpower/chpowertab.BIG5 (for Big5) chpower-3.0/chpower/chpowertab.JIS (for JIS) chpower-3.0/chpower/chpowertab.KS (for KS) Please refer to USAGE file in the package for the meaning of the files. ---------- 8. Copyrights and Terms This copyright and permission notice outlines the rights and restrictions covering most parts of this distribution of ChinesePower. The part of ChinesePower source code that was actually cxterm, TTF and HBF source code from "ftp://ccic.ifcss.org" and was the gif encoding code from the FBM Library. Files that carried over from the cxterm, HBF, TTF and the FBM Library source without change are exempted from this notice. Some individual files, such as the fonts and input dictionaries, may also be covered by other copyrights. ChinesePower1.0 (C) 1995 BY Jun Yei. ChinesePower1.1 (C) 1995 BY Jun Yei. ChinesePower2.0 (C) 1996 BY Jun Yei. ChinesePower2.1 (C) 1996 BY Jun Yei. ChinesePower3.0 (C) 1997 BY Jun Yei. Permission to retain, use, modify, copy, and distribute ChinesePower in source or binary and its documentation (hereafter, the Software) for noncommercial purpose is hereby granted to you without a fee, provided that this entire copyright and permission notice appear in all such copies, that no charge be associated with such copies, that distribution of derivative works (including value-added distributions such as with additional input dictionaries or fonts) include clarification that such added or derived parts are not from the original Software, and that the names of the author(s) not be used to endorse or promote such works. The author(s) of the software makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. Any commercial use of the Software requires a license directly from the author(s). Please contact the author(s) to negotiate an appropriate license. Commercial use includes integration of all or part of the binary or source code covered by this permission notices into a product for sale or license to third parties on your behalf, or distribution of the binary or source code to third parties that need it to utilize a product sold or licensed on your behalf. THE AUTHOR(S) OF THE SOFTWARE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR(S) OF THE SOFTWARE BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. By using or downloading the Software, you agree to abide by the copyright law and all other applicable laws, and the terms of this permission notice. You may be held legally responsible for any copyright infringement that is caused or encouraged by your failure to abide by these terms. The author(s) shall have the right to change this notice for future release of the Software. For more information on copyright and licensing issues, contact the author(s) at: Jun Yei Ottawa, Ontario, Canada Or e-mail . ---------- 9. Supports ChinesePower 3.0 is tested or known to work in the following platform: - Sun SPARCstation (or Sun 3) with SunOS 4.x and Solaris - Some HPs and X terminals - SGI workstations - Linux - IBM AIX workstations Send your comments, bugs, and suggestions to Future development of ChinesePower will be announced in related newsgroups including alt.chinese.text, alt.chinese.computing. --------- 10. Acknowledgements Thank YongGuang Zhang for East Asian input Thank Ross Paterson for the HBF library Thank Michael Maudlin for gif encoding Thank for TTF to Bitmap code Thank all friends who have given me advices, suggestions, helps and encouragements. --------- 11. Claim This sofware is developed by myself in my spare time and has no connection with my employer. ---------- Jun Yei Ottawa, Ontario, Canada jun.yei@linmor.com