Subject: Re: xterm & Unicode for package mined -- solved another way TNX
To: None <netbsd-help@netbsd.org>
From: Gan Uesli Starling <alias@starling.us>
List: netbsd-help
Date: 03/13/2003 15:58:29
Lubomir Sedlacik wrote:
> On Thu, Mar 13, 2003 at 12:24:17PM -0800, Soren Jacobsen wrote:
> 
>>On Thu, Mar 13, 2003 at 02:24:35PM -0500, Gan Uesli Starling wrote:
>>
>>>xterm as shipped with XFree86 4.0 or higher works correctly in UTF-8
>>>locales if you use an *-iso10646-1 font. Just try it with for
>>>example
>>>
>>>LC_CTYPE=en_GB.UTF-8 xterm -fn \
>>>'-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1'
>>></snip>
>>>
>>>...which when I try it gives me this...
>>>
>>>baal: {15} LC_CTYPE=en_GB.UTF-8 xterm -fn \
>>>'-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1'
>>>LC_CTYPE=en_GB.UTF-8: Command not found.  baal: {16}
>>
>>That syntax is for sh(1)-like shells, only. You're using (t)csh,
>>right?  Try setenv'ing LC_CTYPE first.  Or you could use env
>>LC_CTYPE=blah xterm -yada yada
> 
> 
> aee also ${X11BASE}/bin/uxterm, which is a wrapper script for xterm(1)
> to properly set UTF-8 behaviour.
> 
> 
> regards,
> 

baal: {4} uxterm

That works too. Thanks!

Gan

-- 

  Mistera Sturno - Rarest Extinct Bird

  <(+)__       Gan Uesli Starling
   ((__/)=-    Kalamazoo, MI, USA
    `||`
     ++        http://starling.us