start new:
tmux
start new with session name:
tmux new -s myname
Here's a few things I tried to write output to a python subprocess pipe.
from subprocess import Popen, PIPE
p = Popen('less', stdin=PIPE)
for x in xrange(100):
p.communicate('Line number %d.\n' % x)As configured in my dotfiles.
start new:
tmux
start new with session name: