Gerhard Marx | 3 Aug 2012 14:19
Picon

Extra characters "^ <at> " (5E 40) in VT emulation

Hi,
we use libssh2 in our Windows VT emulation. The implemention is in the way as in the example ssh2.c.
The terminal type is set to vt220.

Rather frequently we see 2 extra character "^ <at> " (5E 40) on the screen. In the libssh2 trace I see
these 2 characters coming from the UNIX host, in most cases coming as a separate transport paket containing
just these 2 characters (libssh2_transport_read() plain (11 bytes)).

What are we missing or doing wrong?

Thanks
Gerhard Marx

Software AG Natural development
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Peter Stuge | 3 Aug 2012 14:28
Picon

Re: Extra characters "^ <at> " (5E 40) in VT emulation

Gerhard Marx wrote:
> Rather frequently we see 2 extra character "^ <at> " (5E 40) on the screen. In
> the libssh2 trace I see these 2 characters coming from the UNIX host, in
> most cases coming as a separate transport paket containing just these 2
> characters (libssh2_transport_read() plain (11 bytes)).

The SSH channel is a completely clean 8-bit transport. Neither SSH
client nor server touches the data. So yes, those bytes come from
the software on the server.

> What are we missing or doing wrong?

Check the server side termcap and of course that TERM is set right.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


Gmane