Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Readline-Bare-Essentials.html
blobce1b402e0687c11fcb93e4dc8697a9da1dbb4de0
1 <html lang="en">
2 <head>
3 <title>Debugging with GDB</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Debugging with GDB">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Readline%20Bare%20Essentials">Readline Bare Essentials</a>,
13 Next:<a rel="next" accesskey="n" href="Readline-Movement-Commands.html#Readline%20Movement%20Commands">Readline Movement Commands</a>,
14 Up:<a rel="up" accesskey="u" href="Readline-Interaction.html#Readline%20Interaction">Readline Interaction</a>
15 <hr><br>
16 </div>
18 <h4 class="subsection">Readline Bare Essentials</h4>
20 <p>In order to enter characters into the line, simply type them. The typed
21 character appears where the cursor was, and then the cursor moves one
22 space to the right. If you mistype a character, you can use your
23 erase character to back up and delete the mistyped character.
25 <p>Sometimes you may mistype a character, and
26 not notice the error until you have typed several other characters. In
27 that case, you can type <kbd>C-b</kbd> to move the cursor to the left, and then
28 correct your mistake. Afterwards, you can move the cursor to the right
29 with <kbd>C-f</kbd>.
31 <p>When you add text in the middle of a line, you will notice that characters
32 to the right of the cursor are `pushed over' to make room for the text
33 that you have inserted. Likewise, when you delete text behind the cursor,
34 characters to the right of the cursor are `pulled back' to fill in the
35 blank space created by the removal of the text. A list of the bare
36 essentials for editing the text of an input line follows.
38 <dl>
39 <dt><kbd>C-b</kbd>
40 <dd>Move back one character.
41 <br><dt><kbd>C-f</kbd>
42 <dd>Move forward one character.
43 <br><dt>&lt;DEL&gt; or &lt;Backspace&gt;
44 <dd>Delete the character to the left of the cursor.
45 <br><dt><kbd>C-d</kbd>
46 <dd>Delete the character underneath the cursor.
47 <br><dt>Printing&nbsp;characters
48 <dd>Insert the character into the line at the cursor.
49 <br><dt><kbd>C-_</kbd> or <kbd>C-x C-u</kbd>
50 <dd>Undo the last editing command. You can undo all the way back to an
51 empty line.
52 </dl>
54 <p>(Depending on your configuration, the &lt;Backspace&gt; key be set to
55 delete the character to the left of the cursor and the &lt;DEL&gt; key set
56 to delete the character underneath the cursor, like <kbd>C-d</kbd>, rather
57 than the character to the left of the cursor.)
59 </body></html>