2000-06-06 09:53:49 +04:00
|
|
|
Content-type: text/html
|
|
|
|
|
|
|
|
<HTML><HEAD><TITLE>Manpage of NANO</TITLE>
|
|
|
|
</HEAD><BODY>
|
|
|
|
<H1>NANO</H1>
|
2002-01-05 07:08:01 +03:00
|
|
|
Section: User Commands (1)<BR>Updated: January 3, 2002<BR><A HREF="#index">Index</A>
|
2000-06-06 09:53:49 +04:00
|
|
|
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
|
|
<H2>NAME</H2>
|
|
|
|
|
|
|
|
nano - Nano's ANOther editor, an enhanced free Pico Clone
|
|
|
|
<A NAME="lbAC"> </A>
|
|
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
<B>nano</B>
|
|
|
|
|
|
|
|
[options] [+LINE]<I> file</I>
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
|
|
|
<A NAME="lbAD"> </A>
|
|
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
This manual page documents briefly the
|
|
|
|
<B>nano</B>
|
|
|
|
|
|
|
|
command.
|
|
|
|
<P>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2000-12-03 06:23:16 +03:00
|
|
|
<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,
|
2000-06-06 09:53:49 +04:00
|
|
|
<B>nano</B>
|
|
|
|
|
2000-12-03 06:23:16 +03:00
|
|
|
also implements some missing (or disabled by default) features in Pico,
|
|
|
|
such as "search and replace" and "goto line number".
|
2000-06-06 09:53:49 +04:00
|
|
|
<A NAME="lbAE"> </A>
|
|
|
|
<H2>OPTIONS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-D (--dos)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Write file in DOS format.
|
2001-07-15 20:07:23 +04:00
|
|
|
<DT><B>-F (--multibuffer)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Enable multiple file buffers (if available).
|
2002-01-05 07:08:01 +03:00
|
|
|
<DT><B>-K (--keypad)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Do not use the ncurses keypad() call unless necessary. Try this flag if
|
|
|
|
you find that the arrow keys on the numeric keypad do not work for you
|
|
|
|
under nano.
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-M (--mac)</B>
|
2000-06-21 07:00:43 +04:00
|
|
|
|
|
|
|
<DD>
|
2001-10-04 05:24:07 +04:00
|
|
|
Write file in Mac format.
|
2000-07-07 08:20:09 +04:00
|
|
|
<DT><B>-R (--regexp)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Enable regular expression matching for search strings, as well as
|
|
|
|
\n subexpression replacement for replace strings, if available.
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-S (--smooth)</B>
|
2000-06-06 09:53:49 +04:00
|
|
|
|
|
|
|
<DD>
|
2001-10-04 05:24:07 +04:00
|
|
|
Enable smooth scrolling. Text will scroll line-by-line, instead of the
|
|
|
|
usual chunk-by-chunk behaviour.
|
|
|
|
<DT><B>-T [num] (--tabsize=[num])</B>
|
2000-06-06 09:53:49 +04:00
|
|
|
|
|
|
|
<DD>
|
2001-10-04 05:24:07 +04:00
|
|
|
Set the size (width) of a tab.
|
|
|
|
<DT><B>-V (--version)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Show the current version number and author.
|
2000-06-06 09:53:49 +04:00
|
|
|
<DT><B>-c (--const)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Constantly show the cursor position.
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-h (--help)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Display a summary of command line options.
|
2000-06-06 09:53:49 +04:00
|
|
|
<DT><B>-i (--autoindent)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Indent new lines to the previous line's indentation. Useful when editing
|
|
|
|
source code.
|
2001-04-30 15:23:33 +04:00
|
|
|
<DT><B>-k (--cut)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Enable cut from cursor to end of line with ^K.
|
2000-06-06 09:53:49 +04:00
|
|
|
<DT><B>-l (--nofollow)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
If the file being edited is a symbolic link, replace the link with a
|
2001-05-05 21:45:54 +04:00
|
|
|
a new file, do not follow it. Good for editing files in /tmp, perhaps?
|
2000-06-06 09:53:49 +04:00
|
|
|
<DT><B>-m (--mouse)</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Enable mouse support (if available for your system).
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-o [dir] (--operatingdir=[dir])</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Set operating directory. Makes nano set up something similar to a chroot.
|
2000-06-06 09:53:49 +04:00
|
|
|
<DT><B>-p (--pico)</B>
|
|
|
|
|
|
|
|
<DD>
|
2000-12-18 05:23:50 +03:00
|
|
|
Emulate Pico as closely as possible. This affects both the "shortcut list"
|
|
|
|
at the bottom of the screen, as well as the display and entry of previous
|
|
|
|
search and replace strings.
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-r [#cols] (--fill=[#cols])</B>
|
2001-04-30 15:23:33 +04:00
|
|
|
|
|
|
|
<DD>
|
2001-05-05 21:45:54 +04:00
|
|
|
Wrap lines at column #cols. By default, this is the width of the screen,
|
2001-05-21 16:56:25 +04:00
|
|
|
less eight. If this value is negative, wrapping will occur at #cols from
|
|
|
|
the right of the screen, allowing it to vary along with the screen width
|
|
|
|
if the screen is resized.
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-s [prog] (--speller=[prog])</B>
|
2000-06-06 09:53:49 +04:00
|
|
|
|
|
|
|
<DD>
|
|
|
|
Enable alternative spell checker command.
|
|
|
|
<DT><B>-t (--tempfile)</B>
|
|
|
|
|
|
|
|
<DD>
|
2001-05-05 21:45:54 +04:00
|
|
|
Always save changed buffer without prompting. Same as Pico -t option.
|
2000-06-06 09:53:49 +04:00
|
|
|
<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.
|
2001-10-04 05:24:07 +04:00
|
|
|
<DT><B>-a, -b, -e, -f, -g, -j</B>
|
2000-12-18 05:23:50 +03:00
|
|
|
|
|
|
|
<DD>
|
|
|
|
Ignored, for compatibility with Pico.
|
2000-06-06 09:53:49 +04:00
|
|
|
<DT><B>+LINE</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Places cursor at LINE on startup.
|
|
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
2000-12-03 06:23:16 +03:00
|
|
|
<H2>NOTES</H2>
|
|
|
|
|
|
|
|
Nano will try to dump the buffer into an emergency file in some cases.
|
2001-05-05 21:45:54 +04:00
|
|
|
Mainly, this will happen if Nano receives a SIGHUP or runs out of
|
2000-12-03 06:23:16 +03:00
|
|
|
memory, when it will write the buffer into a file named "nano.save" if the
|
|
|
|
buffer didn't have a name already, or will add a ".save" suffix to the
|
2001-10-04 05:24:07 +04:00
|
|
|
current filename. In multibuffer mode, nano will write all the open buffers to
|
|
|
|
the respective emergency files. Nano will <B>not</B> write this file if a
|
|
|
|
previous one exists in the current directory.
|
2000-12-03 06:23:16 +03:00
|
|
|
<A NAME="lbAG"> </A>
|
2000-06-06 09:53:49 +04:00
|
|
|
<H2>BUGS</H2>
|
|
|
|
|
|
|
|
Please send any comments or bug reports to
|
2000-12-03 06:23:16 +03:00
|
|
|
<BR>
|
|
|
|
|
2000-09-27 07:16:11 +04:00
|
|
|
<B><A HREF="mailto:nano@nano-editor.org">nano@nano-editor.org</A>.</B>
|
2000-06-06 09:53:49 +04:00
|
|
|
|
2000-12-03 06:23:16 +03:00
|
|
|
<BR>
|
|
|
|
|
2000-06-06 09:53:49 +04:00
|
|
|
The nano mailing list is available from
|
2000-12-03 06:23:16 +03:00
|
|
|
<BR>
|
|
|
|
|
2002-02-01 16:40:34 +03:00
|
|
|
<B><A HREF="mailto:nano-devel@gnu.org">nano-devel@gnu.org</A>.</B>
|
2000-06-06 09:53:49 +04:00
|
|
|
|
2002-02-01 16:40:34 +03:00
|
|
|
To subscribe, email to <A HREF="mailto:nano-devel-request@gnu.org">nano-devel-request@gnu.org</A> with a
|
2000-06-06 09:53:49 +04:00
|
|
|
subject of "subscribe".
|
2000-12-03 06:23:16 +03:00
|
|
|
<A NAME="lbAH"> </A>
|
2000-06-06 09:53:49 +04:00
|
|
|
<H2>HOMEPAGE</H2>
|
|
|
|
|
2000-09-27 07:16:11 +04:00
|
|
|
<A HREF="http://www.nano-editor.org">http://www.nano-editor.org</A>
|
2000-12-03 06:23:16 +03:00
|
|
|
<A NAME="lbAI"> </A>
|
2000-06-06 09:53:49 +04:00
|
|
|
<H2>AUTHOR</H2>
|
|
|
|
|
2001-10-04 05:24:07 +04:00
|
|
|
Chris Allegretta <<A HREF="mailto:chrisa@asty.org">chrisa@asty.org</A>>, et al (see AUTHORS and THANKS for
|
|
|
|
details).
|
2000-12-03 06:23:16 +03:00
|
|
|
This manual page was originally written by Jordi Mallach
|
|
|
|
<<A HREF="mailto:jordi@sindominio.net">jordi@sindominio.net</A>>, for the Debian GNU/Linux system (but may be
|
|
|
|
used by others).
|
2000-06-06 09:53:49 +04:00
|
|
|
<P>
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
<A NAME="index"> </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>
|
2000-12-03 06:23:16 +03:00
|
|
|
<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>
|
2000-06-06 09:53:49 +04:00
|
|
|
</DL>
|
|
|
|
<HR>
|
|
|
|
This document was created by
|
|
|
|
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
|
|
|
|
using the manual pages.<BR>
|
2002-02-01 16:40:34 +03:00
|
|
|
Time: 13:37:58 GMT, February 01, 2002
|
2000-06-06 09:53:49 +04:00
|
|
|
</BODY>
|
|
|
|
</HTML>
|