/usr/share/doc/ne/html/The-Requester.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: The Requester</title>
<meta name="description" content="ne’s manual: The Requester">
<meta name="keywords" content="ne’s manual: The Requester">
<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="Syntax-Highlighting.html#Syntax-Highlighting" rel="next" title="Syntax Highlighting">
<link href="The-Command-Line.html#The-Command-Line" rel="prev" title="The Command Line">
<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="The-Requester"></a>
<div class="header">
<p>
Next: <a href="Syntax-Highlighting.html#Syntax-Highlighting" accesskey="n" rel="next">Syntax Highlighting</a>, Previous: <a href="The-Command-Line.html#The-Command-Line" accesskey="p" rel="prev">The Command Line</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="The-Requester-1"></a>
<h3 class="section">3.5 The Requester</h3>
<a name="index-Requester"></a>
<a name="index-File-requester-2"></a>
<a name="index-Interrupting-directory-scanning"></a>
<a name="index-Help-requester"></a>
<p>In various situations, <code>ne</code> needs to ask you to choose one string
from several (where “several” can mean a lot).
For this kind of event, the <em>requester</em> is issued. The requester
displays the strings in as many columns as possible and lets you move
with the cursor from one string to another. The strings can fill many
screens, which are handled as consecutive pages. Most navigation keys
work exactly as in normal editing. This is true even of custom key
bindings. Thus, for instance, you can page up and down through the
list with <kbd><span class="key">Control</span>-P</kbd> and <kbd><span class="key">Control</span>-N</kbd> (in the standard keyboard
configuration).
</p>
<p>As with the input line (see <a href="The-Input-Line.html#The-Input-Line">The Input Line</a>), you can confirm your
input with <tt class="key">Return</tt> or escape the requester with <tt class="key">f1</tt> or the
<tt class="key">Escape</tt> key (or whatever has been bound to the <code>Escape</code>
command). Moreover, if you are selecting a file name there is a third
possibility: by escaping with the <tt class="key">Tab</tt> key, the file or directory
name that the cursor is currently on will be copied to the input
line. This allows you to choose an existing name with <tt class="key">Tab</tt> and
modify it before hitting <tt class="key">Return</tt>.
</p>
<p>A special feature is bound to printing characters: the requester
progressively filters out entries that don’t match the characters you
type without regard to case. You can use <tt class="key">Backspace</tt> to
progressively return filtered out entries to the list. This lets you
quickly navigate large lists to get to the entries you really want.
</p>
<p>An example of a requester is the list of commands appearing when you use
the <code>Help</code> command. Another is the list of document words matching
a prefix given to the <code>AutoComplete</code> command. A third example is the file requester that
<code>ne</code> issues whenever a file operation is going to take place. In
this case, pressing <tt class="key">Return</tt> while on a directory name will enter
the directory. Note also that, should the requester take too long to
appear, you can interrupt the directory scanning with
<kbd><span class="key">Control</span>-\</kbd>. However, the listing will likely be incomplete.
</p>
<p>Note that there are two items that always appear in the file requester:
<samp>./</samp> and <samp>../</samp>. The first one represents the current directory
and can be used to force a reread of the directory. The second one represents the
parent directory and can be used to move up by one directory level.
</p>
<p>Another example of a requester is the list of current documents which
is displayed when you use the <code>Select...</code> entry from the <code>Documents</code>
menu, or invoke the <code>SelectDoc</code> command with the <tt class="key">f4</tt> key.
Documents with unsaved changes will be bold (if your terminal supports
bold) and marked with an asterisk. These documents are generally listed in the
order they were opened. However, in this requester you can reorder these
documents by using the keys bound to the <code>NextDoc</code> and <code>PrevDoc</code>
commands, usually <tt class="key">f2</tt> and <tt class="key">f3</tt>. Any document reordering and selection
will only take effect if you exit the requester with the <tt class="key">Return</tt> key.
</p>
<p>The requester presents the strings by default in “row major order,”
which means the second string is on the same row as the first but to
its right, at the top of the second column, and so on across each row
before filling in the next row down. If you prefer your lists displayed in
“column major order”—the first, second, and third strings are in
the same column and each column is filled before starting on the next
column to the right—then use the <code>RequestOrder</code> command to
switch that preference. The setting will be stored in your default
preferences the next time you save them. See <a href="Preferences-Commands.html#Preferences-Commands">Preferences Commands</a>.
</p>
<hr>
<div class="header">
<p>
Next: <a href="Syntax-Highlighting.html#Syntax-Highlighting" accesskey="n" rel="next">Syntax Highlighting</a>, Previous: <a href="The-Command-Line.html#The-Command-Line" accesskey="p" rel="prev">The Command Line</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>
|