blob: d035155bde096810cba8a2a861668d305325a721 [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 Allegretta51b3eec2000-12-18 02:23:50 +000089Emulate Pico as closely as possible. This affects both the &quot;shortcut list&quot;
90at the bottom of the screen, as well as the display and entry of previous
91search and replace strings.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000092<DT><B>-s (--speller)</B>
93
94<DD>
95Enable alternative spell checker command.
96<DT><B>-t (--tempfile)</B>
97
98<DD>
99Always save changed buffer without prompting. Same as Pico -t option.
100<DT><B>-v (--view)</B>
101
102<DD>
103View file (read only) mode.
104<DT><B>-w (--nowrap)</B>
105
106<DD>
107Disable wrapping of long lines.
108<DT><B>-x (--nohelp)</B>
109
110<DD>
111Disable help screen at bottom of editor.
112<DT><B>-z (--suspend)</B>
113
114<DD>
115Enable suspend ability.
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000116<DT><B>-b, -e, -f</B>
117
118<DD>
119Ignored, for compatibility with Pico.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000120<DT><B>+LINE</B>
121
122<DD>
123Places cursor at LINE on startup.
124</DL>
125<A NAME="lbAF">&nbsp;</A>
Chris Allegretta90941712000-12-03 03:23:16 +0000126<H2>NOTES</H2>
127
128Nano will try to dump the buffer into an emergency file in some cases.
129Mainly, this will happen if Nano recieves a SIGHUP or runs out of
130memory, when it will write the buffer into a file named &quot;nano.save&quot; if the
131buffer didn't have a name already, or will add a &quot;.save&quot; suffix to the
132current finename. Nano will <B>not</B> write this file if a previous one
133exists in the current directory.
134<A NAME="lbAG">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000135<H2>BUGS</H2>
136
137Please send any comments or bug reports to
Chris Allegretta90941712000-12-03 03:23:16 +0000138<BR>
139
Chris Allegretta66989d62000-09-27 03:16:11 +0000140<B><A HREF="mailto:nano@nano-editor.org">nano@nano-editor.org</A>.</B>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000141
Chris Allegretta90941712000-12-03 03:23:16 +0000142<BR>
143
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000144The nano mailing list is available from
Chris Allegretta90941712000-12-03 03:23:16 +0000145<BR>
146
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000147<B><A HREF="mailto:nano-devel@lists.sourceforge.net">nano-devel@lists.sourceforge.net</A>.</B>
148
149To subscribe, email to <A HREF="mailto:nano-devel-request@lists.sourceforge.net">nano-devel-request@lists.sourceforge.net</A> with a
150subject of &quot;subscribe&quot;.
Chris Allegretta90941712000-12-03 03:23:16 +0000151<A NAME="lbAH">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000152<H2>HOMEPAGE</H2>
153
Chris Allegretta66989d62000-09-27 03:16:11 +0000154<A HREF="http://www.nano-editor.org">http://www.nano-editor.org</A>
Chris Allegretta90941712000-12-03 03:23:16 +0000155<A NAME="lbAI">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000156<H2>AUTHOR</H2>
157
Chris Allegretta90941712000-12-03 03:23:16 +0000158Chris Allegretta &lt;<A HREF="mailto:chrisa@asty.org">chrisa@asty.org</A>&gt;, et al (see AUTHORS for details).
159This manual page was originally written by Jordi Mallach
160&lt;<A HREF="mailto:jordi@sindominio.net">jordi@sindominio.net</A>&gt;, for the Debian GNU/Linux system (but may be
161used by others).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000162<P>
163
164<HR>
165<A NAME="index">&nbsp;</A><H2>Index</H2>
166<DL>
167<DT><A HREF="#lbAB">NAME</A><DD>
168<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
169<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
170<DT><A HREF="#lbAE">OPTIONS</A><DD>
Chris Allegretta90941712000-12-03 03:23:16 +0000171<DT><A HREF="#lbAF">NOTES</A><DD>
172<DT><A HREF="#lbAG">BUGS</A><DD>
173<DT><A HREF="#lbAH">HOMEPAGE</A><DD>
174<DT><A HREF="#lbAI">AUTHOR</A><DD>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000175</DL>
176<HR>
177This document was created by
178<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
179using the manual pages.<BR>
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000180Time: 02:16:52 GMT, December 18, 2000
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000181</BODY>
182</HTML>