I'm having trouble with the terminal window closing when I switch to another window (eg internet browser, OfficeLibra, pdf viewer etc). This is annoying, because I'm running Octave, which runs from within the terminal, so I lose my work whenever I go to check something on the internet, or refer to a document.

Is this a known feature of the terminal I can turn off, or is it something that I need to fix? I'm running Ubuntu 11.10 on an LG E500 laptop.

Any help appreciated! For now, I'm running a work around using the Terminator application to launch Octave.