title: How can I scroll back in GDB's command window in the TUI mode?
body: <p>Suppose that</p>
  
  <pre><code>(gdb) print *this
  </code></pre>
  
  <p>resulted in 20 lines of output. Yes, there would be <code>Type &lt;return&gt; to continue, or q &lt;return&gt; to quit</code>, but I'd like to scroll back to the top after I got to the bottom of the output.</p>
  
  <p>I don't think <a href="http://sourceware.org/gdb/onlinedocs/gdb/TUI-Keys.html" rel="noreferrer">http://sourceware.org/gdb/onlinedocs/gdb/TUI-Keys.html</a> answers my question. It states</p>
  
  <blockquote>
    <p>&lt;PgUp&gt; <br>
    Scroll the active window one page up.</p>
  </blockquote>
  
  <p>but when the focus is on the command window, <kbd>PgUp</kbd> rewinds the command history, instead of scrolling back in the command window. Is it only me who suffers from this behavior?</p>
  
  <p>I'm using <a href="http://en.wikipedia.org/wiki/PuTTY" rel="noreferrer">PuTTY</a> in order to SSH to Red Hat Linux (if this makes any difference).</p>