チケット #37066

bin log failure

登録: 2017-03-11 20:32 最終更新: 2017-06-13 13:23

報告者:
(匿名)
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
直さない
ファイル:
2
投票
点数: 0
No votes
0.0% (0/0)
0.0% (0/0)

詳細

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) {

チケットの履歴 (8 件中 3 件表示)

2017-03-11 20:32 更新者: None
  • 新しいチケット "bin log failure" が作成されました
2017-03-11 20:38 更新者: elkarro
コメント

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

2017-03-21 22:55 更新者: (del#1144)
コメント

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 更新者: elkarro
コメント

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 更新者: (del#1144)
コメント

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 更新者: doda
  • 解決法なし から 直さない に更新されました
  • 状況オープン から 完了 に更新されました
  • チケット完了時刻2017-06-13 13:23 に更新されました

添付ファイルリスト

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする