Hi Frédéric and Ludovic, On 09/08/07, Frédéric Brière <[EMAIL PROTECTED]> wrote: > I was thinking of giving this issue a try when a little Googling turned > up a very thorough patch from Phillip Vandry that makes xjdic > locale-aware: <http://tzone.org/~vandry/xjdic/xjdic-24.locale.patch>. > (Turns out I was wrong in assuming this wouldn't be too hard to do.) > > This patch also includes some cleanup and bugfixes, which you may or may > not feel comfortable with. I thought of splitting it in two, but it's > basically one big patch over one big file, so this is not easily doable.
A problem I had/have with that patch from Phillip Vandry is that my working code version had already moved on to the extent I couldn't get around to working in his patch details line-by-line. My own version has a few extensions which I find useful. > I'm attaching a version that's slightly modified to apply to 24-6. I'm > also attaching a cheap hack I wrote to disable locale support when > TERM=kterm, in an attempt to have xjdic behave correctly when started in > a kterm when LANG is still set to a legacy encoding like latin-1. (As I > used to do until recently.) > > After applying both patches (in order), all that remains is to pass > -DHAVE_LOCALE to gcc. No further build-deps are required. Could you send me the fully patched sources for xjdfrontend.c and xjdic.1? What'd like to do it re-insert my updates and release a 2.5. In fact I'd really like to put it somewhere (sourceforge?) where you and others can modify it without version hassles. Hopefully someone will do a proper configure/make for it. I use it a lot, but I've moved on from writing this sort of thing, and I'm happy to hand over. Cheers Jim -- Jim Breen Honorary Senior Research Fellow Clayton School of Information Technology, Monash University, VIC 3800, Australia http://www.csse.monash.edu.au/~jwb/