Hopefully you already know about screen, its one of the best command line utilites I use. Here is a purty screenrc for you.

.screenrc