Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Screen-Size.html
blobd83557de0d545ed847fa166138dd0a556830c054
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="Screen%20Size">Screen Size</a>,
13 Next:<a rel="next" accesskey="n" href="Numbers.html#Numbers">Numbers</a>,
14 Previous:<a rel="previous" accesskey="p" href="History.html#History">History</a>,
15 Up:<a rel="up" accesskey="u" href="Controlling-GDB.html#Controlling%20GDB">Controlling GDB</a>
16 <hr><br>
17 </div>
19 <h3 class="section">Screen size</h3>
21 <p>Certain commands to GDB may produce large amounts of
22 information output to the screen. To help you read all of it,
23 GDB pauses and asks you for input at the end of each page of
24 output. Type &lt;RET&gt; when you want to continue the output, or <kbd>q</kbd>
25 to discard the remaining output. Also, the screen width setting
26 determines when to wrap lines of output. Depending on what is being
27 printed, GDB tries to break the line at a readable place,
28 rather than simply letting it overflow onto the following line.
30 <p>Normally GDB knows the size of the screen from the terminal
31 driver software. For example, on Unix GDB uses the termcap data base
32 together with the value of the <code>TERM</code> environment variable and the
33 <code>stty rows</code> and <code>stty cols</code> settings. If this is not correct,
34 you can override it with the <code>set height</code> and <code>set
35 width</code> commands:
37 <dl>
38 <dt><code>set height </code><var>lpp</var><code></code>
39 <dd><dt><code>show height</code>
40 <dd><dt><code>set width </code><var>cpl</var><code></code>
41 <dd><dt><code>show width</code>
42 <dd>These <code>set</code> commands specify a screen height of <var>lpp</var> lines and
43 a screen width of <var>cpl</var> characters. The associated <code>show</code>
44 commands display the current settings.
46 <p>If you specify a height of zero lines, GDB does not pause during
47 output no matter how long the output is. This is useful if output is to a
48 file or to an editor buffer.
50 <p>Likewise, you can specify <code>set width 0</code> to prevent GDB
51 from wrapping its output.
52 </dl>
54 </body></html>