I use a ssh library with java to connect to a server. I want to detach a GNU Screen with CTRL-SHIFT-A-D, why I ne开发者_运维知识库ed to send this sequence to the server.
Can someone tell me how I can write this in a Java String? I looked through the unicode and ascii tables but I couldn't find a hint.
Sincerely, Heinrich
Check the ASCII table.
CTRL-A is 2
CTRL-D is 4
Is there a reason you need a SHIFT? In my terminal ssh is terminated with ctrl-a ctrl-d.
精彩评论