Benno Schulenberg | 2ec70b6 | 2014-08-01 21:04:35 +0000 | [diff] [blame] | 1 | .\" Copyright (C) 2002, 2005, 2006, 2007, 2014 Free Software Foundation, Inc. |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 2 | .\" |
David Lawrence Ramsey | e3eed02 | 2007-08-23 04:34:35 +0000 | [diff] [blame] | 3 | .\" 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 Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 18 | .\" |
Benno Schulenberg | f119a90 | 2017-01-09 20:29:55 +0100 | [diff] [blame] | 19 | .TH RNANO 1 "version 2.7.4" "January 2017" |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 20 | .\" Please adjust this date whenever revising the manpage. |
Benno Schulenberg | 3ed5ddb | 2016-10-23 17:22:30 +0200 | [diff] [blame] | 21 | |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 22 | .SH NAME |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 23 | rnano \- a restricted nano |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 24 | |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 25 | .SH SYNOPSIS |
| 26 | .B rnano |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 27 | .RI [ options "] [[+" line [, column "]]\ " file "]..." |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 28 | |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 29 | .SH DESCRIPTION |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 30 | \fBrnano\fR runs the \fBnano\fR editor in restricted mode. This allows |
| 31 | editing only the specified file or files, and doesn't allow the user |
| 32 | access to the filesystem nor to a command shell. |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 33 | .PP |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 34 | In restricted mode, \fBnano\fR will: |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 35 | .IP \[bu] 2 |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 36 | not read any nanorc files; |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 37 | .IP \[bu] |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 38 | not allow suspending; |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 39 | .IP \[bu] |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 40 | not read nor write any file not specified on the command line; |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 41 | .IP \[bu] |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 42 | not allow saving a file under a different name; |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 43 | .IP \[bu] |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 44 | not allow appending or prepending to any file; |
| 45 | .IP \[bu] |
| 46 | not make backup files nor do spell checking. |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 47 | |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 48 | .SH OPTIONS |
| 49 | .TP |
Benno Schulenberg | 3f4389b | 2014-08-03 20:25:16 +0000 | [diff] [blame] | 50 | .BR \-h ", " \-\-help |
Benno Schulenberg | 2ec70b6 | 2014-08-01 21:04:35 +0000 | [diff] [blame] | 51 | Show a summary of command-line options and exit. |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 52 | .PP |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 53 | See the \fBnano\fP(1) manpage for all available options. |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 54 | |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 55 | .SH BUGS |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 56 | Please report bugs via \fIhttps://savannah.gnu.org/bugs/?group=nano\fR. |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 57 | |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 58 | .SH HOMEPAGE |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 59 | https://nano-editor.org/ |
| 60 | |
| 61 | .SH SEE ALSO |
| 62 | .BR nano (1) |
David Lawrence Ramsey | fa35aef | 2005-11-21 16:16:38 +0000 | [diff] [blame] | 63 | |
Jordi Mallach | 7949e6a | 2005-11-21 09:36:11 +0000 | [diff] [blame] | 64 | .SH AUTHOR |
Benno Schulenberg | 6cacd1e | 2016-10-22 22:07:02 +0200 | [diff] [blame] | 65 | Chris Allegretta and others (see the files \fIAUTHORS\fR and \fITHANKS\fR |
| 66 | for details). This manual page was originally written by Thijs Kinkhorst |
| 67 | for the Debian system (but may be used by others). |