nano.1 3.15 KB
Newer Older
Chris Allegretta's avatar
Chris Allegretta committed
1
2
3
4
.\"                                      Hey, EMACS: -*- nroff -*-
.\" 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)
Jordi Mallach's avatar
   
Jordi Mallach committed
5
.TH NANO 1 "July 28, 2000"
Chris Allegretta's avatar
Chris Allegretta committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
nano \- Nano's ANOther editor, an enhanced free Pico Clone
.SH SYNOPSIS
.B nano
.RI [options]\ [+LINE] " file"
.br
.SH DESCRIPTION
This manual page documents briefly the
.B nano
command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
.\" respectively.
\fBnano\fP was originally known as TIP (TIP Isn't Pico). It 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, 
.B nano
also implements some missing (or disabled by
default) features in Pico, such as "search and replace" and "goto line
number".
.SH OPTIONS
.TP
Chris Allegretta's avatar
Chris Allegretta committed
42
.B \-T (\-\-tabsize)
43
Set the size (width) of a tab.
Chris Allegretta's avatar
Chris Allegretta committed
44
.TP
45
46
.B \-R (\-\-regexp)
Enable regular expression matching for search strings, as well as
47
\\n subexpression replacement for replace strings, if available.
48
.TP
Chris Allegretta's avatar
Chris Allegretta committed
49
50
51
52
53
54
55
56
57
.B \-V (\-\-version)
Show the current version number and author.
.TP
.B \-h (\-\-help)
Display a summary of commandline options.
.TP
.B \-c (\-\-const)
Constantly show the cursor position.
.TP
Jordi Mallach's avatar
   
Jordi Mallach committed
58
.B \-k (\-\-cut)
Chris Allegretta's avatar
Chris Allegretta committed
59
Enable cut from cursor to end of line with ^K.
Jordi Mallach's avatar
   
Jordi Mallach committed
60
.TP
Chris Allegretta's avatar
Chris Allegretta committed
61
62
63
64
65
66
67
68
69
70
71
72
.B \-i (\-\-autoindent)
Indent new lines to the previous line's indentation. Useful when editing
source code.
.TP
.B \-l (\-\-nofollow)
If the file being edited is a symbolic link, replace the link with a 
a new file, do not follow it.  Good for editing files in /tmp perhaps?
.TP
.B \-m (\-\-mouse)
Enable mouse support (if available for your system).
.TP
.B \-p (\-\-pico)
73
Emulate Pico as closely as possible.
Chris Allegretta's avatar
Chris Allegretta committed
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.TP
.B \-s (\-\-speller)
Enable alternative spell checker command.
.TP
.B \-t (\-\-tempfile)
Always save changed buffer without prompting. Same as Pico -t option.
.TP
.B \-v (\-\-view)
View file (read only) mode.
.TP
.B \-w (\-\-nowrap)
Disable wrapping of long lines.
.TP
.B \-x (\-\-nohelp)
Disable help screen at bottom of editor.
.TP
.B \-z (\-\-suspend)
Enable suspend ability.
.TP
.B \+LINE
Places cursor at LINE on startup.
.SH BUGS
Please send any comments or bug reports to
Chris Allegretta's avatar
Chris Allegretta committed
97
.B nano@nano-editor.org.
Chris Allegretta's avatar
Chris Allegretta committed
98
99
100
101
102
The nano mailing list is available from
.B nano-devel@lists.sourceforge.net.
To subscribe, email to nano-devel-request@lists.sourceforge.net with a
subject of "subscribe".
.SH HOMEPAGE
Chris Allegretta's avatar
Chris Allegretta committed
103
http://www.nano-editor.org
Chris Allegretta's avatar
Chris Allegretta committed
104
105
106
107
.SH AUTHOR
Chris Allegretta <chrisa@asty.org>, et al.  This manual page was
originally written by Jordi Mallach <jordi@sindominio.net>, for the Debian
GNU/Linux system (but may be used by others).