Reply To (Anonymous) The anonymous is me, I wasn't logged in.
You wrote:
I use TeraTerm to upload binary data from embedded hardware,
Is this issue occurs when you download(hardware to Tera Term)? or when you upload(Tera Term to hardware)?
Can you attach the binary file what you upload or download, and the log file?
Tera Term has debug mode. Does debug mode useful for your purpose?
http://ttssh2.osdn.jp/manual/en/setup/teraterm-term.html#displayall
Hi Maya, unfortunately debug mode doesn't fit, however I'm not asking to change TeraTerm for my purposes, I can insert the "if" and rebuild it in no time. Thanks
We compared original data and log file.
Original data includes control sequence to reset terminal.
0x1b 0x63 = ESC c = RIS = Reset terminal to initial state
This control sequence clears buffer, and following some data is not saved to log file.
Only RIS control sequence is parsed in Binary log.
Debug mode doesn't parse all control sequences.
Hi, I called this a bug, but maybe what I expect isn't what TeraTerm is supposed to do. I use TeraTerm to upload binary data from embedded hardware, it happened that logged data were wrong, so I browsed TeraTerm sources and I founded that, even if logging in binary mode, escape/control sequencies were active. Then I made a change on the fly and now it's logging correctly.
File vtterm.c, row 5568, function VTParse(), I changed this:
into this: