/usr/share/doc/ne/html/Arguments.html is in ne-doc 3.0.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
<head>
<title>ne’s manual: Arguments</title>
<meta name="description" content="ne’s manual: Arguments">
<meta name="keywords" content="ne’s manual: Arguments">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
<link href="Command-Index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Reference.html#Reference" rel="up" title="Reference">
<link href="The-Status-Bar.html#The-Status-Bar" rel="next" title="The Status Bar">
<link href="Reference.html#Reference" rel="prev" title="Reference">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.indentedblock {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
div.smalllisp {margin-left: 3.2em}
kbd {font-style:oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space:nowrap}
span.nolinebreak {white-space:nowrap}
span.roman {font-family:serif; font-weight:normal}
span.sansserif {font-family:sans-serif; font-weight:normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="Arguments"></a>
<div class="header">
<p>
Next: <a href="The-Status-Bar.html#The-Status-Bar" accesskey="n" rel="next">The Status Bar</a>, Up: <a href="Reference.html#Reference" accesskey="u" rel="up">Reference</a> [<a href="Command-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="Arguments-1"></a>
<h3 class="section">3.1 Arguments</h3>
<a name="index-Arguments"></a>
<a name="index-Global-Directory"></a>
<a name="index-Startup-macro"></a>
<a name="index-Skipping-configuration-files"></a>
<a name="index-Setting-configuration-file-names"></a>
<p>The main arguments you can give to <code>ne</code> are the names of files you
want to edit. They will be loaded into separate documents. If you
specify <code>--help</code> anywhere on the command line, a simple help text
describing <code>ne</code>’s arguments will be printed.
</p>
<p>The <code>+<var>N</var></code> option causes <code>ne</code> to advance to the <var>N</var>th
line of the next document loaded. This option is fairly common among
editors and text display programs like <code>vi</code> and <code>less</code>. The
<var>N</var> itself is optional. Without it, a bare <code>+</code> on the command
line causes <code>ne</code> to advance to the last line of the first
document. You can specify a line and column as <code>+N,M</code>. Any
non-digit can be used to separate the <var>N</var> from the <var>M</var>. As it
only affects the next document loaded, it can appear multiple times on
the command line.
</p>
<p>The <code>--binary</code> option causes <code>ne</code> to load the next document
in binary mode. Binary mode treats the normal line termination
characters as any other character and only breaks lines on NULL
characters. Like <code>+N,M</code>, <code>--binary</code> only affects the next
document loaded, and it can appear multiple times on the command line.
See <a href="Binary.html#Binary">Binary</a>.
</p>
<p>The <code>--no-config</code> option skips the reading of the key
bindings and menu configuration files (see <a href="Configuration.html#Configuration">Configuration</a>). This is
essential if you are experimenting with a new configuration and you make
mistakes in it.
</p>
<p>The <code>--prefs <var>extension</var></code> option makes <code>ne</code> load a specified
set of automatic preferences, that is, those associated with the provided
extension, instead of the default ones, before loading the first file.
It can be useful, for instance, when piping a file into <code>ne</code> or when
reading from named pipes, as in those cases there is no file extension
from which <code>ne</code> can guess the correct preferences. Note that preferences
are cloned from the current document when a new document is created, so if
you open a number of files without extension this option will propagate
to all of them.
</p>
<p>The <code>--macro <var>filename</var></code> option specifies the name of a
macro that will be started just after all documents have been loaded. A
typical macro would move the cursor to a certain line.
</p>
<p>The <code>--keys <var>filename</var></code> option and the <code>--menus
<var>filename</var></code> option specify a name different from the default one
(<samp>.keys</samp> and <samp>.menus</samp>, respectively) for the key bindings and
the menu configuration files. Note that <code>ne</code> searches for these
files first in the current directory, and then in your <samp>~/.ne</samp>
directory.
</p>
<p>The <code>--ansi</code> and the <code>--no-ansi</code> options manage
<code>ne</code>’s built-in ANSI sequences. Usually <code>ne</code> tries to retrieve
from your system some information that is necessary to handle your
terminal. If for some reason this is impossible, you can ask <code>ne</code>
to use a built-in set of sequences that will work on many terminals
using the <code>--ansi</code> option (to be true, <code>ne</code> can be even
compiled so that it uses directly the built-in set, but you need not
know this). If you want to be sure (usually for debugging purposes) that
<code>ne</code> is not using the built-in set, you can specify
<code>--no-ansi</code>.
</p>
<p>The <code>--no-syntax</code> option disables <code>ne</code>’s normal syntax
highlighting capability. For most editing situations, this would be
unnecessary, but for extremely large files it may be helpful. Syntax
highlighting incurs small memory usage and processor overhead penalties
for each line of text. The <code>--no-syntax</code> option eliminates that
overhead. Note that files longer than ten million bytes will have
syntax highlighting disabled by default, but it is possible to re-enable it.
See <a href="Syntax-Highlighting.html#Syntax-Highlighting">Syntax Highlighting</a>.
</p>
<p>The <code>--utf8</code> and <code>--no-utf8</code> options can be used to
force or inhibit UTF-8 I/O, overriding the choice imposed by the system
locale. Note, however, that in general it is more advisable to set the
<code>LANG</code> environment variable to a locale supporting UTF-8 (you can
usually see the locale list with <code>locale -a</code>). See <a href="UTF_002d8-Support.html#UTF_002d8-Support">UTF-8 Support</a>.
</p>
<p>If you need to open a file whose name starts with ‘<samp>--</samp>’, you can put
‘<samp>--</samp>’ before the filename, which will skip command recognition for
the next word.
</p>
<p>Finally, <code>ne</code> has a <em>global directory</em> where the system
administrator can store macros, default preferences, and syntax
definitions for all users of the system. The location of this directory
is defined when <code>ne</code> is built, but you can override it by creating
and exporting the <code>NE_GLOBAL_DIR</code> environment variable prior to
invoking <code>ne</code>. If you load no files when you start <code>ne</code>, or
if you invoke the <code>About</code> command, it will display a splash
screen. The last line on that screen shows the global directory
<code>ne</code> is using, if it exists, or an error message otherwise.
</p>
<hr>
<div class="header">
<p>
Next: <a href="The-Status-Bar.html#The-Status-Bar" accesskey="n" rel="next">The Status Bar</a>, Up: <a href="Reference.html#Reference" accesskey="u" rel="up">Reference</a> [<a href="Command-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>
|