ICE
TCP/IP Products => TCP-PRO => Topic started by: jwf on September 20, 2005, 11:36:35 am
-
I have read the dialog with jmabbott.
I call SetTerminalType() in the OnConnectionComplete() and it does not affect the terminal that UNIX thinks it is talking to.
Your emulator must be setting it (or something that will have it set properly upon connect) prior to the connect call. I would guess the setProfile()/getProfile() pair.
How do I get this to work properly?
Setting the default profile has no effect either.
John
-
Check the code at the end of this link.
http://yabb.jriver.com/ice/index.php?board=2;action=display;threadid=42;start=15
-
Do you have VB sample code for get/setprofile?
-
Sorry, no...
-
Then where is the default profile for the OCX? Is there a way
to change it manually?
liang
-
It's in the data section of the ocx. No way to change it manually that I know of.
-
What I am trying to do is using terminal type Wyse 60(24line)
to connect remote host with Dejavu.ocx in my VB app. Can you help? Thanks.
-
What I am trying to do is using terminal type Wyse 60(24line)
to connect remote host with Dejavu.ocx in my VB app. Can you help? Thanks.
I can't help with VB programming, I assume you will have to convert the C sample of the profile variant to VB somehow.
You could try setting the terminal type on the connection complete event as John did above. I think that will change the terminal type in the emulator however the unix side with have the wrong terminal type set in the environment. You could override that by explicitly setting the terminal type in the .profile. A bit of a hack.
-
I did that but it doesn't affect the host. Once I login in to the
host, it tells me that I connect as Termial ANSI. How do I set
the terminal type in the .profile?
-
TERM=wyse60
export TERM