blob: 1234256de0734ce04bd42b90b70ccf347b0aa13b [file] [log] [blame]
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00001Content-type: text/html
2
3<HTML><HEAD><TITLE>Manpage of NANO</TITLE>
4</HEAD><BODY>
5<H1>NANO</H1>
Chris Allegretta90941712000-12-03 03:23:16 +00006Section: User Commands (1)<BR>Updated: December 2, 2000<BR><A HREF="#index">Index</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +00007<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
8
9
10
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000011<A NAME="lbAB">&nbsp;</A>
12<H2>NAME</H2>
13
14nano - Nano's ANOther editor, an enhanced free Pico Clone
15<A NAME="lbAC">&nbsp;</A>
16<H2>SYNOPSIS</H2>
17
18<B>nano</B>
19
20[options]&nbsp;[+LINE]<I> file</I>
21
22<BR>
23
24<A NAME="lbAD">&nbsp;</A>
25<H2>DESCRIPTION</H2>
26
27This manual page documents briefly the
28<B>nano</B>
29
30command.
31<P>
32
33
34
35
Chris Allegretta90941712000-12-03 03:23:16 +000036<B>nano</B> is a small, free and friendly editor which aims to replace
37Pico, the default editor included in the non-free Pine package. Rather
38than just copying Pico's look and feel,
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000039<B>nano</B>
40
Chris Allegretta90941712000-12-03 03:23:16 +000041also implements some missing (or disabled by default) features in Pico,
42such as &quot;search and replace&quot; and &quot;goto line number&quot;.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000043<A NAME="lbAE">&nbsp;</A>
44<H2>OPTIONS</H2>
45
46<DL COMPACT>
Chris Allegretta4da1fc62000-06-21 03:00:43 +000047<DT><B>-T (--tabsize)</B>
48
49<DD>
Chris Allegrettabbd96ea2000-08-04 02:05:44 +000050Set the size (width) of a tab.
Chris Allegrettaa408edd2000-07-07 04:20:09 +000051<DT><B>-R (--regexp)</B>
52
53<DD>
54Enable regular expression matching for search strings, as well as
55\n subexpression replacement for replace strings, if available.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000056<DT><B>-V (--version)</B>
57
58<DD>
59Show the current version number and author.
60<DT><B>-h (--help)</B>
61
62<DD>
63Display a summary of commandline options.
64<DT><B>-c (--const)</B>
65
66<DD>
67Constantly show the cursor position.
Chris Allegretta84ff4792000-07-28 17:29:22 +000068<DT><B>-k (--cut)</B>
69
70<DD>
71Enable cut from cursor to end of line with ^K.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000072<DT><B>-i (--autoindent)</B>
73
74<DD>
75Indent new lines to the previous line's indentation. Useful when editing
76source code.
77<DT><B>-l (--nofollow)</B>
78
79<DD>
80If the file being edited is a symbolic link, replace the link with a
81a new file, do not follow it. Good for editing files in /tmp perhaps?
82<DT><B>-m (--mouse)</B>
83
84<DD>
85Enable mouse support (if available for your system).
86<DT><B>-p (--pico)</B>
87
88<DD>
Chris Allegrettad466ab72000-11-19 20:36:41 +000089Emulate Pico as closely as possible.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000090<DT><B>-s (--speller)</B>
91
92<DD>
93Enable alternative spell checker command.
94<DT><B>-t (--tempfile)</B>
95
96<DD>
97Always save changed buffer without prompting. Same as Pico -t option.
98<DT><B>-v (--view)</B>
99
100<DD>
101View file (read only) mode.
102<DT><B>-w (--nowrap)</B>
103
104<DD>
105Disable wrapping of long lines.
106<DT><B>-x (--nohelp)</B>
107
108<DD>
109Disable help screen at bottom of editor.
110<DT><B>-z (--suspend)</B>
111
112<DD>
113Enable suspend ability.
114<DT><B>+LINE</B>
115
116<DD>
117Places cursor at LINE on startup.
118</DL>
119<A NAME="lbAF">&nbsp;</A>
Chris Allegretta90941712000-12-03 03:23:16 +0000120<H2>NOTES</H2>
121
122Nano will try to dump the buffer into an emergency file in some cases.
123Mainly, this will happen if Nano recieves a SIGHUP or runs out of
124memory, when it will write the buffer into a file named &quot;nano.save&quot; if the
125buffer didn't have a name already, or will add a &quot;.save&quot; suffix to the
126current finename. Nano will <B>not</B> write this file if a previous one
127exists in the current directory.
128<A NAME="lbAG">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000129<H2>BUGS</H2>
130
131Please send any comments or bug reports to
Chris Allegretta90941712000-12-03 03:23:16 +0000132<BR>
133
Chris Allegretta66989d62000-09-27 03:16:11 +0000134<B><A HREF="mailto:nano@nano-editor.org">nano@nano-editor.org</A>.</B>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000135
Chris Allegretta90941712000-12-03 03:23:16 +0000136<BR>
137
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000138The nano mailing list is available from
Chris Allegretta90941712000-12-03 03:23:16 +0000139<BR>
140
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000141<B><A HREF="mailto:nano-devel@lists.sourceforge.net">nano-devel@lists.sourceforge.net</A>.</B>
142
143To subscribe, email to <A HREF="mailto:nano-devel-request@lists.sourceforge.net">nano-devel-request@lists.sourceforge.net</A> with a
144subject of &quot;subscribe&quot;.
Chris Allegretta90941712000-12-03 03:23:16 +0000145<A NAME="lbAH">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000146<H2>HOMEPAGE</H2>
147
Chris Allegretta66989d62000-09-27 03:16:11 +0000148<A HREF="http://www.nano-editor.org">http://www.nano-editor.org</A>
Chris Allegretta90941712000-12-03 03:23:16 +0000149<A NAME="lbAI">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000150<H2>AUTHOR</H2>
151
Chris Allegretta90941712000-12-03 03:23:16 +0000152Chris Allegretta &lt;<A HREF="mailto:chrisa@asty.org">chrisa@asty.org</A>&gt;, et al (see AUTHORS for details).
153This manual page was originally written by Jordi Mallach
154&lt;<A HREF="mailto:jordi@sindominio.net">jordi@sindominio.net</A>&gt;, for the Debian GNU/Linux system (but may be
155used by others).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000156<P>
157
158<HR>
159<A NAME="index">&nbsp;</A><H2>Index</H2>
160<DL>
161<DT><A HREF="#lbAB">NAME</A><DD>
162<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
163<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
164<DT><A HREF="#lbAE">OPTIONS</A><DD>
Chris Allegretta90941712000-12-03 03:23:16 +0000165<DT><A HREF="#lbAF">NOTES</A><DD>
166<DT><A HREF="#lbAG">BUGS</A><DD>
167<DT><A HREF="#lbAH">HOMEPAGE</A><DD>
168<DT><A HREF="#lbAI">AUTHOR</A><DD>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000169</DL>
170<HR>
171This document was created by
172<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
173using the manual pages.<BR>
Chris Allegretta90941712000-12-03 03:23:16 +0000174Time: 04:21:24 GMT, December 03, 2000
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000175</BODY>
176</HTML>