[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Wide character support.
From: |
David Benbennick |
Subject: |
Re: [Nano-devel] Wide character support. |
Date: |
Thu, 6 Mar 2003 21:09:13 -0500 |
User-agent: |
Mutt/1.2.5.1i |
On Thu, Mar 06, 2003 at 07:41:30PM -0500, David Benbennick wrote:
> To make it work:
>
> 1) Get the newest Ncurses, configure it with --enable-widec, and install.
>
> 2) Apply nano.patch and utf8.patch.
>
> 3) In the Makefile, replace
> -lncurses
> with
> -lncursesw
> Also, you might have to use the -L flag if you didn't install
> libncursesw.so in a standard place.
>
> 4) Set the locale to something reflecting the type of file you are
> opening. This is how Nano knows the multi-byte character set. I use
> export LANG=en_US.utf8
One more thing:
5) Use a terminal that knows about your character set. Nano will display
the file correctly only if cat does too. With UTF-8, I use
xterm -u8 -fn -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
pgpBzjoOOrKZr.pgp
Description: PGP signature