Are there any javascript libraries that can render terminal output in a browser?

javascript, linux

Solution

There are sevral options that I've found based on terminal emulation using Javascript:

- jQuery Terminal plugin

- GateOne

- http://cb.vu/

- shellinabox

The first option seems to be the closest solution to what you need.

Problem

I've got a text file that contains terminal output which includes all kinds of character codes such as moving the cursor around, etc. How can I render this properly in a browser?

Original source