The logging problem about couldn't identify "Home" key

The logging problem about couldn't identify "Home" key

Sunday, November 23, 2014 5:44 PM - Pchom

The problem about Xshell couldn't log the "Home" word, such as "ESC[42D",
If I change the log options to "log terminal codes as well as printable text", the text of logging has been written (view in HEX):
39 20 30 0d 0a 20 20 2d 2d 2d 2d 20 4d 6f 72 65 20 2d 2d 2d | 9 0 . . - - - - M o r e
2d 1b 5b 34 32 44 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | - - - - . [ 4 2 D
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |
20 20 20 20 20 20 20 20 1b 5b 34 32 44 20 72 75 6c 65 20 33 | . [ 4 2 D r u l e 3

If I turn the log options to "log text only", the text of logging :
2e 31 38 34 2e 39 39 20 30 0d 0a 20 20 2d 2d 2d 2d 20 4d 6f | . 1 8 4 . 9 9 0 . . - - -
72 65 20 2d 2d 2d 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 | - M o r e - - - -
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |
20 20 20 20 20 20 20 20 20 20 72 75 6c 65 20 33 20 70 65 72 | r u l e 3 p e r


The problem is the logging of xshell couldn't identify the ASCII "1b 5b 34 32 44" as the "Home" key. And the attachments will more clear about it.

There are the same problem that logging of xshell couldn't identify the ASCII "0d" as the "Home" Key, The terminal of Xshell will display normal, but the logging can't change the text to line home, and write the "Enter" key to text, couldn't cover the old words in this line, so it has different between the display of terminal and the logging.

version: Xshell 4 & Xshell 5

Please solve this problem, or tell me about the solution if my setting has wrong.
Thinks~~~!!




Program Ver. : Xshell 5


Previous views: 956