Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / TUI-Keys.html
blobdb7c514f22391b97129358829b2a386e62cb99ae
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="TUI%20Keys">TUI Keys</a>,
13 Next:<a rel="next" accesskey="n" href="TUI-Commands.html#TUI%20Commands">TUI Commands</a>,
14 Previous:<a rel="previous" accesskey="p" href="TUI-Overview.html#TUI%20Overview">TUI Overview</a>,
15 Up:<a rel="up" accesskey="u" href="TUI.html#TUI">TUI</a>
16 <hr><br>
17 </div>
19 <h3 class="section">TUI Key Bindings</h3>
21 <p>The TUI installs several key bindings in the readline keymaps
22 (see <a href="Command-Line-Editing.html#Command%20Line%20Editing">Command Line Editing</a>).
23 They allow to leave or enter in the TUI mode or they operate
24 directly on the TUI layout and windows. The following key bindings
25 are installed for both TUI mode and the GDB standard mode.
27 <dl>
28 <dt><kbd>C-x C-a</kbd>
29 <dd><dt><kbd>C-x a</kbd>
30 <dd><dt><kbd>C-x A</kbd>
31 <dd>Enter or leave the TUI mode. When the TUI mode is left,
32 the curses window management is left and GDB operates using
33 its standard mode writing on the terminal directly. When the TUI
34 mode is entered, the control is given back to the curses windows.
35 The screen is then refreshed.
37 <br><dt><kbd>C-x 1</kbd>
38 <dd>Use a TUI layout with only one window. The layout will
39 either be <code>source</code> or <code>assembly</code>. When the TUI mode
40 is not active, it will switch to the TUI mode.
42 <p>Think of this key binding as the Emacs <kbd>C-x 1</kbd> binding.
44 <br><dt><kbd>C-x 2</kbd>
45 <dd>Use a TUI layout with at least two windows. When the current
46 layout shows already two windows, a next layout with two windows is used.
47 When a new layout is chosen, one window will always be common to the
48 previous layout and the new one.
50 <p>Think of it as the Emacs <kbd>C-x 2</kbd> binding.
52 </dl>
54 <p>The following key bindings are handled only by the TUI mode:
56 <dl>
57 <dt>&lt;PgUp&gt;
58 <dd>Scroll the active window one page up.
60 <br><dt>&lt;PgDn&gt;
61 <dd>Scroll the active window one page down.
63 <br><dt>&lt;Up&gt;
64 <dd>Scroll the active window one line up.
66 <br><dt>&lt;Down&gt;
67 <dd>Scroll the active window one line down.
69 <br><dt>&lt;Left&gt;
70 <dd>Scroll the active window one column left.
72 <br><dt>&lt;Right&gt;
73 <dd>Scroll the active window one column right.
75 <br><dt>&lt;C-L&gt;
76 <dd>Refresh the screen.
78 </dl>
80 <p>In the TUI mode, the arrow keys are used by the active window
81 for scrolling. This means they are not available for readline. It is
82 necessary to use other readline key bindings such as &lt;C-p&gt;, &lt;C-n&gt;,
83 &lt;C-b&gt; and &lt;C-f&gt;.
85 </body></html>