2012年5月12日土曜日

change display coding system to UTF-8 on FreeBSD

Now I use Prompt(ssh client for iPhone/iPad). However this ssh client software only support UTF-8
(not support SJIS and EUC).

I had to change terminal coding system to UTF-8.

I changed below configuration

1. .screenrc for GNU screen
encoding utf8
defencoding utf8
kanji utf8 utf8
defkanji utf8
terminfo xterm KJ=UTF-8
terminfo screen KJ=UTF-8

2. I execute screen with -U option

% screen -U

3. .cshrc for environment variable

now I removed LANG(noset LANG environment variable

4. use lv from jless(Because jless does not support UTF-8, I think)

alias less lv -Ou8


0 件のコメント: