My program spawns "ssh" as a child process, conntects to a server and is then able to write to the stream and read its output.
This all works fine. When I write "ls" to the process stream I get a list of the files.
But now, I want send key shortcuts to this process, so that I can abort the running process in the ssh session.
I know this can also be done through the stream, but where can I read about WHAT I must send to the process to make it understand my key shortcuts?
Thanks for any help!