Subject: Re: xterm & Unicode for package mined
To: Soren Jacobsen <devsoren@attbi.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 03/13/2003 21:33:27
--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> >=20
> > LC_CTYPE=3Den_GB.UTF-8 xterm -fn \
> > '-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1'
> > </snip>
> >=20
> > ...which when I try it gives me this...
> >=20
> > baal: {15} LC_CTYPE=3Den_GB.UTF-8 xterm -fn \
> > '-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1'
> > LC_CTYPE=3Den_GB.UTF-8: Command not found.  baal: {16}
>=20
> 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=3Dblah xterm -yada yada

aee also ${X11BASE}/bin/uxterm, which is a wrapper script for xterm(1)
to properly set UTF-8 behaviour.


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+cOsXiwjDDlS8cmMRAoiBAKCSlToIV8mwhly0qPwN5Fsbi20UHQCeNTKN
UEq344wmbsYpRudt3d+gckU=
=mT2O
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--