Skip to content

Bug/ttxttyplay reload misaligned#1322

Closed
tomo3136a wants to merge 6 commits into
TeraTermProject:mainfrom
tomo3136a:bug/ttxttyplay-reload-misaligned
Closed

Bug/ttxttyplay reload misaligned#1322
tomo3136a wants to merge 6 commits into
TeraTermProject:mainfrom
tomo3136a:bug/ttxttyplay-reload-misaligned

Conversation

@tomo3136a

Copy link
Copy Markdown
Contributor

TTXttyplay プラグインの不具合を修正しました。
取り込み願います。

  1. 再生 再実行時、ステータスをタイトルに表示しない問題を修正
  2. ttyファイルでないファイルをTTY再生した後、ttyファイルをTTY再生すると文字化けして表示される。

どちらも、TTXttyplay プラグインのTTXReadFile()内でstatic宣言している変数を再生 再実行時は
初期化していなかったことが原因です。
v5.6.1(x86)とv5.0で不具合発生を確認。

対策として、pvarにactiveフラグを追加します。TTXReadFile()内では、active=FALSEの場合、
active=TRUEのするとともに関数内のstatic変数を初期化します。
TTXCloseFile()でactive=FALSEにフラグクリアして次のTTXReadFile()内に初期化に備えるようにしました。

@@ -3,13 +3,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<title>�ύX����</title>
<title>変更履歴</title>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文字コードが shift-jis から utf-8 に変換されているようです。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1326 (comment) で指摘済みです。

@tomo3136a

Copy link
Copy Markdown
Contributor Author

ご指摘有難うございます。

issue #1323 で連絡させていただいていますが、こちらにも書くべきでした。
PR内容に変更はありませんが、履歴のマージを失敗巣たので、きれいにしてPRしなおします。

すみません。
今までGithubをストレージ代わりにしか使っておらず、gitとgithubの使い方を勉強中です。
できるようになりましたら進めさせていただければと思います。

@tomo3136a

Copy link
Copy Markdown
Contributor Author

ドキュメント修正しましたので、
PR #1340 を確認願います。

@tomo3136a tomo3136a closed this Jun 6, 2026
@tomo3136a tomo3136a deleted the bug/ttxttyplay-reload-misaligned branch June 6, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants