Re: xcin input method

2000-01-05 Thread thhsieh
On Mon, Jan 03, 2000 at 10:11:25PM -0700, Anthony Fok wrote:
   1. [EMAIL PROTECTED] w 
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
   (?)  %keyname  0-9 [EMAIL PROTECTED]
   w0  w9  shortcut  xcin  source
   gen_inp  flag 
   module

 gen_inp,  30 
[EMAIL PROTECTED] 30 just work
 :-))

   2. 40
   zh_TW.Big5/pinyin.cin
   zh_CN.GB2312/pinyin.cin
   John Jenkins [EMAIL PROTECTED] Unihan.txt 
   6  9 
  

 40 :-))  40
 40 
[EMAIL PROTECTED] .cin 

[EMAIL PROTECTED]


 xcin [EMAIL PROTECTED] .cin 
 .cin [EMAIL PROTECTED] tarball, 
tarball  table ( cj.cin)  .cin
table? 

   3. bimsphoretabe  pinyincantonese 
  [EMAIL PROTECTED] ^_^ ( FAQ  ^_^

 libtabe  libbims
[EMAIL PROTECTED] mode 
 libbims, libtabe, 

 gen_inp  tabe 
 gen_inp  table 
[EMAIL PROTECTED]@
 gen_inp 
 table, 
  
libbims 

 bimsphone [EMAIL PROTECTED] libbims (libtabe [EMAIL PROTECTED]) 
[EMAIL PROTECTED] libbims  libtabe [EMAIL 
PROTECTED] libtabe
 Big5
[EMAIL PROTECTED] Big5 
   libbims

 GB 
 table [EMAIL PROTECTED] key
stroke, [EMAIL PROTECTED] sky ==  gen_inp 
[EMAIL PROTECTED]
 :-))

 GB [EMAIL PROTECTED]
 Big5  GB  xcin 
[EMAIL PROTECTED] Big5  GB 
[EMAIL PROTECTED]
 Big5 == GB 
 module  .tab [EMAIL PROTECTED] table 

Sorry, [EMAIL PROTECTED]@ :-))


T.H.Hsieh



[platin@ms31.hinet.net: [cle-devel] [Fwd: libiconv-1.0 is released]]

2000-01-05 Thread Anthony Wong
- Forwarded message from Cheng Yuan-Chung [EMAIL PROTECTED] -

Date: Tue, 04 Jan 2000 22:29:48 +0800
From: Cheng Yuan-Chung [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [cle-devel] [Fwd: libiconv-1.0 is released]

³o­Ó®ø®§¹ï¨S¦³ glibc ©Î»Ý­n³q¥ÎÂà½X¨ç¦¡ªº¨t²ÎÀ³¸Ó«Ü¦³¥Î :)

--
Best Regards,
Platin.



Delivered-To: [EMAIL PROTECTED]
From: Bruno Haible [EMAIL PROTECTED]
Date: Tue, 4 Jan 2000 14:31:09 +0100 (MET)
To: i18n@XFree86.Org
Cc: François Pinard [EMAIL PROTECTED]
Cc: Andreas Jung [EMAIL PROTECTED]
Subject: libiconv-1.0 is released
Reply-To: i18n@XFree86.Org
Errors-To: [EMAIL PROTECTED]
X-Mailing-List: i18n@XFree86.Org
X-Note: Send unsubscribe requests to [EMAIL PROTECTED]
X-Mozilla-Status2: 

The portable LGPLed 'iconv' library is released in version 1.0.

Homepage: http://clisp.cons.org/~haible/packages-libiconv.html
Download: ftp://ftp.ilog.fr/pub/Users/haible/gnu/libiconv-1.0.tar.gz

Enjoy!

Bruno

Changes in 1.0:
* Added transliteration facilities.
* Added a test suite.
* Fixed the iconv(3) manual page and function: the return value was not
  described correctly.
* Fixed a bug in the CP1258 decoder: invalid bytes now yield EILSEQ instead of
  U+FFFD.
* Fixed a bug in the Georgian-PS encoder: accept U+00E6.
* Fixed a bug in the EUC-JP encoder: reject 0x8E5C and 0x8E7E.
* Fixed a bug in the KSC5601 and JOHAB converters: they recognized some Hangul
  characters at some invalid code positions.
* Fixed a bug in the EUC-TW decoder; it was severely broken.
* Fixed a bug in the CP950 converter: it recognized a dubious BIG5 range.

Changes in 0.3:
* Reduced the size of the tables needed for the JOHAB converter.
* Portability to Win32.


- End forwarded message -

-- 
Anthony Wong.   [ E-mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] ]



[ANN] autoconvert-0.3.5 (only split hzconvert functions to one lib)

2000-01-05 Thread Yu Guanghui
debian-chinese¡A±z¦n¡I
¨S¦³bug [EMAIL PROTECTED]

hz.h,libhz.a,libhz.so ;)
´£¨Ñj_code  --§PÂ_º~¦r½s½X
gb/hz/big5/utf7/utf8/unicodeªºÂà´«¨ç¼Æ¡C

saka

­P
§¡I

Yu Guanghui
[EMAIL PROTECTED]



Re: xcin input method

2000-01-05 Thread Anthony Fok
On Wed, Jan 05, 2000 at 09:13:57AM +0800, [EMAIL PROTECTED] wrote:
  gen_inp,  30 
 [EMAIL PROTECTED] 30 just work
  :-))

[EMAIL PROTECTED]@[EMAIL PROTECTED] patch30 

 w[0-9]  t  t1 
 C 
 ^_^  30 ^_^
(gen_inp.patch  array30.patch)I [EMAIL PROTECTED] ^_^

[EMAIL PROTECTED]@BTW, apply gen_inp.patch 

$ unexpand gen_inp.c  gen_inp.c.new
$ mv gen_inp.c.new gen_inp.c

  40 :-))  40
  40 
 [EMAIL PROTECTED] .cin 

[EMAIL PROTECTED]@[EMAIL PROTECTED] array30.cin
[EMAIL PROTECTED] xcin 
array30.tab  xcin2.3 
 GNU/Linux 

[EMAIL PROTECTED]@304040
 porting 
 ^_^

 [EMAIL PROTECTED]
 

[EMAIL PROTECTED]@ Unihan.txt 

 [1-9] 
 . 
 gen_inp [EMAIL PROTECTED] gen_inp 
[EMAIL PROTECTED] *.cin  alt-ctrl-?? 
toggle   ^_^  
  ^_^

[EMAIL PROTECTED]@ Unihan.txt 

^_^

  xcin [EMAIL PROTECTED] .cin 
  .cin [EMAIL PROTECTED] tarball, 
 tarball  table ( cj.cin)  .cin
 table? 

[EMAIL PROTECTED]@ array30.cin  grin
 arbitrary  threshold  1 MB
 xcin  tarball  1 MB .cin 


3. bimsphoretabe  pinyincantonese 
   [EMAIL PROTECTED] ^_^ ( FAQ  ^_^
 
  libtabe  libbims
 [EMAIL PROTECTED] mode 
  libbims, libtabe, 

[EMAIL PROTECTED]@[EMAIL PROTECTED]

  gen_inp  tabe 
  gen_inp  table 
 [EMAIL PROTECTED]@
  gen_inp 
  table, 
   
 libbims 

[EMAIL PROTECTED]@  ^_^

  bimsphone [EMAIL PROTECTED] libbims (libtabe [EMAIL PROTECTED]) 
 [EMAIL PROTECTED] libbims  libtabe [EMAIL 
 PROTECTED] libtabe
  Big5
 [EMAIL PROTECTED] Big5 
    libbims

  GB 
  table [EMAIL PROTECTED] key
 stroke, [EMAIL PROTECTED] sky ==  gen_inp 
 [EMAIL PROTECTED]
  :-))

[EMAIL 
PROTECTED]@


  GB [EMAIL PROTECTED]
  Big5  GB  xcin 
 [EMAIL PROTECTED] Big5  GB 
 [EMAIL PROTECTED]
  Big5 == GB 
  module  .tab [EMAIL PROTECTED] table 

[EMAIL PROTECTED]@ Unicode 
EACCCNS11643-1992
 Big5+Big5eBig5 w/HKSCSGBK grin, duck, run

 Sorry, [EMAIL PROTECTED]@ :-))

[EMAIL PROTECTED]@  ^_^   TurboLinux Chinese 

 chinput 
 .cit/.tit  cxterm  Emacs [EMAIL PROTECTED]
  ^_^

[EMAIL PROTECTED]@ TLC  zh_CN.GBK  
alpha 
 CLE  zh_CN.GBK  C  X locale
 .src.rpm .src.rpm 
zh_CN.GBK If so, please let me know.  ^_^  (I need to
organize them first.  :-)



-- 
Anthony Fok Tung-LingCivil and Environmental Engineering
[EMAIL PROTECTED], [EMAIL PROTECTED]University of Alberta, Canada
[EMAIL PROTECTED] Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc
--- gen_inp.c.original  Wed Jan  5 04:06:12 2000
+++ gen_inp.c   Wed Jan  5 04:24:06 2000
@@ -20,6 +20,7 @@
 */  
 
 
+#include ctype.h
 #include string.h
 #include X11/Xlib.h
 #include X11/keysym.h
@@ -141,6 +142,10 @@
 if (get_resource(cmd, value, 50, 2))
set_data((cf-mode), RC_IFLAG, value, INP_MODE_BEEPDUP, 0);
 
+cmd[1] = ARRAY30;/* array30 mode 
*/
+if (get_resource(cmd, value, 50, 2))
+   set_data((cf-mode), RC_IFLAG, value, INP_MODE_ARRAY30, 0);
+
 cmd[1] = QPHRASE_MODE;
 if (get_resource(cmd, value, 50, 2))
cf-modesc = (ubyte_t)(atoi(value) % 256);
@@ -533,6 +538,11 @@
 commit_keystroke(gen_inp_conf_t *cf, inpinfo_t *inpinfo, gen_inp_iccf_t *iccf)
 /* return: the IMKEY state */
 {
+if (cf-mode  INP_MODE_ARRAY30  !strcmp(iccf-keystroke, t)) {
+   /* Output de5 when keystroke is t, special for Array30 */
+   strcpy(iccf-keystroke, lplh);
+}
+
 if (match_keystroke(cf, inpinfo, iccf)) {
if (inpinfo-n_mcch == 1) {
commit_char(inpinfo, iccf, inpinfo-mcch);
@@ -855,6 +865,12 @@
selkey_idx = ((s = strchr(cf-header.selkey, keystr[0]))) ? 
(int)(s - cf-header.selkey) : -1;
 
+   if (cf-mode  INP_MODE_ARRAY30
+strcmp(iccf-keystroke, w)  isdigit(keystr[0])) {
+   /* Deals with w[0-9] symbol input in Array30 */
+   wch.wch = (wchar_t)0;
+   }
+
if (inpinfo-keystroke_len  selkey_idx != -1   ! wch.wch) {
/* Don't enter the multi-cch selection, but selkey pressed. */
return (mcch_choosech(cf, inpinfo, iccf, selkey_idx)) ?
@@ -970,7 +986,7 @@
 
 /*
 
-   Definition of general input method module (templet).
+   Definition of general input method module (template).
 
 */
 
--- gen_inp.h.original  Sun Nov 28 07:02:27 1999
+++ gen_inp.h   Wed Jan  5 04:27:00 2000
@@ -37,6 +37,7 @@
 #define INP_MODE_SINMDLINE1  0x0200 /* Enable sinmd in line1 mode. */
 #define INP_MODE_SPACERESET  0x0400 /* Enable space reset error mode. */
 #define INP_MODE_AUTORESET   0x0800 /* Enable auto reset error mode. */
+#define INP_MODE_ARRAY30 0x1000 /* Enable Array30 mode. */
 #define INP_MODE_BEEPWRONG   0x0001 /* Beap when type a wrong char. */
 #define INP_MODE_BEEPDUP 0x0002 /* Beap when exists duplet chars. */
 
--- array30.cin.origWed Jun