I want to increase the number of lines in Code::Blocks xterm console output to 1000 lines. I tried setting "Terminal to launch console programs" under "Environment Settings" > "General Settings" to:

xterm -sl 1000 -T $TITLE -e

But there were only 747 lines outputted.


The manual page gives a clue:

-sl number
This option specifies the number of lines to save that have been scrolled off the top of the screen. This corresponds to the saveLines resource. The default is "64".

Setting the resource value would bypass whatever problems you might have with Code::Blocks configuration.

| improve this answer | |
  • Well "-sl number" is what I'm using. So why isn't it working? – gornvix Sep 30 '17 at 12:19
  • Code::Blocks may be overriding the option in its launcher. I'd suggest tracing the program to prove that... – Thomas Dickey Sep 30 '17 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.