GNU nano

安裝

# ipkg-opt install nano

版本

# nano -V

GNU nano version 2.1.9 (compiled 01:11:43, Feb 19 2009)
(C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
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

彩色顯示

# nano /opt/etc/nanorc

include "/opt/share/nano/sh.nanorc"
  1. 去除6, 8, 9, 10行的 \>

# nano /opt/share/nano/sh.nanorc

color green "(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)"
color green "-[Ldefgruwx]"
color green "-(eq|ne|gt|lt|ge|le|s|n|z)"
color brightblue "(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)"

 
optware/nano.txt · 上一次變更: 2012/03/31 03:14 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki DigiLand.tw