(discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
do_cut_text()
- Don't recenter the line when cutting one line (DLR) (Bug #65).
+- faq.html:
+ - Notes about the Free Translation Project.
+ - Debian additions.
- files.c:
do_writeout()
- Expanded strings to not use %s and ?: to determine
global_init()
- New arg save_cutbuffer, allows cutbuffer to not be lost when
using multibuffer.
+- nano.1:
+ - Added new features, fixed some typos (Jordi).
- nano.texi:
- - corrected the Mouse Toggle section, noticed by Daniel Bonniot.
+ - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
+ - Added many command line options, toggles and other additions
+ (Jordi).
- rcfile.c:
- NUM_RCOPTS fix (DLR).
- Add tabsize support to rc file (Nathan Heagy).
- faq.html:
- Brought the FAQ up to date, many little changes (Jordi).
- Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
- - Notes about the Free Translation Project.
- - Debian additions.
- files.c:
do_browser()
- Minor fixes to the processing of SELECT function (Rocco)
.\" This is free documentation, see the latest version of the GNU General
.\" Public License for copying conditions. There is NO warranty.
.\"
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH NANO 1 "April 30, 2001"
+.\" $Id$
+.TH NANO 1 "October 3, 2001"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
such as "search and replace" and "goto line number".
.SH OPTIONS
.TP
+.B \-D (\-\-dos)
+Write file in DOS format.
+.TP
.B \-F (\-\-multibuffer)
Enable multiple file buffers (if available).
.TP
-.B \-T (\-\-tabsize)
-Set the size (width) of a tab.
+.B \-M (\-\-mac)
+Write file in Mac format.
.TP
.B \-R (\-\-regexp)
Enable regular expression matching for search strings, as well as
\\n subexpression replacement for replace strings, if available.
.TP
+.B \-S (\-\-smooth)
+Enable smooth scrolling. Text will scroll line-by-line, instead of the
+usual chunk-by-chunk behaviour.
+.TP
+.B \-T [num] (\-\-tabsize=[num])
+Set the size (width) of a tab.
+.TP
.B \-V (\-\-version)
Show the current version number and author.
.TP
-.B \-h (\-\-help)
-Display a summary of command line options.
-.TP
.B \-c (\-\-const)
Constantly show the cursor position.
.TP
+.B \-h (\-\-help)
+Display a summary of command line options.
+.TP
.B \-i (\-\-autoindent)
Indent new lines to the previous line's indentation. Useful when editing
source code.
.B \-m (\-\-mouse)
Enable mouse support (if available for your system).
.TP
+.B \-o [dir] (\-\-operatingdir=[dir])
+Set operating directory. Makes nano set up something similar to a chroot.
+.TP
.B \-p (\-\-pico)
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.
.TP
-.B \-r (\-\-fill)
+.B \-r [#cols] (\-\-fill=[#cols])
Wrap lines at column #cols. By default, this is the width of the screen,
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.
.TP
-.B \-s (\-\-speller)
+.B \-s [prog] (\-\-speller=[prog])
Enable alternative spell checker command.
.TP
.B \-t (\-\-tempfile)
.SH HOMEPAGE
http://www.nano-editor.org
.SH AUTHOR
-Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS for details).
+Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS and THANKS for
+details).
This manual page was originally written by Jordi Mallach
<jordi@sindominio.net>, for the Debian GNU/Linux system (but may be
used by others).
====================
`nano' takes the following options from the command line:
-`-T [num, --tabsize=[num]'
- Set the displayed tab length to [num] columns.
+`-D, --dos'
+ Write file in DOS format.
+
+`-F, --multibuffer'
+ Enable multiple file buffers.
+
+`-M, --mac'
+ Write file in Mac format.
`-R, --regexp'
Turns on regular expression search and search/replace.
+`-S, --smooth'
+ Enables smooth scrolling.
+
+`-T [num], --tabsize=[num]'
+ Set the displayed tab length to [num] columns.
+
`-V, --version'
Print the version number and copyright and quit.
Enables the use of the mouse to select text (currently only useful
for running under the X window system).
+`-o [dir], --operatingdir=[dir]'
+ Set operating directory. Makes nano set up something similar to a
+ chroot.
+
`-p, --pico'
Emulate Pico as closely as possible, sacrificing consistency for
correct emulation. *Note Pico Compatibility::, for more info.
Enable suspend ability of `nano' using the system's suspend
keystroke (usually ^Z).
+`-b, -e, -f'
+ Ignored, for compatibility with Pico.
+
`+LINE'
Start at line number LINE instead of the default of line 1.
Meta key sequenced. *Note Special Functions::, for more info. The
following toggles are available:
+`Case Sensitive Search Toggle (Meta-A)'
+ toggles case sensistive searching functionality on/off.
+
+`Backwards Search Toggle (Meta-B)'
+ toggles backwards searching fuctionality on/off.
+
`Constant Update Toggle (Meta-C)'
toggles the -c (-const) command line flag.
+`DOS Format Toggle (Meta-D)'
+ toggles the -D (-dos) command line flag.
+
`Regular Expressions Toggle (Meta-E)'
toggles the -R (-regexp) command line flag.
+`Multiple Files Toggle (Meta-F)'
+ toggles the -F (-multibuffer) command line flag.
+
`AutoIndent Toggle (Meta-I)'
toggles the -i (-autoindent) command line flag.
`Mouse Toggle (Meta-M)'
toggles the -m (-mouse) command line flag.
+`Mac Format Toggle (Meta-O)'
+ toggles the -M (-mac) command line flag.
+
`Pico Mode Toggle (Meta-P)'
toggles the -p (-pico) command line flag. *Note Pico
Compatibility::, for more info.
+`Smooth Scrolling Toggle (Meta-S)'
+ toggles the -s (-smooth) command line flag.
+
`AutoWrap Toggle (Meta-W)'
toggles the -w (-nowrap) command line flag.
`Suspend Toggle (Meta-Z)'
toggles the -z (-suspend) command line flag.
+`Open Previous File Toggle (Meta-<)'
+ changes buffer to previously loaded file.
+
+`Open Next File Toggle (Meta->)'
+ changes buffer to next loaded file.
+
\1f
File: nano.info, Node: The File Browser, Next: Pico Compatibility, Prev: Feature Toggles, Up: Top
Disables all mouse functionality. This also disables the -m
commands line flag which enables the mouse functions.
+`--disable-operatingdir'
+ Disables setting of operating directory. This also disables the -o
+ command line flag.
+
+`--disable-nls'
+ Disables Native Language support. This will make the available GNU
+ nano translations unusable.
+
+`--with-slang'
+ Compiling GNU nano with Slang is supported, and will make the
+ binary notably smaller than if compiled with ncurses or other
+ curses libraries.
+
\1f
Tag Table:
Node: Introduction\7f508
Node: Overview\7f934
Node: Command Line Options\7f1514
-Ref: Expert Mode\7f3406
-Node: Editor Basics\7f4249
-Node: Entering Text\7f4474
-Node: Special Functions\7f4814
-Node: The Titlebar\7f5669
-Node: The Statusbar\7f6367
-Node: Shortcut Lists\7f6948
-Node: Online Help\7f7341
-Node: Feature Toggles\7f7717
-Node: The File Browser\7f8855
-Node: Pico Compatibility\7f9564
-Node: Building and Configure Options\7f11606
+Ref: Expert Mode\7f3716
+Node: Editor Basics\7f4616
+Node: Entering Text\7f4841
+Node: Special Functions\7f5181
+Node: The Titlebar\7f6036
+Node: The Statusbar\7f6734
+Node: Shortcut Lists\7f7315
+Node: Online Help\7f7708
+Node: Feature Toggles\7f8084
+Node: The File Browser\7f9900
+Node: Pico Compatibility\7f10609
+Node: Building and Configure Options\7f12651
\1f
End Tag Table
@c Run `makeinfo' rather than `texinfo-format-buffer'.
@smallbook
@set EDITION 0.1
-@set VERSION 1.1.1
-@set UPDATED 12 Feb 2001
+@set VERSION 1.1.2
+@set UPDATED 3 Oct 2001
@dircategory Editors
@direntry
@titlepage
@title GNU @code{nano}
@subtitle a small and friendly text editor.
-@subtitle version 1.1.1
+@subtitle version 1.1.2
@author Chris Allegretta
@page
@code{nano} takes the following options from the command line:
@table @code
-@item -T [num, --tabsize=[num]
-Set the displayed tab length to [num] columns.
+@item -D, --dos
+Write file in DOS format.
+
+@item -F, --multibuffer
+Enable multiple file buffers.
+
+@item -M, --mac
+Write file in Mac format.
@item -R, --regexp
Turns on regular expression search and search/replace.
+@item -S, --smooth
+Enables smooth scrolling.
+
+@item -T [num], --tabsize=[num]
+Set the displayed tab length to [num] columns.
+
@item -V, --version
Print the version number and copyright and quit.
Enables the use of the mouse to select text (currently only useful for
running under the X window system).
+@item -o [dir], --operatingdir=[dir]
+Set operating directory. Makes nano set up something similar to a chroot.
+
@item -p, --pico
Emulate Pico as closely as possible, sacrificing consistency for correct
emulation. @xref{Pico Compatibility}, for more info.
Enable suspend ability of @code{nano} using the system's suspend
keystroke (usually ^Z).
+@item -b, -e, -f
+Ignored, for compatibility with Pico.
+
@item +LINE
Start at line number LINE instead of the default of line 1.
@end table
@table @code
+@item Case Sensitive Search Toggle (Meta-A)
+toggles case sensistive searching functionality on/off.
+
+@item Backwards Search Toggle (Meta-B)
+toggles backwards searching fuctionality on/off.
+
@item Constant Update Toggle (Meta-C)
toggles the -c (--const) command line flag.
+@item DOS Format Toggle (Meta-D)
+toggles the -D (--dos) command line flag.
+
@item Regular Expressions Toggle (Meta-E)
toggles the -R (--regexp) command line flag.
+@item Multiple Files Toggle (Meta-F)
+toggles the -F (--multibuffer) command line flag.
+
@item AutoIndent Toggle (Meta-I)
toggles the -i (--autoindent) command line flag.
@item Mouse Toggle (Meta-M)
toggles the -m (--mouse) command line flag.
+@item Mac Format Toggle (Meta-O)
+toggles the -M (--mac) command line flag.
+
@item Pico Mode Toggle (Meta-P)
toggles the -p (--pico) command line flag.
@xref{Pico Compatibility}, for more info.
+@item Smooth Scrolling Toggle (Meta-S)
+toggles the -s (--smooth) command line flag.
+
@item AutoWrap Toggle (Meta-W)
toggles the -w (--nowrap) command line flag.
@item Suspend Toggle (Meta-Z)
toggles the -z (--suspend) command line flag.
+@item Open Previous File Toggle (Meta-<)
+changes buffer to previously loaded file.
+
+@item Open Next File Toggle (Meta->)
+changes buffer to next loaded file.
+
+
@end table
@node The File Browser, Pico Compatibility, Feature Toggles, Top
Disables all mouse functionality. This also disables the -m commands line
flag which enables the mouse functions.
+@item --disable-operatingdir
+Disables setting of operating directory. This also disables the -o command
+line flag.
+
+@item --disable-nls
+Disables Native Language support. This will make the available GNU nano
+translations unusable.
+
+@item --with-slang
+Compiling GNU nano with Slang is supported, and will make the binary notably
+smaller than if compiled with ncurses or other curses libraries.
+
@end table
@contents