title: Interface between python tty/terminos and a browser terminal emulator
body: <p>There is a python programm named <a href="http://libvirt.org/git/?p=libvirt.git;a=blob;f=examples/python/consolecallback.py" rel="nofollow">consolecallback</a> using tty and terminos.</p>
  
  <p>And there are browser terminal emulators like this: <a href="http://terminal.jcubic.pl/" rel="nofollow">JQueryTerminal</a> <a href="https://github.com/liftoff/GateOne" rel="nofollow">GateOne</a> <a href="http://code.google.com/p/shellinabox/" rel="nofollow">ShellInABox</a>.</p>
  
  <p>How would I get the consolecallback programm working with one of this terminal emulators in the browser? What is the interface? I have absolutely no idea where to start researching. Please help me by giving some links or anything showing how I can get them to work together. I want to get a libvirt console with all it functions into a browser window. I'm not sure what to google, so please give me some links or better - an explanation... </p>