/usr/share/doc/ne/html/Loading-and-Saving.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 | <!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: Loading and Saving</title>
<meta name="description" content="ne’s manual: Loading and Saving">
<meta name="keywords" content="ne’s manual: Loading and Saving">
<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="Editing.html#Editing" rel="next" title="Editing">
<link href="Starting.html#Starting" rel="prev" title="Starting">
<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="Loading-and-Saving"></a>
<div class="header">
<p>
Next: <a href="Editing.html#Editing" accesskey="n" rel="next">Editing</a>, Previous: <a href="Starting.html#Starting" accesskey="p" rel="prev">Starting</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="Loading-and-Saving-1"></a>
<h3 class="section">2.3 Loading and Saving</h3>
<a name="index-Loading-a-file"></a>
<a name="index-Quitting"></a>
<a name="index-Exiting"></a>
<a name="index-Closing-a-document"></a>
<a name="index-Opening-a-file"></a>
<a name="index-Saving-a-file"></a>
<a name="index-Writing-a-file"></a>
<a name="index-File-requester"></a>
<p>The first thing to learn about an editor is how to exit. <code>ne</code> has a
<code>CloseDoc</code> command that can be activated by pressing <kbd><span class="key">Control</span>-Q</kbd>,
by choosing the ‘<samp>Close</samp>’ item of the ‘<samp>Document</samp>’ menu, or by activating
the command line with <kbd><span class="key">Control</span>-K</kbd>, writing ‘<samp>cd</samp>’ and pressing
<tt class="key">Return</tt>. Its effect is to close the current document without saving any
modifications. (You will be requested to confirm your choice in case the
current document has been modified since the last save.)
</p>
<p>There is also a <code>Quit</code> command, which closes all the documents
without saving any modifications, and a <code>Save&Exit</code> (<kbd><span class="key">Meta</span>-X</kbd>)
command, which saves the modified documents before quitting.
</p>
<p>This choice of shortcuts could surprise you. Wouldn’t ‘<samp>Quit</samp>’ be a
much better candidate for <kbd><span class="key">Control</span>-Q</kbd>? Well, experience shows that
the most common operation is closing a document rather than quitting the
editor. If there is just one document, the two operations coincide (this is
typical, for instance, when you use <code>ne</code> for writing electronic mail), and
if there are many documents, it is far more common to close a single document
than all the existing documents.
</p>
<p>If you want to load a file, you may use the <code>Open</code> command, which can
be activated by pressing <kbd><span class="key">Control</span>-O</kbd>, by choosing the ‘<samp>Open...</samp>’
item of the ‘<samp>File</samp>’ menu, or by typing it on the command line (as in the
previous case). You will be prompted with a list of files and directories in
the current working directory. (You can tell the directory names because they
end with a slash; they will also appear in a bold face if your terminal
allows it.) You can select any of the file names by using the
cursor keys, or any other movement key. Pressing an alphabetic key will
move the cursor to the first entry after the cursor that starts with the
given letter. When the cursor is positioned over the file you want to
open, press <tt class="key">Return</tt>, and the file will be opened. If instead
you move to a directory name, pressing <tt class="key">Return</tt> will display the
contents of that directory.
</p>
<p>You can also escape with <tt class="key">f1</tt>, <tt class="key">Escape</tt> or
<tt class="key">Escape</tt>-<tt class="key">Escape</tt> and manually type the file name on the command
line (or escape again, and abort the <code>Open</code> operation). If you escape
with <tt class="key">Tab</tt> instead, the file or directory under the cursor will be
copied in the input line, where you can modify it manually. <code>ne</code> also
has file name completion features activated by <tt class="key">Tab</tt> (see <a href="The-Input-Line.html#The-Input-Line">The Input Line</a>).
</p>
<p>When you want to save a file, just use the command <code>Save</code>
(<kbd><span class="key">Control</span>-S</kbd>). It will use the current document name or will
ask you for one if the current document has no name. <code>SaveAs</code>, on the
other hand, will always ask for a new name before saving the file.
<code>SaveAll</code> will save all modified documents. If the file you are
saving a document to has changed since you last loaded or saved it,
perhaps because another user updated it while you were editing,
<code>ne</code> will warn you before overwriting the file.
</p>
<p>If <code>ne</code> is interrupted by an external signal (for instance, if your
terminal crashes), it will try to save your work in some emergency files.
These files will have names similar to your current files, but they will
have a pound sign ‘<samp>#</samp>’ prefixed to their names.
See <a href="Emergency-Save.html#Emergency-Save">Emergency Save</a>.
</p>
<hr>
<div class="header">
<p>
Next: <a href="Editing.html#Editing" accesskey="n" rel="next">Editing</a>, Previous: <a href="Starting.html#Starting" accesskey="p" rel="prev">Starting</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>
|