Terminal output is too large!!
Problems, problems, problems... My OS is Uuntu 14.04. While running a.out file generated by g++ compiler I realized that a small portion thereof is out of the upper edge of the terminal. I can handle it by changing the source code, no problem, by reducing the output expected, but I still wonder is there is a way to increase the volume of what is printed?
Thanks, - A. |
I do not really understand what do you mean by "increase the volume of what is printed". Do you want to change the size of the characters, or size of the terminal window or ???
|
You can use Shift-PageUp to view pages gone up.
And you can output messages to a file. Using ./a.out > out.log Or you can use more or less command. ./a.out | less |
veerain thanks. Inputting to a file will be the solution.
|
If you are using a terminal emulator in X you should also be able to simply scroll up with the scroll bar on the sides or the mousewheel. Most terminal emulators can be customised, so if you don't see scrollbars look in the settings to activate them. Typically you can also set the number of scrollback lines. This is the number of lines that you can scroll back before you get to the "top".
If you can't find it post which terminal emulator you are using to get more detailed instructions. |
Another option is to pipe the output into a pager like more or less
|
Quote:
|
All times are GMT -5. The time now is 03:14 AM. |