[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xterm and w3m-m17n
Hi,
i had some little success with xterm and w3m-m17n , that i would
like to tell. (maybe this is well-known to most people on this list):
1: xterm)
i have manipulated xterm in the dirty or "dangerous" way (see
http://www.xfree86.org/archives/i18n/1999-Jul/0004.shtml) to have
diacritics available in utf-8 mode on xfree 3.3.6 with glibc 2.1.3
(Debian 2.2). At least they appear on screen now but do not to combine
with anything but space) ... :-( (further help is welcome.)
I commented out in xterm-164/input.c lines from 389:
389 /* Doesn't work if no Xutf8LookupString is available ?!
390 #if OPT_WIDE_CHARS
391 if(screen->utf8_mode)
392 nbytes = Xutf8LookupString (screen->xic, event,
393 strbuf, sizeof(strbuf),
394 &keysym, &status_return);
395 else
396 #endif
397 */
This way I can type the diacritic chars (followed by space) but they
don't combine with say a or e as in "usual xterm". My Keyboard is
configured like this (which gives me combining characters in most
other applications):
Section "Keyboard"
Protocol "Standard"
XkbRules "xfree86"
XkbModel "pc102"
XkbLayout "de"
XkbVariant "deadkeys"
EndSection
2: w3m)
There is a little bug in w3m-m17n concerning bookmarks. You need to add a
line:
171 pushText(tl, end_section);
172 pushText(tl, "</ul>\n");
-> 173 bmark_added = 1;
174 }
in w3m-m17n-0.19/w3mbookmark.c ...
Also there is an interesting hint for German user: Umlauts (äöü) are
by default displayed like a:, o: , u: in w3m-m17n. You need to set
Use alternate expression with ASCII for entity ( )ON (*)OFF
in the w3m options (press "o") to get the real Umlauts.
have a nice day
Oliver
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/