Package: kdrill
Version: 6.5deb2-4
Severity: wishlist
Dear Maintainer,
The search component of kdrill imposes a hard limit of 200 results to all kanji
searches, and provides no way to get at any results beyond that limit.
I have routinely needed to be able to look through all results, well past that
limit. I am therefore running with the attached simple one-line patch, which
raises the limit to 1000. I have not noticed any significant increase in e.g.
memory requirements as a result.
Please either apply a patch such as this one, or provide some more sophisticated
means of raising the limit (e.g. a run-time option, such as in a config file).
Note that a few searches can still return more results than will be displayed at
once even with the limit set to 1000, but not enough to cause problems in my
ordinary usage. Raising the limit slightly further would probably eliminate
those cases as well, at least until the dictionaries being used grow far enough
to press that new limit. Aside from raising the limit well beyond the maximum
which will be needed anytime soon, I don't see any good simple solution to that.
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'oldstable'), (500, 'testing'),
(500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
kdrill depends on no packages.
Versions of packages kdrill recommends:
ii kanadic 6.5deb2-4
ii kanjidic 2011.05.25-1
ii xfonts-base 1:1.0.3
Versions of packages kdrill suggests:
ii edict 2011.05.25-1
ii xjdic 24-7
-- no debconf information
-- debsums errors found:
debsums: no md5sums for kdrill
diff -Naur kdrill6.5-old//multikanji.c kdrill6.5//multikanji.c
--- kdrill6.5-old//multikanji.c 2011-07-16 20:14:07.587370542 -0400
+++ kdrill6.5//multikanji.c 2011-07-16 20:16:48.871473678 -0400
@@ -53,7 +53,7 @@
/* MAXMULTI == max translation lines we will hold in multi-window */
/* If external routine wants to know this value, call getMultiMax() */
-#define MAXMULTI 200
+#define MAXMULTI 1000