2017-04-09 10:09:23 +00:00
|
|
|
.\" Copyright (C) 1999-2011, 2013-2017 Free Software Foundation, Inc.
|
2000-12-03 02:46:02 +00:00
|
|
|
.\"
|
2007-08-23 04:34:35 +00:00
|
|
|
.\" This document is dual-licensed. You may distribute and/or modify it
|
|
|
|
.\" under the terms of either of the following licenses:
|
|
|
|
.\"
|
|
|
|
.\" * The GNU General Public License, as published by the Free Software
|
|
|
|
.\" Foundation, version 3 or (at your option) any later version. You
|
|
|
|
.\" should have received a copy of the GNU General Public License
|
|
|
|
.\" along with this program. If not, see
|
|
|
|
.\" <http://www.gnu.org/licenses/>.
|
|
|
|
.\"
|
|
|
|
.\" * The GNU Free Documentation License, as published by the Free
|
|
|
|
.\" Software Foundation, version 1.2 or (at your option) any later
|
|
|
|
.\" version, with no Invariant Sections, no Front-Cover Texts, and no
|
|
|
|
.\" Back-Cover Texts. You should have received a copy of the GNU Free
|
|
|
|
.\" Documentation License along with this program. If not, see
|
|
|
|
.\" <http://www.gnu.org/licenses/>.
|
2000-12-03 02:46:02 +00:00
|
|
|
.\"
|
2017-08-27 07:31:35 +00:00
|
|
|
.TH NANO 1 "version 2.8.7" "August 2017"
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH NAME
|
2003-01-17 03:06:28 +00:00
|
|
|
nano \- Nano's ANOther editor, an enhanced free Pico clone
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B nano
|
2016-10-22 20:07:02 +00:00
|
|
|
.RI [ options "] [[+" line [, column "]]\ " file "]..."
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH DESCRIPTION
|
2017-04-19 18:31:04 +00:00
|
|
|
\fBnano\fP is a small and friendly editor. It copies the look and feel
|
|
|
|
of Pico, but is free software, and implements several features that Pico
|
|
|
|
lacks, such as: opening multiple files, scrolling per line, undo/redo,
|
|
|
|
syntax coloring, line numbering, and soft-wrapping overlong lines.
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2017-04-24 18:29:41 +00:00
|
|
|
When giving a filename on the command line, the cursor can be put on a
|
2017-04-19 18:31:04 +00:00
|
|
|
specific line by adding the line number with a plus sign (\fB+\fR) before
|
|
|
|
the filename, and even in a specific column by adding it with a comma.
|
2017-01-25 20:55:26 +00:00
|
|
|
|
2017-06-29 18:56:58 +00:00
|
|
|
As a special case: if instead of a filename a dash (\fB\-\fR) is given,
|
|
|
|
\fBnano\fR will read data from standard input.
|
2017-01-25 20:55:26 +00:00
|
|
|
|
2015-06-07 20:14:41 +00:00
|
|
|
.SH EDITING
|
|
|
|
Entering text and moving around in a file is straightforward: typing the
|
|
|
|
letters and using the normal cursor movement keys. Commands are entered
|
2016-10-22 20:07:02 +00:00
|
|
|
by using the Control (^) and the Alt or Meta (M\-) keys.
|
2015-06-07 20:14:41 +00:00
|
|
|
Typing \fB^K\fR deletes the current line and puts it in the cutbuffer.
|
|
|
|
Consecutive \fB^K\fRs will put all deleted lines together in the cutbuffer.
|
|
|
|
Any cursor movement or executing any other command will cause the next
|
|
|
|
\fB^K\fR to overwrite the cutbuffer. A \fB^U\fR will paste the current
|
|
|
|
contents of the cutbuffer at the current cursor position.
|
|
|
|
.PP
|
|
|
|
When a more precise piece of text needs to be cut or copied, one can mark
|
|
|
|
its start with \fB^6\fR, move the cursor to its end (the marked text will be
|
2016-10-22 20:07:02 +00:00
|
|
|
highlighted), and then use \fB^K\fR to cut it, or \fBM\-6\fR to copy it to the
|
2016-09-01 10:38:35 +00:00
|
|
|
cutbuffer. One can also save the marked text to a file with \fB^O\fR, or
|
2015-06-07 20:14:41 +00:00
|
|
|
spell check it with \fB^T\fR.
|
|
|
|
.PP
|
2016-09-01 10:38:35 +00:00
|
|
|
Since nano-2.7.0, text can also be selected by holding Shift and moving the
|
|
|
|
cursor with the arrow keys. Holding down the Alt key too will increase the
|
|
|
|
stride.
|
|
|
|
.PP
|
2017-04-19 18:31:04 +00:00
|
|
|
The two lines at the bottom of the screen show some important commands;
|
2015-06-07 20:14:41 +00:00
|
|
|
the built-in help (\fB^G\fR) lists all the available ones.
|
|
|
|
The default key bindings can be changed via the .nanorc file -- see
|
|
|
|
.BR nanorc (5).
|
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-A ", " \-\-smarthome
|
2004-05-22 20:15:20 +00:00
|
|
|
Make the Home key smarter. When Home is pressed anywhere but at the
|
|
|
|
very beginning of non-whitespace characters on a line, the cursor will
|
|
|
|
jump to that beginning (either forwards or backwards). If the cursor is
|
|
|
|
already at that position, it will jump to the true beginning of the
|
|
|
|
line.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-B ", " \-\-backup
|
2015-06-07 18:45:34 +00:00
|
|
|
When saving a file, back up the previous version of it, using the current
|
2014-05-06 20:43:00 +00:00
|
|
|
filename suffixed with a tilde (\fB~\fP).
|
2002-06-28 22:45:14 +00:00
|
|
|
.TP
|
2017-09-30 17:42:06 +00:00
|
|
|
.BR \-C\ \fIdirectory ", " \-\-backupdir= \fIdirectory
|
2015-06-07 18:45:34 +00:00
|
|
|
Make and keep not just one backup file, but make and keep a uniquely
|
2017-04-19 18:31:04 +00:00
|
|
|
numbered one every time a file is saved -- when backups are enabled (\fB\-B\fR).
|
2015-06-07 18:45:34 +00:00
|
|
|
The uniquely numbered files are stored in the specified \fIdirectory\fR.
|
2004-02-28 16:24:31 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-D ", " \-\-boldtext
|
2006-04-12 15:27:40 +00:00
|
|
|
Use bold text instead of reverse video text.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-E ", " \-\-tabstospaces
|
2005-06-15 23:20:56 +00:00
|
|
|
Convert typed tabs to spaces.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-F ", " \-\-multibuffer
|
2017-04-19 18:31:04 +00:00
|
|
|
Read a file into a new buffer by default.
|
2001-07-15 16:07:23 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-G ", " \-\-locking
|
2017-04-19 18:31:04 +00:00
|
|
|
Use vim-style file locking when editing files.
|
2013-01-01 03:24:39 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-H ", " \-\-historylog
|
2014-06-16 15:02:58 +00:00
|
|
|
Log search and replace strings to \fI~/.nano/search_history\fP, so they can be
|
2014-06-20 15:56:31 +00:00
|
|
|
retrieved in later sessions.
|
2003-01-17 03:06:28 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-I ", " \-\-ignorercfiles
|
2014-06-20 15:56:31 +00:00
|
|
|
Don't look at the system's \fBnanorc\fP nor at \fB~/.nanorc\fP.
|
2002-07-20 13:57:41 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-K ", " \-\-rebindkeypad
|
2005-08-10 22:51:49 +00:00
|
|
|
Interpret the numeric keypad keys so that they all work properly. You
|
|
|
|
should only need to use this option if they don't, as mouse support
|
|
|
|
won't work properly with this option enabled.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-L ", " \-\-nonewlines
|
2005-11-05 17:35:44 +00:00
|
|
|
Don't add newlines to the ends of files.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-N ", " \-\-noconvert
|
2002-02-22 04:30:50 +00:00
|
|
|
Disable automatic conversion of files from DOS/Mac format.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-O ", " \-\-morespace
|
2017-06-18 17:53:18 +00:00
|
|
|
Use the blank line below the title bar as extra editing space.
|
2005-01-17 05:24:26 +00:00
|
|
|
.TP
|
2015-07-15 19:50:55 +00:00
|
|
|
.BR \-P ", " \-\-positionlog
|
2016-01-25 20:51:00 +00:00
|
|
|
For the 200 most recent files, log the last position of the cursor,
|
|
|
|
and place it at that position again upon reopening such a file.
|
|
|
|
(The old form of this option, \fB\-\-poslog\fR, is deprecated.)
|
2013-06-14 02:31:38 +00:00
|
|
|
.TP
|
2017-09-30 17:42:06 +00:00
|
|
|
.BR "\-Q ""\fIcharacters\fB""" ", " "\-\-quotestr=""" \fIcharacters """
|
2002-08-21 16:10:37 +00:00
|
|
|
Set the quoting string for justifying. The default is
|
2014-08-01 21:04:35 +00:00
|
|
|
\fB"^([\ \\t]*[#:>\\|}])+"\fP if extended regular expression support is
|
|
|
|
available, or \fB">\ "\fP otherwise. Note that \fB\\t\fP stands for a
|
2006-05-14 15:19:38 +00:00
|
|
|
Tab.
|
2002-03-04 12:15:44 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-R ", " \-\-restricted
|
2006-05-01 13:22:47 +00:00
|
|
|
Restricted mode: don't read or write to any file not specified on the
|
2014-06-20 15:56:31 +00:00
|
|
|
command line; don't read any \fInanorc\fP files nor history files;
|
|
|
|
don't allow suspending nor spell checking;
|
2014-05-06 20:43:00 +00:00
|
|
|
don't allow a file to be appended to, prepended to, or saved under a
|
2014-06-20 15:56:31 +00:00
|
|
|
different name if it already has one; and don't use backup files.
|
|
|
|
This restricted mode is also accessible by invoking \fBnano\fP
|
2014-05-06 20:43:00 +00:00
|
|
|
with any name beginning with 'r' (e.g. "rnano").
|
2005-06-17 22:53:41 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-S ", " \-\-smooth
|
2017-04-19 18:31:04 +00:00
|
|
|
Use smooth scrolling: text will scroll line-by-line, instead of the
|
2002-07-19 01:08:59 +00:00
|
|
|
usual chunk-by-chunk behavior.
|
2001-10-03 12:45:22 +00:00
|
|
|
.TP
|
2017-09-30 17:42:06 +00:00
|
|
|
.BR \-T\ \fInumber ", " \-\-tabsize= \fInumber
|
2014-05-06 20:43:00 +00:00
|
|
|
Set the size (width) of a tab to \fInumber\fP columns. The value of
|
|
|
|
\fInumber\fP must be greater than 0. The default value is 8.
|
2001-10-03 12:45:22 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-U ", " \-\-quickblank
|
2017-06-18 17:53:18 +00:00
|
|
|
Do quick status-bar blanking: status-bar messages will disappear after 1
|
2017-06-24 17:11:29 +00:00
|
|
|
keystroke instead of 25. Note that option \fB\-c\fR (\fB\-\-constantshow\fR)
|
|
|
|
overrides this.
|
2005-06-17 19:06:25 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-V ", " \-\-version
|
2006-05-01 13:22:47 +00:00
|
|
|
Show the current version number and exit.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-W ", " \-\-wordbounds
|
2016-06-30 16:02:45 +00:00
|
|
|
Detect word boundaries differently by treating punctuation
|
2005-08-10 22:51:49 +00:00
|
|
|
characters as part of a word.
|
|
|
|
.TP
|
2016-06-30 16:02:45 +00:00
|
|
|
.BR "\-X ""\fIcharacters\fB""" ", " "\-\-wordchars=""" \fIcharacters """
|
|
|
|
Specify which other characters (besides the normal alphanumeric ones)
|
|
|
|
should be considered as part of a word. This overrides option
|
|
|
|
\fB\-W\fR (\fB\-\-wordbounds\fR).
|
|
|
|
.TP
|
2017-09-30 17:42:06 +00:00
|
|
|
.BR \-Y\ \fIname ", " \-\-syntax= \fIname
|
2014-06-20 15:56:31 +00:00
|
|
|
Specify the name of the syntax highlighting to use from among the ones
|
|
|
|
defined in the \fInanorc\fP files.
|
2002-05-04 04:23:30 +00:00
|
|
|
.TP
|
2017-06-28 14:57:46 +00:00
|
|
|
.BR \-a ", " \-\-atblanks
|
|
|
|
When doing soft line wrapping, wrap lines at whitespace
|
|
|
|
instead of always at the edge of the screen.
|
|
|
|
.TP
|
2015-07-15 19:40:37 +00:00
|
|
|
.BR \-c ", " \-\-constantshow
|
2017-06-18 17:53:18 +00:00
|
|
|
Constantly show the cursor position on the status bar.
|
2017-06-24 17:11:29 +00:00
|
|
|
Note that this overrides option \fB\-U\fR (\fB\-\-quickblank\fR).
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-d ", " \-\-rebinddelete
|
2003-08-31 16:44:10 +00:00
|
|
|
Interpret the Delete key differently so that both Backspace and Delete
|
|
|
|
work properly. You should only need to use this option if Backspace
|
|
|
|
acts like Delete on your system.
|
|
|
|
.TP
|
2016-10-23 10:56:47 +00:00
|
|
|
.BR \-g ", " \-\-showcursor
|
|
|
|
Make the cursor visible in the file browser, putting it on the
|
|
|
|
highlighted item. Useful for braille users.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-h ", " \-\-help
|
2014-03-03 16:08:45 +00:00
|
|
|
Show a summary of the available command-line options and exit.
|
2001-10-03 12:45:22 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-i ", " \-\-autoindent
|
2004-02-28 01:58:21 +00:00
|
|
|
Indent new lines to the previous line's indentation. Useful when
|
|
|
|
editing source code.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2017-07-14 14:06:52 +00:00
|
|
|
.BR \-k ", " \-\-cutfromcursor
|
2016-10-22 20:07:02 +00:00
|
|
|
Make the 'Cut Text' command (normally \fB^K\fR) cut from the current cursor
|
2014-05-06 20:43:00 +00:00
|
|
|
position to the end of the line, instead of cutting the entire line.
|
2001-04-30 10:30:43 +00:00
|
|
|
.TP
|
2016-10-20 08:44:29 +00:00
|
|
|
.BR \-l ", " \-\-linenumbers
|
|
|
|
Display line numbers to the left of the text area.
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-m ", " \-\-mouse
|
2006-05-24 20:55:44 +00:00
|
|
|
Enable mouse support, if available for your system. When enabled, mouse
|
|
|
|
clicks can be used to place the cursor, set the mark (with a double
|
|
|
|
click), and execute shortcuts. The mouse will work in the X Window
|
2014-05-06 20:43:00 +00:00
|
|
|
System, and on the console when gpm is running. Text can still be
|
|
|
|
selected through dragging by holding down the Shift key.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-n ", " \-\-noread
|
2014-04-08 19:40:37 +00:00
|
|
|
Treat any name given on the command line as a new file. This allows
|
|
|
|
\fBnano\fR to write to named pipes: it will start with a blank buffer,
|
|
|
|
and will write to the pipe when the user saves the "file". This way
|
|
|
|
\fBnano\fR can be used as an editor in combination with for instance
|
|
|
|
\fBgpg\fR without having to write sensitive data to disk first.
|
|
|
|
.TP
|
2017-09-30 17:42:06 +00:00
|
|
|
.BR \-o\ \fIdirectory ", " \-\-operatingdir= \fIdirectory
|
2014-06-20 15:56:31 +00:00
|
|
|
Set the operating directory. This makes \fBnano\fP set up something
|
|
|
|
similar to a chroot.
|
2001-10-03 12:45:22 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-p ", " \-\-preserve
|
2003-08-31 16:44:10 +00:00
|
|
|
Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught
|
|
|
|
by the terminal.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-q ", " \-\-quiet
|
2017-10-07 14:45:17 +00:00
|
|
|
Obsolete option. Recognized but ignored.
|
2009-02-09 04:03:20 +00:00
|
|
|
.TP
|
2017-09-30 17:42:06 +00:00
|
|
|
.BR \-r\ \fInumber ", " \-\-fill= \fInumber
|
2014-05-06 20:43:00 +00:00
|
|
|
Hard-wrap lines at column \fInumber\fP. If this value is 0 or less, wrapping
|
|
|
|
will occur at the width of the screen less \fInumber\fP columns, allowing
|
2005-06-27 05:01:32 +00:00
|
|
|
the wrap point to vary along with the width of the screen if the screen
|
2014-05-06 20:43:00 +00:00
|
|
|
is resized. The default value is \-8. This option conflicts with
|
2017-06-24 17:11:29 +00:00
|
|
|
\fB\-w\fR (\fB\-\-nowrap\fR) -- the last one given takes effect.
|
2001-04-30 10:30:43 +00:00
|
|
|
.TP
|
2017-09-30 17:42:06 +00:00
|
|
|
.BR \-s\ \fIprogram ", " \-\-speller= \fIprogram
|
2014-08-01 21:04:35 +00:00
|
|
|
Use this alternative spell checker command.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-t ", " \-\-tempfile
|
2016-10-22 20:07:02 +00:00
|
|
|
Save a changed buffer without prompting (when exiting with \fB^X\fR).
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2015-08-04 18:49:57 +00:00
|
|
|
.BR \-u ", " \-\-unix
|
|
|
|
Save a file by default in Unix format. This overrides nano's
|
|
|
|
default behavior of saving a file in the format that it had.
|
|
|
|
(This option has no effect when you also use \fB\-\-noconvert\fR.)
|
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-v ", " \-\-view
|
2016-10-22 20:07:02 +00:00
|
|
|
Just view the file and disallow editing: read-only mode.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-w ", " \-\-nowrap
|
2014-05-06 20:43:00 +00:00
|
|
|
Disable the hard-wrapping of long lines. This option conflicts with
|
2017-06-24 17:11:29 +00:00
|
|
|
\fB\-r\fR (\fB\-\-fill\fR) -- the last one given takes effect.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-x ", " \-\-nohelp
|
2014-05-06 20:43:00 +00:00
|
|
|
Don't show the two help lines at the bottom of the screen.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-z ", " \-\-suspend
|
2014-05-06 20:43:00 +00:00
|
|
|
Enable the suspend ability.
|
2000-06-06 05:53:49 +00:00
|
|
|
.TP
|
2014-08-03 20:25:16 +00:00
|
|
|
.BR \-$ ", " \-\-softwrap
|
2014-05-06 20:43:00 +00:00
|
|
|
Enable 'soft wrapping'. This will make \fBnano\fP attempt to display the
|
|
|
|
entire contents of any line, even if it is longer than the screen width, by
|
|
|
|
continuing it over multiple screen lines. Since
|
2009-12-26 01:58:50 +00:00
|
|
|
\&'$' normally refers to a variable in the Unix shell, you should specify
|
2014-07-16 11:07:08 +00:00
|
|
|
this option last when using other options (e.g.\& 'nano \-wS$') or pass it
|
|
|
|
separately (e.g.\& 'nano \-wS \-$').
|
2009-08-17 07:52:10 +00:00
|
|
|
.TP
|
2017-06-28 14:57:46 +00:00
|
|
|
.BR \-b ", " \-e ", " \-f ", " \-j
|
2000-12-18 02:23:50 +00:00
|
|
|
Ignored, for compatibility with Pico.
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2016-10-22 15:27:15 +00:00
|
|
|
.SH TOGGLES
|
2016-10-22 20:07:02 +00:00
|
|
|
Several of the above options can be switched on and off also while
|
2016-10-22 15:27:15 +00:00
|
|
|
\fBnano\fR is running. For example, \fBM\-L\fR toggles the
|
|
|
|
hard-wrapping of long lines, \fBM\-$\fR toggles soft-wrapping,
|
2016-10-22 20:07:02 +00:00
|
|
|
\fBM\-#\fR toggles line numbers, \fBM\-M\fR toggles the mouse,
|
|
|
|
\fBM\-I\fR auto-indentation, and \fBM\-X\fR the help lines.
|
2016-10-22 15:27:15 +00:00
|
|
|
See at the end of the \fB^G\fR help text for a complete list.
|
|
|
|
|
2003-02-04 14:24:54 +00:00
|
|
|
.SH INITIALIZATION FILE
|
2003-08-31 16:44:10 +00:00
|
|
|
\fBnano\fP will read initialization files in the following order:
|
2014-06-17 20:30:59 +00:00
|
|
|
the system's \fBnanorc\fP (if it exists), and then the user's
|
|
|
|
\fB~/.nanorc\fP (if it exists). Please see
|
|
|
|
.BR nanorc (5)
|
|
|
|
for more information on the possible contents of those files.
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2000-12-03 02:46:02 +00:00
|
|
|
.SH NOTES
|
2004-06-01 22:56:34 +00:00
|
|
|
If no alternative spell checker command is specified on the command
|
2014-06-17 20:30:59 +00:00
|
|
|
line nor in one of the \fInanorc\fP files, \fBnano\fP will check the
|
2004-06-01 22:56:34 +00:00
|
|
|
\fBSPELL\fP environment variable for one.
|
2016-10-22 20:07:02 +00:00
|
|
|
.sp
|
2006-05-14 15:19:38 +00:00
|
|
|
In some cases \fBnano\fP will try to dump the buffer into an emergency
|
|
|
|
file. This will happen mainly if \fBnano\fP receives a SIGHUP or
|
|
|
|
SIGTERM or runs out of memory. It will write the buffer into a file
|
2005-06-17 22:11:43 +00:00
|
|
|
named \fInano.save\fP if the buffer didn't have a name already, or will
|
|
|
|
add a ".save" suffix to the current filename. If an emergency file with
|
2006-05-14 15:19:38 +00:00
|
|
|
that name already exists in the current directory, it will add ".save"
|
2014-07-16 11:07:08 +00:00
|
|
|
plus a number (e.g.\& ".save.1") to the current filename in order to make
|
2006-05-14 15:19:38 +00:00
|
|
|
it unique. In multibuffer mode, \fBnano\fP will write all the open
|
2005-06-17 22:11:43 +00:00
|
|
|
buffers to their respective emergency files.
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH BUGS
|
2017-07-14 05:39:43 +00:00
|
|
|
Justifications (\fB^J\fR)
|
2015-12-03 09:34:10 +00:00
|
|
|
are not yet covered by the general undo system. So after a justification
|
2017-07-14 05:39:43 +00:00
|
|
|
that is not immediately undone, earlier edits
|
2015-12-03 09:34:10 +00:00
|
|
|
cannot be undone any more. The workaround is, of course, to exit without
|
|
|
|
saving.
|
|
|
|
.sp
|
2016-12-11 11:03:50 +00:00
|
|
|
Please report any other bugs that you encounter via:
|
|
|
|
.br
|
2016-10-22 20:07:02 +00:00
|
|
|
\fIhttps://savannah.gnu.org/bugs/?group=nano\fR.
|
2003-02-09 01:28:40 +00:00
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH HOMEPAGE
|
2017-04-19 18:31:04 +00:00
|
|
|
\fIhttps://nano-editor.org/\fR
|
2003-02-09 01:28:40 +00:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
2016-10-22 20:07:02 +00:00
|
|
|
.BR nanorc (5)
|
2003-02-09 01:28:40 +00:00
|
|
|
.PP
|
|
|
|
\fI/usr/share/doc/nano/\fP (or equivalent on your system)
|
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
.SH AUTHOR
|
2016-10-22 20:07:02 +00:00
|
|
|
Chris Allegretta and others (see the files \fIAUTHORS\fR and
|
2005-06-17 22:11:43 +00:00
|
|
|
\fITHANKS\fP for details). This manual page was originally written by
|
2016-10-22 20:07:02 +00:00
|
|
|
Jordi Mallach for the Debian system (but may be used by others).
|