WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Serial
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

VT100 Terminal Emulation, ANSI chars and Serial Extender

Keywords: 

Question:

First of all I would like to say that I love this serial extender! I think it is the next best thing since sliced bread! It seems so powerful and the Capturefile feature that converts your data to a HTML format is just very nice!

Well down to my question, I am trying to attach to a serial device that only understand VT-100 emulation. I get the following from this device :

	[12;27HWELCOME TO THE PROGRAMMERSCYBER SPACE
I can extract the text portion with no problems, but there is other information that if I view it with procomm I can see more stuff. For example with the following line :
	Renewal Fee $[]
in procomm I see the works
	Renewal Fee $[ 45.00]
I would like to be able to extract that with WinBatch, however all I see is the 2;37H where there should be the number 45.00?

I thought that maybe there is a way to set the TERM up for Winbatch to "speak" to different devices.. Any ideas?

The 2;13H codes are ANSI codes. Is there a way to convert this ansi to plain text, or get the serial extender to recognize ANSI codes ? Thanks.

Answer:

OK, you are dealing with ANSI character sequences. Basically it is an ESC code followed by a few characters.

If you have some data in a LINE variable, you can whack it with a few STRREPLACE functions to convert it back to normal text.

You have to track down the ANSI sequences that you have to translate. It should not be real real bad.


Article ID:   W12582
Filename:   VT100 Emulation - ANSI chars and Serial Extender.txt
File Created: 1999:04:15:16:48:12
Last Updated: 1999:04:15:16:48:12