2013/01/02

cocot で文字化けサヨナラ

jnethackの文字コードはEUCなので、RasPiでは文字化けして操作不能。
cocotを間に噛まして文字コード変換することでUTF-8のターミナルで快適に♪

cocotをコンパイル&インストールして
$cocot -t UTF-8 -p EUC-JP -- /usr/games/jnethack
でおk

.bashrcにエイリアス設定をしておくと吉

alias jnethack='cocot -t UTF-8 -p EUC-JP -- /usr/games/jnethack'


2013/06/07 追記
コンパイル&インストール
$ sudo apt-get install git git-core
$ cd
$ git clone https://github.com/vmi/cocot.git
$ cd cocot
$ ./configure
$ make && sudo make install

0 件のコメント:

コメントを投稿

フォロワー