Sunday, April 20, 2008

TermEmulator 1.0 Released!!!

TermEmulator is a pure python module for emulating V100 terminal programs. It supports most of the important V100 escape sequences(e.g. cursor movement). Initially I started writing the emulator for a serial port communication program and later thought of releasing it as a separate module. You can get the module here.

The module comes with a demo application which is written in wxWidgets. The demo emulates any terminal program inside a text box. The following are the screenshots of emulating bash, emacs and vi using TermEmulator and the demo. successfully emulated(ran in a text box) bash, emacs, vi and some other terminal programs.

Some of the features of TermEmulator:
* Provides callback for updating terminal screen
* Supports graphics rendition(text style, foreground and background color)
* Allows resizing terminal window dynamically
* Direct access to raw screen buffer


Anonymous said...

three questions:

1. Will it run on Windows xp?

2. Can I use it as a replacement for PuTTY? I didn't see any mention of a secure connection in your post.

3. Will this give me access to all of the text shown in the window?


Dunk said...

Ive used TermEmulator to create a term for the python window manger I wrote at Great work! Now we have a pure python term! No deps on gtk/wx etc :)

Joseph said...

This is an awesome little project! I have one quick question. I believe there is a way to tell libraries like ncurses what the capabilities of your terminal are. Through my research I have found out that the termcap or terminfo systems are the way this is done, do you have have files or configuration advice for this?

I am asking because things like vim, emacs, man, less do not work when I try your terminal on Ubuntu 10.04 and I think I could get them working if your terminal was able to say what features it did and did not support.