Why does the terminal print out "Xshell"?

Most terminals prints out its terminal name when the ^E character is echoed.

When users execute the cat command of binary files or there is an abrupt interruption of the running program, an unintended ^E character can be outputted.

When this happens, Xshell prints its terminal name, "Xshell" in the terminal.


If you would like to avoid this behavior, you can prevent Xhsell from echoing back its terminal name.
Go to your session properties and leave the "Answerback to ^E" field empty under Terminal -> Advanced.