%general-entities; ]> $LastChangedBy$ $Date$ Nano-&nano-version; Nano Introduction to Nano The Nano package contains a small, simple text editor which aims to replace Pico, the default editor in the Pine package. &lfs81_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &nano-md5sum; Download size: &nano-size; Estimated disk space required: &nano-buildsize; Estimated build time: &nano-time; Nano Dependencies Optional User Notes: Installation of Nano Install Nano by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-utf8 \ --docdir=/usr/share/doc/nano-&nano-version; && make This package does not come with a test suite. Now, as the root user: make install && install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-&nano-version; Command Explanations --enable-utf8: This switch enables unicode support in Nano. : This forces Nano to use S-Lang. Use this if installed. Configuring nano Config Files /etc/nanorc and ~/.nanorc /etc/nanorc ~/.nanorc Configuration Information Example configuration (create as a system-wide /etc/nanorc or a personal ~/.nanorc file) set autoindent set constantshow set fill 72 set historylog set multibuffer set nohelp set nowrap set positionlog set quickblank set regexp set smooth set suspend You probably want to create the directory $HOME/.local/share/nano. This is where Nano will store search and position log files. Required only if you have either historylog and/or positionlog enabled. When using those settings in a system-wide configuration, you may want to update /etc/skel to make the directory available for all (new) users. Another example is the nanorc.sample file in the installed documentation directory. It includes color configurations and has some documentation included in the comments. Syntax highlighting is provided for several file types, in /usr/share/nano/ directory. E.g., for shell scripts, you can insert in the personal or global configuration file. If you wish highlighting for all supported files, use . Contents Installed Programs Installed Libraries Installed Directories nano and rnano (symlink) None /usr/share/nano and /usr/share/doc/nano-&nano-version; Short Descriptions nano is a small, simple text editor which aims to replace Pico, the default editor in the Pine package. nano rnano is a restricted mode for nano. rnano