/usr/share/doc/ne/html/The-Input-Line.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 | <!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 Input Line</title>
<meta name="description" content="ne’s manual: The Input Line">
<meta name="keywords" content="ne’s manual: The Input Line">
<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-Command-Line.html#The-Command-Line" rel="next" title="The Command Line">
<link href="The-Status-Bar.html#The-Status-Bar" rel="prev" title="The Status Bar">
<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-Input-Line"></a>
<div class="header">
<p>
Next: <a href="The-Command-Line.html#The-Command-Line" accesskey="n" rel="next">The Command Line</a>, Previous: <a href="The-Status-Bar.html#The-Status-Bar" accesskey="p" rel="prev">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="The-Input-Line-1"></a>
<h3 class="section">3.3 The Input Line</h3>
<a name="index-Input-line"></a>
<a name="index-Escaping-an-input"></a>
<a name="index-Immediate-input"></a>
<a name="index-Long-input"></a>
<a name="index-File-name-completion"></a>
<p>The bottom line of the screen is usually occupied by the status bar
(see <a href="The-Status-Bar.html#The-Status-Bar">The Status Bar</a>). However, whenever <code>ne</code> prompts you for a
command or file name or asks you to confirm some action, the bottom line
becomes the <em>input line</em>. You can see this because a <em>prompt</em> is
displayed at the start of the line, suggesting what kind of input is
required. (Prompts always ends with a colon, so it is easy to
distinguish them from <em>error messages</em>, which overwrite the status
bar from time to time.)
</p>
<p><code>ne</code> uses the input line in two essentially different ways:
<em>immediate</em> input and <em>long</em> input. You can easily distinguish
between these two modes because in immediate input mode the cursor is
not on the input line, while for long input mode it is.
</p>
<p>Immediate input is used whenever <code>ne</code> needs you to specify a simple
choice that can be expressed by one character (for example, ‘<samp>y</samp>’ or
‘<samp>n</samp>’). When you type the character, <code>ne</code> will immediately
accept and use your input. Most immediate inputs display a character
just after the prompt. This character is the default response, which is
used if you just press the <tt class="key">Return</tt> key. Note that immediate input
is not case sensitive. Moreover, if a yes/no choice is requested,
<em>anything</em> other than ‘<samp>y</samp>’ will be considered a negative
response.
</p>
<p>Long input is used when a whole string is required. You can enter and
edit your response to long inputs like a line of text in a
document. Most key bindings related to line editing work on the command
line exactly as they do in a document. This is true even of custom key
bindings. Just edit as you are used to. Moreover, the you can paste the
first line of the current clip using the keystroke that is bound to the
<code>Paste</code> command, usually <kbd><span class="key">Control</span>-V</kbd>. If your long input
is longer than the screen width, the input line scrolls to accommodate
your text so you can input very long lines even on small
monitors. (There is a limit of 2048 characters.)
</p>
<p>The default response to a long input is the response you gave to the
previous long input. Your <em>first action</em> when presented with a long
input will either erase the default response or allow you to edit it. If
the first thing you type is a printing character, the default response
will be erased. Anything else (cursor movement for example) will allow
you to edit it further.
</p>
<p>Long input also lets you access your previous long input responses with
the up and down cursor commands (or with wider movement commands, such
as start/end of file, page up/down, etc.). Once you find a previous
input you like, you can edit it further. Long input history is not
document specific, so you can recall any of your inputs regardless of
which document was active when you entered it. Furthermore, <code>ne</code>
saves the most recent long inputs in <samp>~/.ne/.history</samp> when you end
your <code>ne</code> session and loads them again when you begin another
<code>ne</code> session.
</p>
<p>When asked to input a number, you can choose between decimal, octal and
hexadecimal notation in the standard way: a number starting with
‘<samp>0</samp>’ is considered in octal, a number starting with ‘<samp>0x</samp>’ is
considered in hexadecimal, and in all other cases decimal base is
assumed.
</p>
<p>Whenever a file name is requested, you can type a partial file name and
<em>complete</em> it with the <tt class="key">Tab</tt> key. <code>ne</code> will scan the
current directory (or the directory that you partially specified) and
search for the files matching your partial suggestion. The longest
prefix common to all such files will be copied on the input line
(<code>ne</code> will beep if no completion exists). It’s easier done than
said—just try. If you press <tt class="key">Tab</tt> again, you will be brought into
the file requester: only the files and directories matching your partial
specification will appear, and as usual you will be able to navigate and
select a file or escape. See <a href="The-Requester.html#The-Requester">The Requester</a>. Note that <code>ne</code>
considers the <em>last word</em> on the input line the partial file name
to complete, no matter where the cursor is currently (you must use quotes
if the name contains spaces, even if it is the only item on the input line).
</p>
<p>Complete long input with the <tt class="key">Return</tt> key. You can cancel a long
input using <tt class="key">f1</tt>, <tt class="key">Escape</tt>, <tt class="key">Escape</tt>-<tt class="key">Escape</tt> or any key
that is bound to the <code>Escape</code> command. The effect will vary depending
on what your were requested to input, but the execution of the command
requiring the input will stop.
</p>
<hr>
<div class="header">
<p>
Next: <a href="The-Command-Line.html#The-Command-Line" accesskey="n" rel="next">The Command Line</a>, Previous: <a href="The-Status-Bar.html#The-Status-Bar" accesskey="p" rel="prev">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>
|