Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Readline-Movement-Commands.html
blob8ab39f7889d81d3b027d4b14907fd48e7f9f97e5
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%20Movement%20Commands">Readline Movement Commands</a>,
13 Next:<a rel="next" accesskey="n" href="Readline-Killing-Commands.html#Readline%20Killing%20Commands">Readline Killing Commands</a>,
14 Previous:<a rel="previous" accesskey="p" href="Readline-Bare-Essentials.html#Readline%20Bare%20Essentials">Readline Bare Essentials</a>,
15 Up:<a rel="up" accesskey="u" href="Readline-Interaction.html#Readline%20Interaction">Readline Interaction</a>
16 <hr><br>
17 </div>
19 <h4 class="subsection">Readline Movement Commands</h4>
21 <p>The above table describes the most basic keystrokes that you need
22 in order to do editing of the input line. For your convenience, many
23 other commands have been added in addition to <kbd>C-b</kbd>, <kbd>C-f</kbd>,
24 <kbd>C-d</kbd>, and &lt;DEL&gt;. Here are some commands for moving more rapidly
25 about the line.
27 <dl>
28 <dt><kbd>C-a</kbd>
29 <dd>Move to the start of the line.
30 <br><dt><kbd>C-e</kbd>
31 <dd>Move to the end of the line.
32 <br><dt><kbd>M-f</kbd>
33 <dd>Move forward a word, where a word is composed of letters and digits.
34 <br><dt><kbd>M-b</kbd>
35 <dd>Move backward a word.
36 <br><dt><kbd>C-l</kbd>
37 <dd>Clear the screen, reprinting the current line at the top.
38 </dl>
40 <p>Notice how <kbd>C-f</kbd> moves forward a character, while <kbd>M-f</kbd> moves
41 forward a word. It is a loose convention that control keystrokes
42 operate on characters while meta keystrokes operate on words.
44 </body></html>