Ticket #37066

bin log failure

Open Date: 2017-03-11 20:32 Last Update: 2017-06-13 13:23

Reporter:
(Anonymous)
Owner:
Type:
Status:
Closed
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Won't Fix
File:
2
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

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:

else {
switch (ParseMode) {

into this:

else {
if (BinLog)
PutChar(b);
else switch (ParseMode) {

Ticket History (3/8 Histories)

2017-03-11 20:32 Updated by: None
  • New Ticket "bin log failure" created
2017-03-11 20:38 Updated by: elkarro
Comment

Reply To (Anonymous) The anonymous is me, I wasn't logged in.

2017-03-21 22:55 Updated by: (del#1144)
Comment

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

2017-04-09 17:18 Updated by: elkarro
Comment

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

2017-04-11 11:04 Updated by: (del#1144)
Comment

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.

2017-06-13 13:23 Updated by: doda
  • Resolution Update from None to Won't Fix
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2017-06-13 13:23

Attachment File List

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login