Terminal Font? (General questions)
I am uning your simpleCOM example and am connecting to our server. The font does not diplay the special ANSI characters. I noticed that in another post there is a reference to wodTerminal font and wodSymbol.ttf.
Is there a font that I will be able to use for a simple terminal session? Do I have to read every char for special esc codes and then remap them or do I use a font file?
Any Help would be great.
Regards,
Eric
Re: Terminal Font?
Eric,
COM objects don't have GUI, so they cannot display special ANSI sequences. You can try setting StripANSI Property to true. This should filter out the escape sequences.
If you wish them to be displayed, I would suggest trying to use GUI (.ocx) version of the component which is able to display them.
Hope I helped.
Regards,
Damba
Re: Terminal Font?
Here is a sample screen:
[code]
[H[2J[7m Welcome to the DEV1 [m
[7m eB2 Development Menu [m
Thu Dec 6 11:38:11 EST 2007
- - - - - - - - - - - - - - - - - - -
B. AGS RF [;4mB[marcoding Menu
D. [;4mD[mevelopment and Test QAD Database Menu
E. [;4mE[magle Training Menu
O. Fail[;4mo[mver QAD Database Menu
R. Development [;4mR[mesults Menu
T. [;4mT[mraining QAD Database Menu
- - - - - - - - - - - - - - - - - - -
P. [;4mP[massword Change (UNIX)
X. Log Off System
- - - - - - - - - - - - - - - - - - -
[/code]
Re: Terminal Font?
Eric,
I've responded in the meantime (while you were typing). Can you please check out my response, and try what I suggested?
Regards,
Damba
Re: Terminal Font?
I will try the OCX version
Re: Terminal Font?
I can not get the sample to work. I am using Visual Basic 2005 Express and have tried the simpleOCX example in the VB.NET folder.
The example starts but a cursor constantly flashes beside the
Please enter hostname: I try typing and nothing happens. I put a breakpoint on the keypress function but it never gets fired.
Do I have to register the ActiveX control special? I just ran the installer and did nothing in Visual Basic. I also do not see the control in the Toolbox.
Any suggestions?
Re: Terminal Font?
Eric,
Did you try clicking on the window?
When the sample is ran, it loses Focus, so the cursor blinks, but doesn't write anything since it's 'not' really in the window. That's probably why the Event isn't triggered.
Can you check that?
Regards,
Damba
Re: Terminal Font?
That worked and I am able to get the sample started. The fonts correctly appear on the screen.