For the past few months I've been using tmux to manage my terminal sessions.
tmux is a terminal multiplexer, which allows you to manage multiple terminals within a single session.
One of the great features of tmux is session sharing. This means you can use it for pair programming if you both use a terminal-based text editor.