nano.1.html 4.23 KB
Newer Older
Chris Allegretta's avatar
Chris Allegretta committed
1
2
3
4
5
Content-type: text/html

<HTML><HEAD><TITLE>Manpage of NANO</TITLE>
</HEAD><BODY>
<H1>NANO</H1>
6
Section: User Commands  (1)<BR>Updated: December 2, 2000<BR><A HREF="#index">Index</A>
Chris Allegretta's avatar
Chris Allegretta committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>



<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

nano - Nano's ANOther editor, an enhanced free Pico Clone
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>nano</B>

[options]&nbsp;[+LINE]<I> file</I>

<BR>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

This manual page documents briefly the
<B>nano</B>

command.
<P>




36
37
38
<B>nano</B> 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,
Chris Allegretta's avatar
Chris Allegretta committed
39
40
<B>nano</B>

41
42
also implements some missing (or disabled by default) features in Pico,
such as &quot;search and replace&quot; and &quot;goto line number&quot;.
Chris Allegretta's avatar
Chris Allegretta committed
43
44
45
46
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<DL COMPACT>
Chris Allegretta's avatar
Chris Allegretta committed
47
48
49
<DT><B>-T (--tabsize)</B>

<DD>
50
Set the size (width) of a tab.
51
52
53
54
55
<DT><B>-R (--regexp)</B>

<DD>
Enable regular expression matching for search strings, as well as
\n subexpression replacement for replace strings, if available.
Chris Allegretta's avatar
Chris Allegretta committed
56
57
58
59
60
61
62
63
64
65
66
67
<DT><B>-V (--version)</B>

<DD>
Show the current version number and author.
<DT><B>-h (--help)</B>

<DD>
Display a summary of commandline options.
<DT><B>-c (--const)</B>

<DD>
Constantly show the cursor position.
Chris Allegretta's avatar
Chris Allegretta committed
68
69
70
71
<DT><B>-k (--cut)</B>

<DD>
Enable cut from cursor to end of line with ^K.
Chris Allegretta's avatar
Chris Allegretta committed
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<DT><B>-i (--autoindent)</B>

<DD>
Indent new lines to the previous line's indentation. Useful when editing
source code.
<DT><B>-l (--nofollow)</B>

<DD>
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?
<DT><B>-m (--mouse)</B>

<DD>
Enable mouse support (if available for your system).
<DT><B>-p (--pico)</B>

<DD>
89
Emulate Pico as closely as possible.
Chris Allegretta's avatar
Chris Allegretta committed
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<DT><B>-s (--speller)</B>

<DD>
Enable alternative spell checker command.
<DT><B>-t (--tempfile)</B>

<DD>
Always save changed buffer without prompting. Same as Pico -t option.
<DT><B>-v (--view)</B>

<DD>
View file (read only) mode.
<DT><B>-w (--nowrap)</B>

<DD>
Disable wrapping of long lines.
<DT><B>-x (--nohelp)</B>

<DD>
Disable help screen at bottom of editor.
<DT><B>-z (--suspend)</B>

<DD>
Enable suspend ability.
<DT><B>+LINE</B>

<DD>
Places cursor at LINE on startup.
</DL>
<A NAME="lbAF">&nbsp;</A>
120
121
122
123
124
125
126
127
128
<H2>NOTES</H2>

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 &quot;nano.save&quot; if the
buffer didn't have a name already, or will add a &quot;.save&quot; suffix to the
current finename. Nano will <B>not</B> write this file if a previous one
exists in the current directory.
<A NAME="lbAG">&nbsp;</A>
Chris Allegretta's avatar
Chris Allegretta committed
129
130
131
<H2>BUGS</H2>

Please send any comments or bug reports to
132
133
<BR>

Chris Allegretta's avatar
Chris Allegretta committed
134
<B><A HREF="mailto:nano@nano-editor.org">nano@nano-editor.org</A>.</B>
Chris Allegretta's avatar
Chris Allegretta committed
135

136
137
<BR>

Chris Allegretta's avatar
Chris Allegretta committed
138
The nano mailing list is available from
139
140
<BR>

Chris Allegretta's avatar
Chris Allegretta committed
141
142
143
144
<B><A HREF="mailto:nano-devel@lists.sourceforge.net">nano-devel@lists.sourceforge.net</A>.</B>

To subscribe, email to <A HREF="mailto:nano-devel-request@lists.sourceforge.net">nano-devel-request@lists.sourceforge.net</A> with a
subject of &quot;subscribe&quot;.
145
<A NAME="lbAH">&nbsp;</A>
Chris Allegretta's avatar
Chris Allegretta committed
146
147
<H2>HOMEPAGE</H2>

Chris Allegretta's avatar
Chris Allegretta committed
148
<A HREF="http://www.nano-editor.org">http://www.nano-editor.org</A>
149
<A NAME="lbAI">&nbsp;</A>
Chris Allegretta's avatar
Chris Allegretta committed
150
151
<H2>AUTHOR</H2>

152
153
154
155
Chris Allegretta &lt;<A HREF="mailto:chrisa@asty.org">chrisa@asty.org</A>&gt;, et al (see AUTHORS for details).
This manual page was originally written by Jordi Mallach
&lt;<A HREF="mailto:jordi@sindominio.net">jordi@sindominio.net</A>&gt;, for the Debian GNU/Linux system (but may be
used by others).
Chris Allegretta's avatar
Chris Allegretta committed
156
157
158
159
160
161
162
163
164
<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
165
166
167
168
<DT><A HREF="#lbAF">NOTES</A><DD>
<DT><A HREF="#lbAG">BUGS</A><DD>
<DT><A HREF="#lbAH">HOMEPAGE</A><DD>
<DT><A HREF="#lbAI">AUTHOR</A><DD>
Chris Allegretta's avatar
Chris Allegretta committed
169
170
171
172
173
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
174
Time: 04:21:24 GMT, December 03, 2000
Chris Allegretta's avatar
Chris Allegretta committed
175
176
</BODY>
</HTML>