Xshell Forum

send break key does not work well.

Last post: Thursday, April 26, 2018 3:30 AM by Support, 3 reply

 
Thursday, April 12, 2018 1:32 PM - jun

send break key does not work well.

 
Hi.

I use Xshell 5 (build 1339) and break in Terminal doesn't work.
I used Break key(CTRL+\) and right-click "Send Break", on the left corner I can read "A break signal has been sent", but nothing happens.

What is affecting?

thanks.

Program Ver. : Xshell 5
Friday, April 13, 2018 7:06 PM - Support

Re: send break key does not work well.

 
The Ctrl+\ key is different from the Break key signal. However, the results of both may look similar in certain applications such as cat. In certain applications, the will act differently. And in other applications, they may even do nothing.

I've double-checked the value of the key and the function is correct using a packets capture program.

Could you let us know which application you are using and what are your expectations for how the signal should function.

Screenshots would be helpful as well

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog
Tuesday, April 24, 2018 6:40 AM - jun

Re: send break key does not work well.

 
Hi.

thank you for reply.

For example, if we are running the "tail -f" command on Linux, and press the break key, we will return to the prompt.
This is expected behavior.

However, in the above case, it does not respond like an attached file.
Status bar displays "A Break signal has been sent".
Nothing changes even after break key is sent.
What is affecting this?

best regards,
Thursday, April 26, 2018 3:30 AM - Support

Re: send break key does not work well.

 
According to the connection protocol, their are discrepancies in the value of the Break command. The role of the Break signal depends on the server (service daemon).

For example, when the telnet protocol is used, the Break command stops the program, tail -f, but will not do so if the ssh protocol is used instead.

The interruption of some command is likely the 'intr' signal. This signal is defined as stty and usually ^C. As you may already know, the stty -a command can show all of the terminal settings.

In UNIX/Linux, if you'd like to stop some program, the ^C signal is recommended. Let me know if this helps.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog