18

While using cgdb, how does one scroll through the output visible in the gdb window?

2
  • 3
    Have you tried alt+p/alt+n, pageup/pagedown? Commented Oct 2, 2012 at 0:18
  • This is a good answer, not only does page up/page down scroll the cgdb windows, but alt + up arrow, alt + down arrow will scroll the source window. Commented Nov 19, 2013 at 23:23

1 Answer 1

24

PgUp and PgDn should scroll the gdb window. If they don't, check your TERM environment variable and make sure it's set correctly.

Sign up to request clarification or add additional context in comments.

3 Comments

For anyone wondering, i should do the trick when you want to exit scroll mode.
Is it possible to scroll up by one line ?
@Tic After pressing PgUp/PdDown we are in "scroll mode"; the Up and Down cursor keys will now scroll by one line; the mouse wheel should also work. i will exit this mode.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.