If you want to run more than one program in the console interface (Terminal emulator) with the ability to monitor them at the same time, then you need some sort of a “Terminal multiplexer”.
Because if you use the built in Terminal emulator that comes with your desktop, then you’ll have a hard time as you have to click on each tab/window every time you want to switchover (monitor) to the other process etc, and it certainly ain’t fun ;-).
Now, depending on your needs, there are a reasonable amount of Terminal multiplexers that you can try. But, if having two terminals in the same window is more than enough for you, then for its simplicity and ease of use, you should try “splitvt”.
Few main features …
*. By default, it only supports splitting your Terminal window into two (upper and lower), but you can split the Terminal window into any number of sub terminals by using a simple trick (more at the “examples” section).
(Note: For the curious ;-), the pretty looking graphs at the second terminal, that’s speedometer).
However, you cannot make it display more than two sub-terminals before opening. So you have to first open the utility with its two terminals and then have to enter a command, if you want more sub-terminals.
*. Supports changing the height of each “Shell” manually, prior to launching it (you can always use the mouse for resizing it anyway).
*. “login/no-login” shell support.
*. Set terminal “titles” manually.
That’s pretty much it.
If interested you can install “splitvt” in Ubuntu 12.04 Precise Pangolin, 11.10 Oneiric Ocelot, 11.04 Natty Narwhal, 10.10 and 10.04 by simply typing the below command in your Terminal window.
sudo apt-get install splitvt
How to launch it?
Simple. First, open your Terminal window and then enter the below command.
By default, it uses its own title on the title-bar. If you find that to be annoying, then you can use it in the below format upon the execution to set your own title (replace “your-title” with, oh you know! :D).
splitvt -t your-title
How to switch between the two terminals ?
If you use it under the Terminal emulator of a desktop, then you can use the mouse for that. But, if you use it in a Console-only environment, without mouse support, then you can use the “Ctrl” + “w” key combination to switch between each terminal.
Can I use more than two terminals?
Yes you can. It’s a simple trick actually. Once you’ve opened two terminals, if you want to split it into more sub terminals (4, 8, 16 etc), then simply put the it’s main command (“splitvt”) in a (you can put it inside many) Terminal window and press the “Enter” key and it should “divide” that sub-terminal into two new ones.
It has few other options too. For that, please refer to its manual by using the below command.
That’s it. Enjoy!.