Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2001 08:37:24 +0200
From:      Vallo Kallaste <vallo@matti.ee>
To:        Christopher Farley <chris@northernbrewer.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: UTF-8/Unicode on FreeBSD?
Message-ID:  <20010306083724.A38667@myhakas.matti.ee>
In-Reply-To: <20010223020843.A6684@northernbrewer.com>; from chris@northernbrewer.com on Fri, Feb 23, 2001 at 02:08:44AM -0600
References:  <20010223020843.A6684@northernbrewer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 23, 2001 at 02:08:44AM -0600, Christopher Farley <chris@northernbrewer.com> wrote:

> How do I set up xterm, nvi/vim to display UTF-8 fonts? 
> 
> Does Emacs (gui-mode) work differently?
> 
> How do I enter extended UTF characters into an xterm/editor with
> the keyboard?
> 
> Are there any plans to convert, say, the FreeBSD filesystem to
> Unicode/UTF-8?

UTF-8 capable xterm is included in the XFree 4.0.x series,
alternatively you can get the sourcecode from T.Dickey webpage
http://www.clark.net/~dickey/
Use the -u8 switch or *VT100*utf8: 1 resource for setting UTF-8
mode.
Vim comes with extensive documentation about UTF-8 and multibyte,
read them. Basically you need to set up some variables in your
.vimrc and define fonts in .Xdefaults. You'll need to read vim
documentation for how to do that. Don't know about nvi, AFAIK it
doesn't support UTF-8.
You can enter specific characters by modifying your .Xmodmap
appropriately, look at xmodmap(1) manpage. Beware of doing
experiments with xmodmap, you can hose your keyboard mapping very
easily. Gvim (vim with GUI) gives you ability to enter specific
characters via special sequence, look at documentation how to use
digraphs.
Some very preliminary work is underway, but it's practically nothing
yet. I'll personally hope for iconv() integration.
-- 

Vallo Kallaste
vallo@matti.ee

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010306083724.A38667>