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