Re: Unicode (was Re: Updating ncurses in base)

From: J.R. Oldroyd <fbsd_at_opal.com>
Date: Mon, 26 Jun 2006 10:35:59 -0400
Since I posted the link to that document, I'd better add a comment.
I'm using xterm myself, right now as I type this, in fact, and it
works fine.  And it's been fine since I put those notes together
many months ago, i.e., it's been working on several earlier versions
of the system.

I have:
	unset LANG
	LC_COLLATE=POSIX
	LC_CTYPE=en_US.UTF-8

In .Xdefaults:
	xterm*vt100.font:     -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
	xterm*vt100.utf8Fonts.font:     -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1

This font has all the UTF-8 characters in the utf8demo.txt file,
and is fine on a 1600x1200 display.  For a smaller, say 1280x1024,
display, I use:

	-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1

but note that that font does not have all of the characters in the
utf8demo.txt file, so some things display as dotted boxes.  You'll
have to experiment with different fonts to find one that has the
characters you need.

Of course, to get to use this usefully for things like email, you'll
need to get ncurses and xterm working and then also a mailer and
an editor.  Mutt and nvi work fine in UTF-8 for me.

	-jr



Received on Mon Jun 26 2006 - 13:11:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC