「GNU nanoをインストール MacPorts」の版間の差分

提供: dsk's note
移動: 案内検索
16行目: 16行目:
 
  Email: nano@nano-editor.org Web: http://www.nano-editor.org/
 
  Email: nano@nano-editor.org Web: http://www.nano-editor.org/
 
  Compiled options: --disable-nls --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8</pre>
 
  Compiled options: --disable-nls --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8</pre>
 +
 +
[[Category:MacPorts]]

2013年8月12日 (月) 10:19時点における版

OSX Leopardに標準で入っているnanoは日本語が文字化けしてしまうので、最新のものをMacPortsでインストールした。

sudo port install nano
nano -V 


/usr/bin/nanoには標準のnanoが入ったままなので、エイリアスの設定しておいた。 ~/.profileを編集し、以下を追記。

alias nano='/opt/local/bin/nano'
nano -V
 GNU nano version 2.2.6 (compiled 23:52:57, Aug  9 2013)
 (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
 2008, 2009 Free Software Foundation, Inc.
 Email: nano@nano-editor.org	Web: http://www.nano-editor.org/
 Compiled options: --disable-nls --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8