Terminal window inside Sublime Text 2

SublimeREPL does what you want

https://github.com/wuub/SublimeREPL/

Of course, there are some limitations because the window of Sublime Text 2 is not originally designed for continuous running buffer of stdin input.


+ 2 years (sorry) - but my solution in ubuntu was to open both sublime and my (real) terminal in the same window, shrink and stretch the terminal to cover the lower portion of the screen, then right click on the terminal and select "keep on top" - works a treat.