Unicode (was Re: Updating ncurses in base)

J.R. Oldroyd fbsd at opal.com
Mon Jun 26 15:11:54 UTC 2006


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 390 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060626/601dfd8a/attachment.pgp


More information about the freebsd-current mailing list