TerminalEmulation mode problems - WeOnlyDo Discussion board

TerminalEmulation mode problems (wodSSHServer)

by HansH, Wednesday, July 04, 2007, 17:26 (6112 days ago)

Got some TerminalEmulation mode problems:
- its default on, that means its not backward compatible.
rather had that it was default off.

- when using the example code, it works with putty nicely.
however if I use my console server, after I enter user and password in putty, I only receive an esc [4;30H and no further output is coming whatever I type in.

if I do a SetTerminalEmulation(0) at first, everything works again.
Server is using the notify mechanisme, nothing changed to notify routines when moving from 1.35 to 2.x version.

Any suggestions/ideas ?
Underneath some session debug data of Putty

Hans

Event Log: Started a shell/command
Incoming packet type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)
00000000 00 00 01 00 00 00 00 00 ........
Incoming packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 01 00 00 00 00 07 1b 5b 34 3b 33 30 48 .........[4;30H
Outgoing packet type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)
00000000 00 00 00 00 00 00 00 07 ........
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 0d .........
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 0d .........
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 0d .........
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 64 ........d
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 69 ........i
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 72 ........r
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 0d .........
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 68 ........h
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 6f ........o
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 73 ........s
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 74 ........t
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 6e ........n
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 61 ........a
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 6d ........m
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 65 ........e
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 0d .........
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 11 .........
Outgoing packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 00 00 00 00 00 01 0d .........

Re: TerminalEmulation mode problems

by woddrazen, Wednesday, July 04, 2007, 17:37 (6112 days ago) @ HansH

Hans,


We have much improve wodSSHServer with TerminalEmulation Property when it's set to default value 1 (vt100). Any chance you can send us some samples so we can duplicate your problem on our side?

If you wish for some reason that wodSSHServer works as before you should just set TerminalEmulation Property to 0 and all will be same as before.

Hope I helped.


Drazen

Re: TerminalEmulation mode problems

by HansH, Wednesday, July 04, 2007, 18:07 (6112 days ago) @ woddrazen

Yeah, I adapted the source to check the dll version and
for version 2 it will allow you to enable or disable the Terminal emulation.

I will send you the program and its vc6 project, and a small set of instructions.

Hans

Re: TerminalEmulation mode problems

by woddrazen, Wednesday, July 04, 2007, 18:10 (6112 days ago) @ HansH

Hans,


You can zip and send it to techsupport@weonlydo.com


Drazen

Re: TerminalEmulation mode problems

by HansH, Wednesday, July 04, 2007, 18:23 (6112 days ago) @ woddrazen

done