Manual Pages for UNIX Darwin command on man pico
MyWebUniversity

Manual Pages for UNIX Darwin command on man pico

NANO(1) NANO(1)

NAME

nano - Nano's ANOther editor, an enhanced free Pico clone

SYNOPSIS

nnaannoo [+LINE] [options] [file]

DESCRIPTION

This manual page documents briefly the nnaannoo command. nnaannoo 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, nnaannoo also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line number". OOPPTTIIOONNSS ++LINE Places cursor at LINE on startup.

-BB ((--bbaacckkuupp))

When saving a file, back up the previous version of it to the current filename suffixed with a ~.

-DD ((--ddooss))

Write file in DOS format.

-FF ((--mmuullttiibbuuffffeerr))

Enable multiple file buffers, if available.

-HH ((--hhiissttoorryylloogg))

Log search and replace strings to ~/.nanohistory so they may be stored for later editing, if nanorc support is configured.

-II ((--iiggnnoorreerrccffiilleess))

Don't look at $SYSCONFDIR/nanorc or ~/.nanorc, if nanorc support

is available.

-KK ((--kkeeyyppaadd))

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.

-MM ((--mmaacc))

Write file in Mac format.

-NN ((--nnooccoonnvveerrtt))

Disable automatic conversion of files from DOS/Mac format.

-QQ str ((--qquuootteessttrr==str))

Set the quoting string for justifying. The default is

"^([ \t]*[|>:}#])+" if regular expression support is available,

or "> " otherwise.

-RR ((--rreeggeexxpp))

Enable regular expression matching for search strings, as well

as \n subexpression replacement for replace strings, if avail-

able.

-SS ((--ssmmooootthh))

Enable smooth scrolling. Text will scroll line-by-line, instead

of the usual chunk-by-chunk behavior.

-TT num ((--ttaabbssiizzee==num))

Set the size (width) of a tab.

-VV ((--vveerrssiioonn))

Show the current version number and author.

-YY str ((--ssyynnttaaxx==str))

Specify a specific syntax highlighting from the .nanorc to use, if available.

-cc ((--ccoonnsstt))

Constantly show the cursor position.

-hh ((--hheellpp))

Display a summary of command line options.

-ii ((--aauuttooiinnddeenntt))

Indent new lines to the previous line's indentation. Useful when editing source code.

-kk ((--ccuutt))

Enable cut from cursor to end of line with ^K.

-ll ((--nnooffoollllooww))

If the file being edited is a symbolic link, replace the link with a new file, do not follow it. Good for editing files in /tmp, perhaps?

-mm ((--mmoouussee))

Enable mouse support (if available for your system).

-oo dir ((--ooppeerraattiinnggddiirr==dir))

Set operating directory. Makes nano set up something similar to a chroot.

-pp ((--pprreesseerrvvee))

Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught by the terminal.

-rr cols ((--ffiillll==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 columns from the right of the screen, allowing the wrap point to vary along with the screen width if resized.

-ss prog ((--ssppeelllleerr==prog))

Enable alternative spell checker command.

-tt ((--tteemmppffiillee))

Always save changed buffer without prompting. Same as Pico -t

option.

-vv ((--vviieeww))

View file (read only) mode.

-ww ((--nnoowwrraapp))

Disable wrapping of long lines.

-xx ((--nnoohheellpp))

Disable help screen at bottom of editor.

-zz ((--ssuussppeenndd))

Enable suspend ability.

-aa,, -bb,, -ee,, -ff,, -gg,, -jj

Ignored, for compatibility with Pico. IINNIITTIIAALLIIZZAATTIIOONN FFIILLEE nnaannoo will read initialization files in the following order:

$SYSCONFDIR/nanorc, then ~/.nanorc. Please see nnaannoorrcc(5) and the exam-

ple file nnaannoorrcc..ssaammppllee which should be provided with nnaannoo. NNOOTTEESS nnaannoo will try to dump the buffer into an emergency file in some cases. Mainly, this will happen if nnaannoo receives a SIGHUP or SIGTERM or runs out of 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 current filename. If an emergency file with that name already exists in the current directory, ".save" and a number (e.g. ".save.1") will be suffixed to the current filename in order to make it unique. In multibuffer mode, nnaannoo will write all the open buffers to the respective emergency files.

BUGS

Please send any comments or bug reports to nnaannoo@@nnaannoo-eeddiittoorr..oorrgg.

The nnaannoo mailing list is available from nnaannoo-ddeevveell@@ggnnuu..oorrgg.

To subscribe, email to nnaannoo-ddeevveell-rreeqquueesstt@@ggnnuu..oorrgg with a subject of

"subscribe". HHOOMMEEPPAAGGEE

http://www.nano-editor.org/

SEE ALSO

nnaannoorrcc(5) /usr/share/doc/nano/ (or equivalent on your system) AUTHOR Chris Allegretta , et al (see AUTHORS and THANKS for details). This manual page was originally written by Jordi Mallach , for the Debian GNU system (but may be used by others). June 19, 2003 NANO(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™