I am using Ubuntu 12.04, unity. I have a program running in terminal. It is supposed to run for ~10 hours. But it halted after I came back after a few hours. The CPU usage shows that the program is not running. Then I checked the printout by scrolling the terminal window. After I moved the scroll bar to the top (somehow the window is empty and no printout can be seen at the point) and hit the return key, my program resumed suddenly. So, how can I set the parameters so my program won't halt?
Scroll back is set to 1024 lines (the printout from my program is way more than that).