a408edd486
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@81 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
105 строки
3.1 KiB
Groff
105 строки
3.1 KiB
Groff
.\" Hey, EMACS: -*- nroff -*-
|
|
.\" 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)
|
|
.TH NANO 1 "January 4, 2000"
|
|
.\" Please adjust this date whenever revising the manpage.
|
|
.\"
|
|
.\" Some roff macros, for reference:
|
|
.\" .nh disable hyphenation
|
|
.\" .hy enable hyphenation
|
|
.\" .ad l left justify
|
|
.\" .ad b justify to both left and right margins
|
|
.\" .nf disable filling
|
|
.\" .fi enable filling
|
|
.\" .br insert line break
|
|
.\" .sp <n> insert n+1 empty lines
|
|
.\" for manpage-specific macros, see man(7)
|
|
.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.
|
|
\fBnano\fP was originally known as TIP (TIP Isn't Pico). It 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,
|
|
.B nano
|
|
also implements some missing (or disabled by
|
|
default) features in Pico, such as "search and replace" and "goto line
|
|
number".
|
|
.SH OPTIONS
|
|
.TP
|
|
.B \-T (\-\-tabsize)
|
|
Set the size (width) of a tab, if supported by your curses library.
|
|
.TP
|
|
.B \-R (\-\-regexp)
|
|
Enable regular expression matching for search strings, as well as
|
|
\\n subexpression replacement for replace strings, if available.
|
|
.TP
|
|
.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
|
|
.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)
|
|
Display the same shortcut lists as Pico does.
|
|
.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.
|
|
.SH BUGS
|
|
Please send any comments or bug reports to
|
|
.B nano@asty.org.
|
|
The nano mailing list is available from
|
|
.B nano-devel@lists.sourceforge.net.
|
|
To subscribe, email to nano-devel-request@lists.sourceforge.net with a
|
|
subject of "subscribe".
|
|
.SH HOMEPAGE
|
|
http://www.asty.org/nano
|
|
.SH AUTHOR
|
|
Chris Allegretta <chrisa@asty.org>, et al. This manual page was
|
|
originally written by Jordi Mallach <jordi@sindominio.net>, for the Debian
|
|
GNU/Linux system (but may be used by others).
|