[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Handle control characters in ssh shell server
[Thread Prev] | [Thread Next]
- Subject: Handle control characters in ssh shell server
- From: Prapatsorn Wisuttirungseurai <prapatsorn416@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 6 Jul 2017 16:12:39 +0700
- To: libssh@xxxxxxxxxx
I have implemented ssh server using libssh as a shell server. I used ssh_channel_read() and ssh_channel_write() to handle the character between the server and client. I dealt with the problem about the control character from client's key such as 'Backspace', 'Esc' and so on. It seems like nothing happens on the client's console when using ssh_channel_write() to send that character straightforwardly. And I found the solution from this issue: https://www.libssh.org/archive/libssh/2014-08/0000005.html I just wonder that do I need to handle every control character to affect as its real action? or it has the better solution? Thanks. Prapatsorn
Re: Handle control characters in ssh shell server | Aris Adamantiadis <aris@xxxxxxxxxxxx> |