Nano-1.2.5

Introduction to Nano

The nano package contains a small, simple text editor which aims to replace Pico, the default editor in the Pine package.

[Caution]

Caution

The Nano package has major issues when used in a UTF-8 based locale. A development version is available which addresses these issues at http://www.nano-editor.org/dist/v1.3/nano-1.9.99pre2.tar.gz. This version can be installed with the same instructions shown below. See the Locale Related Issues page for a more general discussion of these problems.

Package Information

Nano Dependencies

Optional

S-Lang-2.0.6

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Nano

Installation of 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 nanorc.sample /etc/nano/nanorc.sample &&
install -v -m755 -d /usr/share/doc/nano-1.2.5 &&
install -v -m644 *.html /usr/share/doc/nano-1.2.5

Configuring nano

Config Files

/etc/nano/nanorc and ~/.nanorc

Configuration Information

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.

Contents

Installed Programs: nano
Installed Libraries: None
Installed Directory: /usr/share/doc/nano

Short Descriptions

nano

is a small, simple text editor which aims to replace Pico, the default editor in the Pine package.

Last updated on 2006-10-28 02:13:18 -0500