Install from
editors/nano
or
editors/nano-devel
.
Copy the sample XML syntax highlight file to the user's home directory:
%
cp /usr/local/share/nano/xml.nanorc ~/.nanorc
Add these lines to the new
~/.nanorc
.
Process the file to create embedded tabs:
%
perl -i'' -pe 's/TAB/\t/g' ~/.nanorc
Specify additional helpful options when running the editor:
%
nano -AKipwz -r 70 -T8 chapter.xml
Users of csh(1) can define an alias in
~/.cshrc
to automate these
options:
After the alias is defined, the options will be added automatically:
%
nano chapter.xml
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.