Page 1 of 1

VT100 emulator

Posted: Thu Mar 31, 2011 12:40 am
by v8dave
Hi all,

I am trying to locate a VT100/ANSI emulator to test some code I am developing on a Netburner to display on an LCD. I need something that can output via RS232 and over TCP/IP so that I can test the response of my code.

Although I say emulator, this is the sending part I am looking for. I have found loads of VT100 terminals but nothing that can generate ANSI codes for me to test the input to my software which is doing the emulation and onto the LCD.

Anyone come across this type of thing before?

Thanks
Dave...

Re: VT100 emulator

Posted: Thu Mar 31, 2011 12:48 am
by yevgenit
I'd recommend PuTTY: "a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator".
http://www.chiark.greenend.org.uk/~sgtatham/putty/
It can be configured for VT100 or ANSI as well.
v8dave wrote:Hi all,

I am trying to locate a VT100/ANSI emulator to test some code I am developing on a Netburner to display on an LCD. I need something that can output via RS232 and over TCP/IP so that I can test the response of my code.

Although I say emulator, this is the sending part I am looking for. I have found loads of VT100 terminals but nothing that can generate ANSI codes for me to test the input to my software which is doing the emulation and onto the LCD.

Re: VT100 emulator

Posted: Thu Mar 31, 2011 1:02 am
by v8dave
Thanks. This might have to do if I can't find anything else.

Ideally what I am looking for is an app that can output continuous data so that I can test the screen update.

Something that generates the cursor position, colour etc

Dave...

Re: VT100 emulator

Posted: Thu Mar 31, 2011 1:12 am
by yevgenit
Possibly, sending the prepared file from any terminal emulator is a satisfactory solution for continuous data stream.
v8dave wrote: Ideally what I am looking for is an app that can output continuous data so that I can test the screen update. Something that generates the cursor position, colour etc.

Re: VT100 emulator

Posted: Thu Mar 31, 2011 4:32 am
by Ridgeglider
V8: I occasionally use a $25 terminal emulator called indigo that provides what you need: http://www.shadeblue.com/
It supports a"standard terminal mode" and a "direct terminal mode" which has VT100 and Linux support for screen colors, cursor position, and direct kbd input from the window. You can display data in ascii, hex, binary, and many mixed modes. The main reason I like it is that you can customize the display of colors for special strings. That way if printf is dumping lots of strings, and I am looking for a particular string, its easy to see. The following example shows configuration for coloring a specific NMEA sentence from a GPS, along with a different color scheme if a parse of that string failed. It supports many connection protocols: telnet,rs232, ssh, rlogin & others. The only thing I don't like is that it is keylocked to a particular PC. This is a real pain, but they are OK with allowing it to be moved.

Re: VT100 emulator

Posted: Thu Mar 31, 2011 4:57 am
by v8dave
Thanks RG, unfortunatily I am looking for the other direction. I need something that can output VT100/ANSI type output so that I can test the decoder I have written on the Netburner. Putty does basic output.

I may end up writing something in VB as a quick test.

Cheers
Dave...

Re: VT100 emulator

Posted: Thu Mar 31, 2011 6:33 am
by BillC
Hi, you could try using this open source Async emulator, I used it several years ago,you can add your own emulations and it works over serail and tcp ports.

http://sourceforge.net/projects/tpapro/

Good luck, Bill

Re: VT100 emulator

Posted: Thu Mar 31, 2011 9:38 am
by barttech
Dave,
Have you looked at uCon?
http://www.umonfw.com/ucon/index.html
It has a VT emulation mode, but I think you want to be able to send VT100 embedded commands? You can easily set up scripts with uCon, to send any string, wait for a response if you want, loop, etc. It maybe easier for you to do a VB solution, but I've found uCon to be really handy for testing RS-232 based devices.
Sam