blob: 43734782058e4aa1b79d9e3fd570f78e409cd981 [file] [log] [blame]
Benno Schulenberg2ec70b62014-08-01 21:04:35 +00001.\" Copyright (C) 2002, 2005, 2006, 2007, 2014 Free Software Foundation, Inc.
Jordi Mallach7949e6a2005-11-21 09:36:11 +00002.\"
David Lawrence Ramseye3eed022007-08-23 04:34:35 +00003.\" This document is dual-licensed. You may distribute and/or modify it
4.\" under the terms of either of the following licenses:
5.\"
6.\" * The GNU General Public License, as published by the Free Software
7.\" Foundation, version 3 or (at your option) any later version. You
8.\" should have received a copy of the GNU General Public License
9.\" along with this program. If not, see
10.\" <http://www.gnu.org/licenses/>.
11.\"
12.\" * The GNU Free Documentation License, as published by the Free
13.\" Software Foundation, version 1.2 or (at your option) any later
14.\" version, with no Invariant Sections, no Front-Cover Texts, and no
15.\" Back-Cover Texts. You should have received a copy of the GNU Free
16.\" Documentation License along with this program. If not, see
17.\" <http://www.gnu.org/licenses/>.
Jordi Mallach7949e6a2005-11-21 09:36:11 +000018.\"
Benno Schulenbergf119a902017-01-09 20:29:55 +010019.TH RNANO 1 "version 2.7.4" "January 2017"
Jordi Mallach7949e6a2005-11-21 09:36:11 +000020.\" Please adjust this date whenever revising the manpage.
Benno Schulenberg3ed5ddb2016-10-23 17:22:30 +020021
Jordi Mallach7949e6a2005-11-21 09:36:11 +000022.SH NAME
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020023rnano \- a restricted nano
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000024
Jordi Mallach7949e6a2005-11-21 09:36:11 +000025.SH SYNOPSIS
26.B rnano
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020027.RI [ options "] [[+" line [, column "]]\ " file "]..."
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000028
Jordi Mallach7949e6a2005-11-21 09:36:11 +000029.SH DESCRIPTION
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020030\fBrnano\fR runs the \fBnano\fR editor in restricted mode. This allows
31editing only the specified file or files, and doesn't allow the user
32access to the filesystem nor to a command shell.
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000033.PP
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020034In restricted mode, \fBnano\fR will:
Jordi Mallach7949e6a2005-11-21 09:36:11 +000035.IP \[bu] 2
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020036not read any nanorc files;
Jordi Mallach7949e6a2005-11-21 09:36:11 +000037.IP \[bu]
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020038not allow suspending;
Jordi Mallach7949e6a2005-11-21 09:36:11 +000039.IP \[bu]
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020040not read nor write any file not specified on the command line;
Jordi Mallach7949e6a2005-11-21 09:36:11 +000041.IP \[bu]
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020042not allow saving a file under a different name;
Jordi Mallach7949e6a2005-11-21 09:36:11 +000043.IP \[bu]
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020044not allow appending or prepending to any file;
45.IP \[bu]
46not make backup files nor do spell checking.
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000047
Jordi Mallach7949e6a2005-11-21 09:36:11 +000048.SH OPTIONS
49.TP
Benno Schulenberg3f4389b2014-08-03 20:25:16 +000050.BR \-h ", " \-\-help
Benno Schulenberg2ec70b62014-08-01 21:04:35 +000051Show a summary of command-line options and exit.
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000052.PP
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020053See the \fBnano\fP(1) manpage for all available options.
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000054
Jordi Mallach7949e6a2005-11-21 09:36:11 +000055.SH BUGS
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020056Please report bugs via \fIhttps://savannah.gnu.org/bugs/?group=nano\fR.
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000057
Jordi Mallach7949e6a2005-11-21 09:36:11 +000058.SH HOMEPAGE
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020059https://nano-editor.org/
60
61.SH SEE ALSO
62.BR nano (1)
David Lawrence Ramseyfa35aef2005-11-21 16:16:38 +000063
Jordi Mallach7949e6a2005-11-21 09:36:11 +000064.SH AUTHOR
Benno Schulenberg6cacd1e2016-10-22 22:07:02 +020065Chris Allegretta and others (see the files \fIAUTHORS\fR and \fITHANKS\fR
66for details). This manual page was originally written by Thijs Kinkhorst
67for the Debian system (but may be used by others).