Subject: Re: Send special characters

Re: Send special characters

From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 1 Jan 2010 19:37:55 +0100

Samuel ROZE wrote:
> Actually, to fake a Ctrl-C command, I just have to send the ETX
> letter.
> (Number 3 in ASCII)

That will fail when using a different terminal emulation.

If you want to send a signal, you should use the protocol features
to _send signals_ instead of sending random binary bytes in a
channel, hoping that the software on the other side can guess what
you mean. There is a big difference, so you may end up having to do
it the right way later anyway.

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