The nano package contains a small, simple text editor which aims to replace Pico, the default editor in the Pine package.
Download (HTTP): http://www.nano-editor.org/dist/v2.0/nano-2.0.7.tar.gz
Download (FTP): ftp://ftp.gnu.org/gnu/nano/nano-2.0.7.tar.gz
Download MD5 sum: 16187fed2bdefec6275ece6401ce4cd2
Download size: 1.4 MB
Estimated disk space required: 8.3 MB
Estimated build time: 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Nano
Install nano by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc/nano \ --enable-color --enable-multibuffer --enable-nanorc && make
This package does not come with a test suite.
Now, as the root
user:
make install && install -v -m644 -D doc/nanorc.sample /etc/nano/nanorc.sample && install -v -m755 -d /usr/share/doc/nano-2.0.7 && install -v -m644 doc/{,man/,texinfo/}*.html /usr/share/doc/nano-2.0.7
Example configuration (create as a system-wide /etc/nano/nanorc
or a personal ~/.nanorc
file)
set autoindent
set const
set fill 72
set historylog
set multibuffer
set nohelp
set regexp
set smooth
set suspend
Another example is the nanorc.sample
file in the /etc/nano
directory. It includes color
configurations and has some documentation included in the
comments.
Last updated on 2008-03-12 06:22:57 -0500