/usr/share/doc/ne/html/Starting.html is in ne-doc 2.5-1.
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 | <html lang="en">
<head>
<title>Starting - ne's manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="ne's manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Basics.html#Basics" title="Basics">
<link rel="prev" href="Terminology.html#Terminology" title="Terminology">
<link rel="next" href="Loading-and-Saving.html#Loading-and-Saving" title="Loading and Saving">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Starting"></a>
<p>
Next: <a rel="next" accesskey="n" href="Loading-and-Saving.html#Loading-and-Saving">Loading and Saving</a>,
Previous: <a rel="previous" accesskey="p" href="Terminology.html#Terminology">Terminology</a>,
Up: <a rel="up" accesskey="u" href="Basics.html#Basics">Basics</a>
<hr>
</div>
<h3 class="section">2.2 Starting</h3>
<p><a name="index-Keyboard-usage-10"></a><a name="index-Menu-usage-11"></a><a name="index-Shortcuts-12"></a><a name="index-Status-bar-13"></a><a name="index-Menu-bar-14"></a><a name="index-Control-key-15"></a><a name="index-Meta-key-16"></a><a name="index-Command-line-17"></a>
To start <code>ne</code>, just type ‘<samp><span class="samp">ne</span></samp>’ and press <Return>. 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 <span class="sc">un*x</span> command. The
screen of your terminal will be cleared (or filled with text loaded
from the first file you specified). See <a href="Arguments.html#Arguments">Arguments</a> for other command line options.
<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 <Delete> and <Backspace> key to perform corrections. If
your keyboard has an <Insert> key, you can use it to <dfn>toggle</dfn>
(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>At the bottom of the screen, you will see a line containing some numbers and
letters. This is called the <dfn>status bar</dfn> because it reports to you part of
the internal state of the editor. At startup, the status bar has the following form:
<pre class="example"> L: 1 C: 1 12% ia----pvu-t------@A <unnamed>
</pre>
<p class="noindent">(the numbers could be different, and a file name could be shown as
last item instead of ‘<samp><span class="samp"><unnamed></span></samp>’). You probably already guessed
that the numbers after ‘<samp><span class="samp">L:</span></samp>’ and ‘<samp><span class="samp">C:</span></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><span class="samp">i</span></samp>’ tells you that insert
mode is on, while ‘<samp><span class="samp">p</span></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>Once you are accustomed to cursor movement and line editing, it is time to
press <f1> (the first function key), or in case your keyboard does not
have such a key, <Escape>. Immediately, the <dfn>menu bar</dfn> will appear,
and the first menu will be drawn. (If you find yourself waiting for the menu
to appear, you can press <Escape> 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>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><span class="samp">Save As...</span></samp>’
item from the ‘<samp><span class="samp">File</span></samp>’ menu. Menus are fully discussed in <a href="Menus.html#Menus">Menus</a>.
When you want to exit from the menu system, press <f1> (or <Escape>)
again. If instead you prefer to choose a command and execute it, move
to the respective menu item and press <Return>.
<p>At the end of several menu items you will find strange symbols like
<kbd>^A</kbd> or <f1>. They represent <dfn>shortcuts</dfn> 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><span class="samp">^</span></samp>’ in front of a character denotes the
shortcut produced by the <Control> key plus that character (we
assume here that you are perfectly aware of the usage of the
<Control> key: it is just as if you had to type a capital letter
with <Shift>). The descriptions of the form <f><var>n</var> represent
instead function keys. Finally, the symbol ‘<samp><span class="samp">[</span></samp>’ in front of a
character denotes the shortcut produced by <Control> plus <Meta>
(a.k.a. <Alt>) plus that character, <em>or</em> <Meta> 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 <Escape> 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>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>Finally, we have the third and last interface to <code>ne</code>'s features: the
<dfn>command line</dfn>. If you press <kbd><Control>-K</kbd>, or <Escape> followed by
‘<samp><span class="samp">:</span></samp>’ (a la <code>vi</code>), you will be requested to enter a command
to execute. Just press <Return> 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>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>.
</body></html>
|