2000-12-03 02:46:02 +00:00
|
|
|
.\" Hey, EMACS: -*- nroff -*-
|
|
|
|
.\" nano.1 is copyright 1999-2000 by
|
|
|
|
.\" Chris Allegretta <chrisa@asty.org>
|
|
|
|
.\"
|
|
|
|
.\" This is free documentation, see the latest version of the GNU General
|
|
|
|
.\" Public License for copying conditions. There is NO warranty.
|
|
|
|
.\"
|
2000-06-06 05:53:49 +00:00
|
|
|
.\" First parameter, NAME, should be all caps
|
|
|
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
|
|
|
.\" other parameters are allowed: see man(7), man(1)
|
2000-12-03 02:46:02 +00:00
|
|
|
.TH NANO 1 "December 2, 2000"
|
2000-06-06 05:53:49 +00:00
|
|
|
.\" Please adjust this date whenever revising the manpage.
|
|
|
|
.\"
|
|
|
|
.SH NAME
|
|
|
|
nano \- Nano's ANOther editor, an enhanced free Pico Clone
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B nano
|
|
|
|
.RI [options]\ [+LINE] " file"
|
|
|
|
.br
|
|
|
|
.SH DESCRIPTION
|
|
|
|
This manual page documents briefly the
|
|
|
|
.B nano
|
|
|
|
command.
|
|
|
|
.PP
|
|
|
|
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
|
|
|
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
|
|
|
.\" respectively.
|
2000-12-03 02:46:02 +00:00
|
|
|
\fBnano\fP is a small, free and friendly editor which aims to replace
|
|
|
|
Pico, the default editor included in the non-free Pine package. Rather
|
|
|
|
than just copying Pico's look and feel,
|
2000-06-06 05:53:49 +00:00
|
|
|
.B nano
|
2000-12-03 02:46:02 +00:00
|
|
|
also implements some missing (or disabled by default) features in Pico,
|
|
|
|
such as "search and replace" and "goto line number".
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2000-06-21 03:00:43 +00:00
|
|
|
.B \-T (\-\-tabsize)
|
2000-08-04 02:05:44 +00:00
|
|
|
Set the size (width) of a tab.
|
2000-06-21 03:00:43 +00:00
|
|
|
.TP
|
2000-07-07 01:49:52 +00:00
|
|
|
.B \-R (\-\-regexp)
|
|
|
|
Enable regular expression matching for search strings, as well as
|
2000-07-07 04:20:09 +00:00
|
|
|
\\n subexpression replacement for replace strings, if available.
|
2000-07-07 01:49:52 +00:00
|
|
|
.TP
|
2000-06-06 05:53:49 +00:00
|
|
|
.B \-V (\-\-version)
|
|
|
|
Show the current version number and author.
|
|
|
|
.TP
|
|
|
|
.B \-h (\-\-help)
|
|
|
|
Display a summary of commandline options.
|
|
|
|
.TP
|
|
|
|
.B \-c (\-\-const)
|
|
|
|
Constantly show the cursor position.
|
|
|
|
.TP
|
2000-07-28 16:55:47 +00:00
|
|
|
.B \-k (\-\-cut)
|
2000-07-28 17:29:22 +00:00
|
|
|
Enable cut from cursor to end of line with ^K.
|
2000-07-28 16:55:47 +00:00
|
|
|
.TP
|
2000-06-06 05:53:49 +00:00
|
|
|
.B \-i (\-\-autoindent)
|
|
|
|
Indent new lines to the previous line's indentation. Useful when editing
|
|
|
|
source code.
|
|
|
|
.TP
|
|
|
|
.B \-l (\-\-nofollow)
|
|
|
|
If the file being edited is a symbolic link, replace the link with a
|
|
|
|
a new file, do not follow it. Good for editing files in /tmp perhaps?
|
|
|
|
.TP
|
|
|
|
.B \-m (\-\-mouse)
|
|
|
|
Enable mouse support (if available for your system).
|
|
|
|
.TP
|
|
|
|
.B \-p (\-\-pico)
|
2000-11-19 20:36:41 +00:00
|
|
|
Emulate Pico as closely as possible.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
|
|
|
.B \-s (\-\-speller)
|
|
|
|
Enable alternative spell checker command.
|
|
|
|
.TP
|
|
|
|
.B \-t (\-\-tempfile)
|
|
|
|
Always save changed buffer without prompting. Same as Pico -t option.
|
|
|
|
.TP
|
|
|
|
.B \-v (\-\-view)
|
|
|
|
View file (read only) mode.
|
|
|
|
.TP
|
|
|
|
.B \-w (\-\-nowrap)
|
|
|
|
Disable wrapping of long lines.
|
|
|
|
.TP
|
|
|
|
.B \-x (\-\-nohelp)
|
|
|
|
Disable help screen at bottom of editor.
|
|
|
|
.TP
|
|
|
|
.B \-z (\-\-suspend)
|
|
|
|
Enable suspend ability.
|
|
|
|
.TP
|
|
|
|
.B \+LINE
|
|
|
|
Places cursor at LINE on startup.
|
2000-12-03 02:46:02 +00:00
|
|
|
.SH NOTES
|
|
|
|
Nano will try to dump the buffer into an emergency file in some cases.
|
|
|
|
Mainly, this will happen if Nano recieves a SIGHUP or runs out of
|
|
|
|
memory, when it will write the buffer into a file named "nano.save" if the
|
|
|
|
buffer didn't have a name already, or will add a ".save" suffix to the
|
2000-12-03 03:15:19 +00:00
|
|
|
current finename. Nano will \fBnot\fP write this file if a previous one
|
|
|
|
exists in the current directory.
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH BUGS
|
|
|
|
Please send any comments or bug reports to
|
2000-12-03 02:46:02 +00:00
|
|
|
.br
|
2000-09-27 03:16:11 +00:00
|
|
|
.B nano@nano-editor.org.
|
2000-12-03 02:46:02 +00:00
|
|
|
.br
|
2000-06-06 05:53:49 +00:00
|
|
|
The nano mailing list is available from
|
2000-12-03 02:46:02 +00:00
|
|
|
.br
|
2000-06-06 05:53:49 +00:00
|
|
|
.B nano-devel@lists.sourceforge.net.
|
|
|
|
To subscribe, email to nano-devel-request@lists.sourceforge.net with a
|
|
|
|
subject of "subscribe".
|
|
|
|
.SH HOMEPAGE
|
2000-09-27 03:16:11 +00:00
|
|
|
http://www.nano-editor.org
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH AUTHOR
|
2000-12-03 02:46:02 +00:00
|
|
|
Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS for details).
|
|
|
|
This manual page was originally written by Jordi Mallach
|
|
|
|
<jordi@sindominio.net>, for the Debian GNU/Linux system (but may be
|
|
|
|
used by others).
|