You may have seen my previous post on Learn Emacs: Fit your Workflow. I've improved the function to bring up a full frame eshell buffer, and restore back to previous window configuration with less code. Previously I was using some complex keyboard macros to try to restore my specific usual frame setup. This rewritten function will work for any frame setup.
I owe this tip to magnars' emacs configuration.
More on registers here