Here's a short tutorial to the ncurses API:
<
http://invisible-island.net/ncurses/ncurses-intro.html>
Based on my limited knowledge of the API, the HTML textarea element is
not a suitable fit since you need to be able to control things like
the foreground and background color of individual cells in the screen
matrix. It would totally be possible, however, to use an HTML table
or some such element to represent the screen, and render individual
cells in each cell of the table. Basically the work boils down to
somebody implementing the ncurses APIs in Emscripten.
I would be happy to help whoever wants to step up for doing this.
Cheers,
--
Ehsan
<
http://ehsanakhgari.org/>