Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: Does rxvt support kinput?



"Stephen J. Turnbull" <stephen@example.com> writes:

>>>>>> "hy" == Yamagata Hiroo <hiyori13@example.com> writes:
>
>     hy> Or is this the real xterm?
>
> Yup, it's the real xterm.  It would seem uxterm is a XFeebly-ism for a
> bunch of cruft with the meat being
>
> ------------------------------------------------------------------------
> #!/bin/sh
> # $XFree86: xc/programs/xterm/uxterm,v 1.4 2001/10/24 01:21:25 dickey Exp $
> # wrapper script to setup xterm with UTF-8 locale
>
> program=xterm
>
> # cruft cruft cruft cruft cruft cruft cruft cruft cruft cruft cruft cruft
>
> exec $program -class UXTerm -title 'uxterm' -u8 "$@"
> ------------------------------------------------------------------------

Actually you don't need the '-u8' option anymore. When started like

    LC_CTYPE=ja_JP.UTF-8 xterm

or 

    LC_CTYPE=de_DE.UTF-8 xterm

xterm will automatically start in UTF-8 mode, if started like

    LC_CTYPE=de_DE.ISO-8859-1 xterm

it will start in non-UTF-8 mode.

With the xterm in XFree86 4.2.0 (xterm 165), even input via XIM
works. As usual with kinput2, it works without problems in UTF-8 as
well. I use the following in my ~/.Xresources for UTF-8 and ISO-8859-1
as well (i.e. I don't have special settings for UXTerm and don't
use the option '-class UXTerm' either):

XTerm*font:     -misc-fixed-medium-r-normal-*-18-120-100-100-c-90-iso10646-1
XTerm*wideFont: -misc-fixed-medium-r-normal-*-18-120-100-100-c-180-iso10646-1

XTerm*font1:     -efont-fixed-medium-r-normal-*-12-120-75-75-c-60-iso10646-1
XTerm*wideFont1: -efont-fixed-medium-r-normal-*-12-120-75-75-c-120-iso10646-1
XTerm*font2:     -misc-fixed-medium-r-semicondensed-*-13-120-75-75-c-60-iso10646-1
XTerm*wideFont2: -misc-fixed-medium-r-normal-*-13-120-75-75-c-120-iso10646-1
XTerm*font3:     -efont-fixed-medium-r-normal-*-14-140-75-75-c-70-iso10646-1
XTerm*wideFont3: -efont-fixed-medium-r-normal-*-14-140-75-75-c-140-iso10646-1
XTerm*font4:     -efont-fixed-medium-r-normal-*-16-160-75-75-c-80-iso10646-1
XTerm*wideFont4: -efont-fixed-medium-r-normal-*-16-160-75-75-c-160-iso10646-1
XTerm*font5:     -misc-fixed-medium-r-normal-*-18-120-100-100-c-90-iso10646-1
XTerm*wideFont5: -misc-fixed-medium-r-normal-*-18-120-100-100-c-180-iso10646-1
XTerm*font6:     -efont-fixed-medium-r-normal-*-24-240-75-75-c-120-iso10646-1
XTerm*wideFont6: -efont-fixed-medium-r-normal-*-24-240-75-75-c-240-iso10646-1

> Only two fonts available though.

Only two fonts which already come with XFree86 which cover at least
Japanese and European characters. The 18 pixel font is more complete
than the 13 pixel font. 

But the efont-unicode fonts give you 4 more sizes, which cover almost
the complete Unicode range. See

    http://openlab.ring.gr.jp/efont/

-- 
Mike Fabian   <mfabian@example.com>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links