Bug#293679: kdrill kana input in search window does not support 'x' as prefix for small kana

2005-02-04 Thread Tobias Diedrich
Package: kdrill
Version: 6.4-1
Severity: normal


If I bring up the search window to add new kanji to my usefile, I
usually use the kana input field to find them.
From other IMEs I'm used to xtu, xya, etc. for small kana input,
however kdrill uses the unexpected _ya instead of xya and ' instead of
xtu.  The attached patch extends convert.c to handle the normal IME
variants too.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac11
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kdrill depends on:
ii  debconf  1.4.42  Debian configuration management sy
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libice6  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libsm6   4.3.0.dfsg.1-10 X Window System Session Management
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxaw7  4.3.0.dfsg.1-10 X Athena widget set library
ii  libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxmu6  4.3.0.dfsg.1-10 X Window System miscellaneous util
ii  libxpm4  4.3.0.dfsg.1-10 X pixmap library
ii  libxt6   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- debconf information:
  kdrill/kanjidic_warning:
--- kdrill-6.4/convert.c	2004-01-26 02:05:33.0 +0100
+++ kdrill-6.4.patched/convert.c	2005-02-05 00:39:03.0 +0100
@@ -280,8 +280,11 @@
 	ra,ri,ru,re,ro,
 	wa,wo,
 	ya,yu,yo,
-	_ya,_yu,_yo, /* Small letters, the hard way. For romaji input*/
+	_ya,_yu,_yo,_tu,_tsu, /* Small letters, the hard way. For romaji input*/
+	xya,xyu,xyo,xtu,xtsu,
 	a,i,u,e,o,
+	_a,_i,_u,_e,_o,
+	xa,xi,xu,xe,xo,
 	
 	-, ',(,), /* These are here not so much for romaji input,
 	   * as to match dictionary search patterns,
@@ -454,6 +457,13 @@
 	{{0x24, 0x63}, {0, 0}},/*_ya*/
 	{{0x24, 0x65}, {0, 0}},/*_yu*/
 	{{0x24, 0x67}, {0, 0}},/*_yo*/
+	{{0x24, 0x43}, {0, 0}},/*_tu*/
+	{{0x24, 0x43}, {0, 0}},/*_tsu*/
+	{{0x24, 0x63}, {0, 0}},/*xya*/
+	{{0x24, 0x65}, {0, 0}},/*xyu*/
+	{{0x24, 0x67}, {0, 0}},/*xyo*/
+	{{0x24, 0x43}, {0, 0}},/*xtu*/
+	{{0x24, 0x43}, {0, 0}},/*xtsu*/
 
 	{{0x24, 0x22}, {0, 0}},/*a*/
 	{{0x24, 0x24}, {0, 0}},/*i*/
@@ -461,6 +471,17 @@
 	{{0x24, 0x28}, {0, 0}},/*e*/
 	{{0x24, 0x2a}, {0, 0}},/*o*/
 
+	{{0x24, 0x21}, {0, 0}},/*_a*/
+	{{0x24, 0x23}, {0, 0}},/*_i*/
+	{{0x24, 0x25}, {0, 0}},/*_u*/
+	{{0x24, 0x27}, {0, 0}},/*_e*/
+	{{0x24, 0x29}, {0, 0}},/*_o*/
+	{{0x24, 0x21}, {0, 0}},/*xa*/
+	{{0x24, 0x23}, {0, 0}},/*xi*/
+	{{0x24, 0x25}, {0, 0}},/*xu*/
+	{{0x24, 0x27}, {0, 0}},/*xe*/
+	{{0x24, 0x29}, {0, 0}},/*xo*/
+
 	/* These are here really for kana-to-romaji only */
 	/* But make sure Handle_romajikana uses same values! */
 	{{0x21, 0x3c}, {0, 0}},/*- for elongation*/	


Bug#293679: kdrill kana input in search window does not support 'x' as prefix for small kana

2005-02-04 Thread Philip Brown
On Sat, Feb 05, 2005 at 12:48:43AM +0100, Tobias Diedrich wrote:
 
 If I bring up the search window to add new kanji to my usefile, I
 usually use the kana input field to find them.
 From other IMEs I'm used to xtu, xya, etc. for small kana input,
 however kdrill uses the unexpected _ya instead of xya and ' instead of
 xtu.  The attached patch extends convert.c to handle the normal IME
 variants too.

Is there some documented standard somewhere that covers this usage?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]