blob: 67d3840ac9889a9b37436cb9f443bec619025db8 [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 Allegretta465f1e32001-04-30 11:23:33 +00006Section: User Commands (1)<BR>Updated: April 30, 2001<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.
68<DT><B>-i (--autoindent)</B>
69
70<DD>
71Indent new lines to the previous line's indentation. Useful when editing
72source code.
Chris Allegretta465f1e32001-04-30 11:23:33 +000073<DT><B>-k (--cut)</B>
74
75<DD>
76Enable cut from cursor to end of line with ^K.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000077<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 Allegretta465f1e32001-04-30 11:23:33 +000092<DT><B>-r (--fill)</B>
93
94<DD>
95Wrap lines at column #cols. By default this is the width of the screen,
96less eight.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +000097<DT><B>-s (--speller)</B>
98
99<DD>
100Enable alternative spell checker command.
101<DT><B>-t (--tempfile)</B>
102
103<DD>
104Always save changed buffer without prompting. Same as Pico -t option.
105<DT><B>-v (--view)</B>
106
107<DD>
108View file (read only) mode.
109<DT><B>-w (--nowrap)</B>
110
111<DD>
112Disable wrapping of long lines.
113<DT><B>-x (--nohelp)</B>
114
115<DD>
116Disable help screen at bottom of editor.
117<DT><B>-z (--suspend)</B>
118
119<DD>
120Enable suspend ability.
Chris Allegretta51b3eec2000-12-18 02:23:50 +0000121<DT><B>-b, -e, -f</B>
122
123<DD>
124Ignored, for compatibility with Pico.
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000125<DT><B>+LINE</B>
126
127<DD>
128Places cursor at LINE on startup.
129</DL>
130<A NAME="lbAF">&nbsp;</A>
Chris Allegretta90941712000-12-03 03:23:16 +0000131<H2>NOTES</H2>
132
133Nano will try to dump the buffer into an emergency file in some cases.
134Mainly, this will happen if Nano recieves a SIGHUP or runs out of
135memory, when it will write the buffer into a file named &quot;nano.save&quot; if the
136buffer didn't have a name already, or will add a &quot;.save&quot; suffix to the
137current finename. Nano will <B>not</B> write this file if a previous one
138exists in the current directory.
139<A NAME="lbAG">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000140<H2>BUGS</H2>
141
142Please send any comments or bug reports to
Chris Allegretta90941712000-12-03 03:23:16 +0000143<BR>
144
Chris Allegretta66989d62000-09-27 03:16:11 +0000145<B><A HREF="mailto:nano@nano-editor.org">nano@nano-editor.org</A>.</B>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000146
Chris Allegretta90941712000-12-03 03:23:16 +0000147<BR>
148
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000149The nano mailing list is available from
Chris Allegretta90941712000-12-03 03:23:16 +0000150<BR>
151
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000152<B><A HREF="mailto:nano-devel@lists.sourceforge.net">nano-devel@lists.sourceforge.net</A>.</B>
153
154To subscribe, email to <A HREF="mailto:nano-devel-request@lists.sourceforge.net">nano-devel-request@lists.sourceforge.net</A> with a
155subject of &quot;subscribe&quot;.
Chris Allegretta90941712000-12-03 03:23:16 +0000156<A NAME="lbAH">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000157<H2>HOMEPAGE</H2>
158
Chris Allegretta66989d62000-09-27 03:16:11 +0000159<A HREF="http://www.nano-editor.org">http://www.nano-editor.org</A>
Chris Allegretta90941712000-12-03 03:23:16 +0000160<A NAME="lbAI">&nbsp;</A>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000161<H2>AUTHOR</H2>
162
Chris Allegretta90941712000-12-03 03:23:16 +0000163Chris Allegretta &lt;<A HREF="mailto:chrisa@asty.org">chrisa@asty.org</A>&gt;, et al (see AUTHORS for details).
164This manual page was originally written by Jordi Mallach
165&lt;<A HREF="mailto:jordi@sindominio.net">jordi@sindominio.net</A>&gt;, for the Debian GNU/Linux system (but may be
166used by others).
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000167<P>
168
169<HR>
170<A NAME="index">&nbsp;</A><H2>Index</H2>
171<DL>
172<DT><A HREF="#lbAB">NAME</A><DD>
173<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
174<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
175<DT><A HREF="#lbAE">OPTIONS</A><DD>
Chris Allegretta90941712000-12-03 03:23:16 +0000176<DT><A HREF="#lbAF">NOTES</A><DD>
177<DT><A HREF="#lbAG">BUGS</A><DD>
178<DT><A HREF="#lbAH">HOMEPAGE</A><DD>
179<DT><A HREF="#lbAI">AUTHOR</A><DD>
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000180</DL>
181<HR>
182This document was created by
183<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
184using the manual pages.<BR>
Chris Allegretta465f1e32001-04-30 11:23:33 +0000185Time: 11:22:15 GMT, April 30, 2001
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000186</BODY>
187</HTML>