Subject: Extra characters "^@" (5E 40) in VT emulation

Extra characters "^@" (5E 40) in VT emulation

From: Gerhard Marx <>
Date: Fri, 3 Aug 2012 14:19:29 +0200 (CEST)
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 "^@" (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?

Gerhard Marx

Software AG Natural development

Received on 2012-08-03