/usr/share/doc/ne/html/Starting.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 165 166 167 | <!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: Starting</title>
<meta name="description" content="ne’s manual: Starting">
<meta name="keywords" content="ne’s manual: Starting">
<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="Basics.html#Basics" rel="up" title="Basics">
<link href="Loading-and-Saving.html#Loading-and-Saving" rel="next" title="Loading and Saving">
<link href="Terminology.html#Terminology" rel="prev" title="Terminology">
<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="Starting"></a>
<div class="header">
<p>
Next: <a href="Loading-and-Saving.html#Loading-and-Saving" accesskey="n" rel="next">Loading and Saving</a>, Previous: <a href="Terminology.html#Terminology" accesskey="p" rel="prev">Terminology</a>, Up: <a href="Basics.html#Basics" accesskey="u" rel="up">Basics</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="Starting-1"></a>
<h3 class="section">2.2 Starting</h3>
<a name="index-Keyboard-usage"></a>
<a name="index-Menu-usage"></a>
<a name="index-Shortcuts"></a>
<a name="index-Status-bar"></a>
<a name="index-Menu-bar"></a>
<a name="index-Control-key"></a>
<a name="index-Meta-key"></a>
<a name="index-Command-line"></a>
<p>To start <code>ne</code>, just type ‘<samp>ne</samp>’ and press <tt class="key">Return</tt>. If you
want to edit some specific file(s), you can put their name(s) on the command
line just after the command name, as for any <small>UN*X</small> command. The
screen of your terminal will be cleared (or filled with text loaded
from the first file you specified). You can also pipe the result of a
command directly into <code>ne</code>: it will be loaded and opened as the first
document. See <a href="Arguments.html#Arguments">Arguments</a> for other command line options.
</p>
<p>Writing text is pretty straightforward: if your terminal is properly
configured, every key will (should) do what you expect. Alphabetic
characters insert text, cursor keys move the cursor, and so on. You can
use the <tt class="key">Delete</tt> and <tt class="key">Backspace</tt> key to perform corrections. If
your keyboard has an <tt class="key">Insert</tt> key, you can use it to <em>toggle</em>
(switch from on to off, or vice versa) insert mode. In general,
<code>ne</code> tries to squeeze everything it can from your
keyboard. Function keys and special movement keys should work
flawlessly if your terminal is properly configured. If not, complain to
your system administrator. If that doesn’t help, see <a href="Key-Bindings.html#Key-Bindings">Key Bindings</a>.
</p>
<p>At the bottom of the screen, you will see a line containing some numbers and
letters. This is called the <em>status bar</em> because it reports to you part of
the internal state of the editor. At startup, the status bar has the following form:
</p>
<div class="example">
<pre class="example"> L: 1 C: 1 12% ia----pvu-t------@A <unnamed>
</pre></div>
<p>(the numbers could be different, and a file name could be shown as
last item instead of ‘<samp><unnamed></samp>’). You probably already guessed
that the numbers after ‘<samp>L:</samp>’ and ‘<samp>C:</samp>’ are your cursor’s line and column
numbers, respectively, whereas the percentage indicates approximately
your position in the file. The small letters represent user flags that
you can turn on and off. In particular, ‘<samp>i</samp>’ tells you that insert
mode is on, while ‘<samp>p</samp>’ tells that the automatic preferences system
is activated. For a thorough explanation of the meaning of the flags on
the status bar, see <a href="The-Status-Bar.html#The-Status-Bar">The Status Bar</a>.
</p>
<p>Once you are accustomed to cursor movement and line editing, it is time to
press <tt class="key">f1</tt> (the first function key), or in case your keyboard does not
have such a key, <tt class="key">Escape</tt>. Immediately, the <em>menu bar</em> will appear,
and the first menu will be drawn. (If you find yourself waiting for the menu
to appear, you can press <tt class="key">Escape</tt> twice in a row.) You can now move
around menus and menu items by pressing the cursor keys. Moreover, a lower
case alphabetic key will move to the next item in the current menu whose name starts with that
letter, and an upper case alphabetic key will move to the next menu whose
name starts with that letter.
</p>
<p>Moving around the menus should give you an idea of the capabilities of
<code>ne</code>. If you want to save your work, you should use the ‘<samp>Save As...</samp>’
item from the ‘<samp>File</samp>’ menu. Menus are fully discussed in <a href="Menus.html#Menus">Menus</a>.
When you want to exit from the menu system, press <tt class="key">f1</tt> (or <tt class="key">Escape</tt>)
again. If instead you prefer to choose a command and execute it, move
to the respective menu item and press <tt class="key">Return</tt>.
</p>
<p>At the end of several menu items you will find strange symbols like
<kbd>^A</kbd> or <tt class="key">f1</tt>. They represent <em>shortcuts</em> for the respective
menu items. In other words, instead of activating, selecting and
executing a menu item, which can take seconds, you can simply press a
couple of keys. The symbol ‘<samp>^</samp>’ in front of a character denotes the
shortcut produced by the <tt class="key">Control</tt> key plus that character (we
assume here that you are perfectly aware of the usage of the
<tt class="key">Control</tt> key: it is just as if you had to type a capital letter
with <tt class="key">Shift</tt>). The descriptions of the form <tt class="key">f</tt><var>n</var> represent
instead function keys. Finally, the symbol ‘<samp>[</samp>’ in front of a
character denotes the shortcut produced by <tt class="key">Control</tt> plus <tt class="key">Meta</tt>
(a.k.a. <tt class="key">Alt</tt>) plus that character, <em>or</em> <tt class="key">Meta</tt> plus that
character, depending on your terminal emulator—you must check by
yourself. Moreover, these last bindings could not work with some
terminals, in which case you can replace them with a sequence: just
press the <tt class="key">Escape</tt> key followed by the letter. A few menu items are
bound to two control sequences (just in case one does not work, or it is
impractical).
</p>
<p>Note that under certain conditions (for instance, while using
<code>ne</code> through a <code>telnet</code> connection) some of the shortcuts
might not work because they are trapped by the operating system for
other purposes (see <a href="Hints-and-Tricks.html#Hints-and-Tricks">Hints and Tricks</a>).
</p>
<p>Finally, we have the third and last interface to <code>ne</code>’s features: the
<em>command line</em>. If you press <kbd><span class="key">Control</span>-K</kbd>, or <tt class="key">Escape</tt> followed by
‘<samp>:</samp>’ (a la <code>vi</code>), you will be requested to enter a command
to execute. Just press <tt class="key">Return</tt> for the time being (or, if you are
really interested in this topic, see <a href="The-Command-Line.html#The-Command-Line">The Command Line</a>).
</p>
<p>In the sections that follow, when explaining how to use a command we
shall usually describe the corresponding menu item. The related shortcut
and command can be found on the menu item itself, and in <a href="Menus.html#Menus">Menus</a>.
</p>
<hr>
<div class="header">
<p>
Next: <a href="Loading-and-Saving.html#Loading-and-Saving" accesskey="n" rel="next">Loading and Saving</a>, Previous: <a href="Terminology.html#Terminology" accesskey="p" rel="prev">Terminology</a>, Up: <a href="Basics.html#Basics" accesskey="u" rel="up">Basics</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>
|