Browse Subversion Repository
Log of /branches/ttcomtester/teraterm/teraterm/vtterm.c
Revision 10521 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jan 20 16:03:38 2023 UTC (13 months, 2 weeks ago) by zmatsuo File length: 149632 byte(s) Diff to previous 10485 add communication test tool Revision 10485 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jan 14 15:33:12 2023 UTC (13 months, 3 weeks ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 149632 byte(s) Diff to previous 10344 改行コードチェック用メモリを開放していなかったので修正 Revision 10344 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 2 13:43:04 2022 UTC (16 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 149389 byte(s) Diff to previous 10321 __ismbblead(), __ismbbtrail() を ttlib_static_cpp.cpp へ移動 - vtterm.c から ttlib_static_cpp.cpp へ Revision 10321 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 16 14:28:29 2022 UTC (16 months, 3 weeks ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 150747 byte(s) Diff to previous 10230 使用していないデバグ用のdefineを削除 - UNICODE_INTERNAL_BUFF を削除 Revision 10230 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Sep 2 15:11:51 2022 UTC (18 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 151549 byte(s) Diff to previous 10192 下線属性の色の設定などができるようにした - 次の関数 - DispSetColor() - DispResetColor() - DispGetColor() Revision 10192 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 26 14:29:24 2022 UTC (18 months, 1 week ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 151617 byte(s) Diff to previous 10190 文字色設定の整理
- 反転表示、常に標準の背景色を使う、8/16/256色表示 を整理
- 反転表示 = 文字のBGとFGの色が入れ替わる処理
- vtdisp.c の DispSetupDC() のみで表示文字の色設定を行うようにした
- 従来、カラーテーブルの入れ替え、上書きなどを行っていた
- BGExchangeColor() を削除
- テーブルの入れ替えなどを行っている部分を削除
- 文字背景色が標準属性背景色で上書きしなくても表示できるようにした
- ウィンドウの設定ダイアログの「常に標準の背景色を使う」のチェック
- TERATERM.INI の [Tera Term] セクション UseNormalBGColor=on/off
- 次の手順で上書きされる
- 標準色を使うのチェックが外れている状態から
- チェックを入れて
- TERATERM.INIを保存すると、背景色が標準背景色となる
- 各種文字色設定をテストするテストを追加 color-sgr-decscnm.pl
- いろいろなパターンの色設定を表示
- 反転表示
- マニュアルにスクリプトについて追記
Revision 10190 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 26 14:28:55 2022 UTC (18 months, 1 week ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152326 byte(s) Diff to previous 10157 ifdef ALPHABLEND_TYPE2 を削除 - AKASI氏によるEterm風透過ウィンドウパッチ - マージされてから十分動作実績がある - r1405, r1406 (2005/02/03) にマージ - undef することなく使用していた - ifdef を削除してマージされた状態となった Revision 10157 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 14 16:30:14 2022 UTC (18 months, 3 weeks ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152359 byte(s) Diff to previous 10128 下線属性(Underline属性)の文字表示をできるようにした - シーケンス SGR 4(下線属性) - ESC [ 4 m - URL文字属性とは異なる属性 - URL文字属性は、Tera Term が文字列をチェックして属性を追加/削除する Revision 10128 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 9 01:08:12 2022 UTC (18 months, 4 weeks ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152334 byte(s) Diff to previous 9598 /sdl オプションが使用できるよう修正 - /sdl指定時にコンパイルエラーが出る箇所を修正 - error C4703: 初期化されていない可能性のあるローカル ポインター変数 'CopyDC' が使用されています Revision 9598 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Dec 11 16:31:48 2021 UTC (2 years, 2 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152281 byte(s) Diff to previous 9539 iso8859 8ビット文字コードを使用できるようにした - ttpdlg/ttdlg.c 内の文字コード関連部分を common/ttlib_charset.cpp に移動 - 1byte文字コードテスト用ツールを追加 - tests/various_code_texts/dump_code.pl - ttpcmnから../teraterm/unicode.c をリンクするようにした - Visual Studio 2005 - Visual Studio 2019 - CMakeLists.txt Revision 9539 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 20 15:13:41 2021 UTC (2 years, 3 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 151873 byte(s) Diff to previous 9538 refactoring vtterm.c - コメント追加 - 文字長を size_t に変更(簡単に変更できるか所) - ファイル内でのみ使用している関数に static を追加 Revision 9538 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 20 15:13:32 2021 UTC (2 years, 3 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 151312 byte(s) Diff to previous 9528 OSC 52 によるクリップボード操作制御の文字コードをANSIからUTF-8に変更した - 今のところ UTF-8 固定 - ticket #39745 Revision 9528 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 11 15:30:24 2021 UTC (2 years, 3 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 151798 byte(s) Diff to previous 9525 受信文字コードUTF-8m を削除 Revision 9525 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 11 15:29:56 2021 UTC (2 years, 3 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152118 byte(s) Diff to previous 9499 受信文字コード UTF-8m 時、合成済み文字の生成処理を行わない
- UTF-8m時の受信処理
- 受信した文字が合成済み文字の基底文字の場合、次の文字を受信するまで処理を保留する
- 次の受信文字が基底文字と合成可能な結合文字の場合
- 合成済み文字を生成した後、内部バッファへの書き込み、表示を行う
- 次の受信文字が結合文字ではない場合
- 2文字を各々内部バッファへの書き込み、表示を行う
- UTF-8時の受信処理
- 合成済み文字に変換せずに内部バッファにそのまま入力
- 内部バッファは合成済みでなくても入力を受け付ける
- 表示が遅れることもない
- UTF-8mの処理をなくしてUTF-8時と同じにする
ticket #15826
Revision 9499 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 23 16:09:57 2021 UTC (2 years, 4 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153433 byte(s) Diff to previous 9497 Languate=Chinese時クラッシュすることがあったので修正 - Languate=Chinese時のiniファイルへの書き込み/読み込みができていなかったので修正 - 文字コードに関する部分を分離 - ttlib_charset.cpp,h, tttypes_charset.h を追加 Revision 9497 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 23 16:09:33 2021 UTC (2 years, 4 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153183 byte(s) Diff to previous 9496 RussFontを削除、RussHost を KanjiCode に置き換え - tttset.RussFont - tttset.RussHost - tttset.KanjiCodeに置き換え Revision 9496 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 23 16:09:19 2021 UTC (2 years, 4 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153182 byte(s) Diff to previous 9354 使用していない RussClient 削除 - tttset.RussClient Revision 9354 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 12 03:06:23 2021 UTC (2 years, 6 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153286 byte(s) Diff to previous 9315 ttxssh の認証ダイアログの一部を Unicode 化 - パスフレーズのペースト - [▼] を押したときのメニューのlngファイルのパス Revision 9315 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 20 01:08:06 2021 UTC (2 years, 8 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153150 byte(s) Diff to previous 9313 TTTSet 構造体から CodePage メンバを削除 - Language, KanjiCode から文字コードを判定 Revision 9313 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 20 01:07:40 2021 UTC (2 years, 8 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153630 byte(s) Diff to previous 9311 locale設定を削除
- Cランタイムの文字コードの設定
- 従来Cランタイムの文字コード変換関数を使用していたため必要だった
- wctomb()
- 現在Cランタイムの文字コード変換は使用していないため不要
- OSのAPI WideCharToMultiByte(), MultiByteToWideChar() を使用
- setlocale()を削除
- 不要な locale.h の include を削除
- 設定ダイアログの locale 設定を削除
- IDC_LOCALE_LABEL 削除
- lng 内の DLG_TERM_LOCALE 削除
- ドキュメント locale 設定個所を削除
- iniファイルのlocale読み書きを削除
- r9145
Revision 9311 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 18 16:05:10 2021 UTC (2 years, 8 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153898 byte(s) Diff to previous 9175 ANSI送信関数を削除 - 出力をすべて Unicode に置き換えて、使用されなくなったので削除 - CommTextOut() - CommTextEcho() - 未使用となる変数を削除 Revision 9175 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Feb 20 09:14:53 2021 UTC (3 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153956 byte(s) Diff to previous 9148 ファイル名ペースト時に brackted paste mode シーケンスを2回送信していた - TermPasteStringNoBracket()@vtterm.c を追加 - TermPasteString() の bracketシーケンス送信なし版 - r9148 からの不具合 ファイル名ペースト時に brackted paste mode シーケンスを2回送信していた Revision 9148 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 10 15:09:53 2021 UTC (3 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153847 byte(s) Diff to previous 9146 TermPasteString()内で CommTextOutW(), CommTextEchoW() を使用するよう修正 - Unicode対応バッファ出力関数 - CommTextOutW(), CommTextEchoW() - 従来は CommTextOut(), CommTextEcho() を使用 Revision 9146 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Feb 6 05:44:30 2021 UTC (3 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153845 byte(s) Diff to previous 9124 ファイル送信を整理 - ファイル送信のUIを Tera Term 4 と 5 で追加した方法の2つから選択できるよう修正 - 変更前はコードを変更する必要があった - filesys.cpp からファイル選択ダイアログに関するコードを削除 - sendfiledlg にまとめた Revision 9124 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jan 16 05:19:55 2021 UTC (3 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153867 byte(s) Diff to previous 9118 起動時にデバグ用コンソールをオープンできるようにした - デバグ用 ttdebug.h,cpp を追加 - 例外発生時の処理を ttdebug.cpp に移動 Revision 9118 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 28 15:38:09 2020 UTC (3 years, 2 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153851 byte(s) Diff to previous 9115 mbstring.h を削除 - 使用していないヘッダファイル Revision 9115 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 28 14:29:48 2020 UTC (3 years, 2 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 153874 byte(s) Diff to previous 9104 エスケープシーケンスからの印字を修正 - 内部は Unicode に対応した - CP_ACP に変換して出力 Revision 9104 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Dec 20 12:16:27 2020 UTC (3 years, 2 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152940 byte(s) Diff to previous 9085 ttftypes.h への依存を減らした - 不要な ttftypes.h の include を削除 - logダイアログのタイトルを filesys_log.cpp へ移動 - FILEDLG_TRANS_TITLE_LOGのデフォルト値 - ファイル送信ダイアログのタイトルを sendfiledlg.cpp へ移動 - FILEDLG_TRANS_TITLE_SENDFILEのデフォルト値 Revision 9085 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Dec 20 12:12:31 2020 UTC (3 years, 2 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152963 byte(s) Diff to previous 9084 BPlus の BPStart(), QuickVAN の QVStart() API を使用しないようにした - BPSendStart(), BPStartReceive() に統一 - bplusダイアログ修正 Revision 9084 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Dec 20 12:12:21 2020 UTC (3 years, 2 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152953 byte(s) Diff to previous 9048 zmodem の ZMODEMStart() API を使用しないようにした - ZMODEMStartReceive(), ZMODEMStartSend() に統一 Revision 9048 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 16 12:24:13 2020 UTC (3 years, 2 months ago) by nmaya Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152934 byte(s) Diff to previous 8910 ソースファイルの著作権表記の "最後の発行の年" を削除 ticket #40996 Revision 8910 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 18 15:32:07 2020 UTC (3 years, 6 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152938 byte(s) Diff to previous 8906 タイムスタンプがうまく出なかったので修正 Revision 8906 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 18 15:31:34 2020 UTC (3 years, 6 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152918 byte(s) Diff to previous 8904 ログに関する変数を移動、バッファをヒープから取るよう修正 - ログに関する変数を filesys_log.cpp に移動した - バッファをヒープから取るようにした - GlobalAlloc() で取得するのをやめた - GlobalLock(), GlobalUnlock() を行う必要がなくなった Revision 8904 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 18 15:31:14 2020 UTC (3 years, 6 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152634 byte(s) Diff to previous 8897 ログファイルへの文字コードの変換を filesys_log で行うようにした - filesys_log へ追加 (vtterm.c から移動) - FLogPutUTF32() - FLogSetCode() - FLogOutputBOM() Revision 8897 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 18 15:27:54 2020 UTC (3 years, 6 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 155352 byte(s) Diff to previous 8863 ログに関するコードを filesys_log.c に移動した - ログ用構造体(TFileVar_#filesys_log.c)から不要メンバ削除 - OnCommOpen()#vtwin.cpp で log,dde(macro)用バッファを作成していたが、作成済みのため削除 Revision 8863 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 25 16:00:58 2020 UTC (3 years, 7 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 155147 byte(s) Diff to previous 8861 logダイアログをUnicode対応、動作を調整 - ダイアログはUnicode化した - ログのファイル名はANSI - BOM、コードが設定できるようになった - 起動直後の自動ログ UTF-8,BOM なし Revision 8861 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 25 16:00:36 2020 UTC (3 years, 7 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 154447 byte(s) Diff to previous 8860 ログ/マクロ送信を別の文字コードで行えるようにした - マクロ送信は常に UTF-8 Revision 8860 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 25 16:00:24 2020 UTC (3 years, 7 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152926 byte(s) Diff to previous 8822 マクロ(ttmacro)用送信バッファの分離 - 受信した文字をマクロで判定等を行うために、マクロ(ttmacro)へ受信データを送信する - 従来は、1つのバッファをマクロとlogで共用していた - 各々で異なる文字コードを扱えるよう分離した - マクロ用は ttdde.c,h にまとめた Revision 8822 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 2 15:41:37 2020 UTC (3 years, 8 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 152774 byte(s) Diff to previous 8766 ログが取れなくなっていたので修正 - 文字コードは UTF-8 固定 - 改行コードは CR+LF 固定 Revision 8766 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed May 6 14:52:04 2020 UTC (3 years, 10 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 151826 byte(s) Diff to previous 8750 CJK,2byte文字の入力をできるようにした - 2byte系 - KS5601, CP51949, ハングル - CP936, GB2312 - CP950, Big5 - KanjiCode2List(), List2KanjiCode() を ttlib.c から ttdlg.c へ移動 - IdChinese (tttype.h) 追加 - コードページやロケールの設定なしにメニューから設定できるようにする - struct tttset に UnicodeAmbiguousAsWide 追加 - UnicodeAmbiguousWide=ON/OFF を teraterm.ini に追加 Revision 8750 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 26 14:35:40 2020 UTC (3 years, 10 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 149255 byte(s) Diff to previous 8745 デバグダイアログで描画APIのUnicode/ANSI切り替えができるようにした Revision 8745 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 26 14:34:49 2020 UTC (3 years, 10 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 149233 byte(s) Diff to previous 8743 ANSI文字の処理を修正
- buff_char_t にメンバー変数 ansi_char を追加
- 2byte(2セル)文字の場合は、1セル目に文字が保存されて、2セル目は空き
- ANSI文字の結合処理
- vtterm.cのUnicode結合文字関連の関数をunicode.cに移動
- GetPrecomposedChar() -> UnicodeGetPrecomposedChar()
- GetIndexOfCombiningFirstCode() -> UnicodeGetIndexOfCombiningFirstCode()
- UnicodeCombining() 追加
- 文字情報ポップアップ
- 表示内容を整理
- "Press shift for sending to clipboard" 表示を追加
- shiftを押したとき(クリップボードにコピーしたとき)
- 音を出すようにした(MessageBeep(MB_OK))
- ポップアップを消すようにした
Revision 8743 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 26 14:34:30 2020 UTC (3 years, 10 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 150500 byte(s) Diff to previous 8598 AttrEx が不定になっていたので修正 - 文字属性を増やすために変数を追加 - 修正途中 Revision 8598 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Mar 15 15:24:18 2020 UTC (3 years, 11 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 150459 byte(s) Diff to previous 8534 結合文字等を遅れて受信した際正しく表示されるよう修正 - "ほ" U+307B の後に U+309A が送られてきたときなど - 例 - U+307B U+309A = "ぽ" (U+307D) - U+0061 U+0302 = "â" (U+00E2) - U+0041 U+0302 U+0300 - Ticket #15826 Revision 8534 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Feb 9 05:55:29 2020 UTC (4 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 149990 byte(s) Diff to previous 8445 タイトルバー専用文字コード変換関数を移動 - ttwinman.c から vtterm.c へ - ConvertToCP932() - static 関数に変更 Revision 8445 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 17 12:15:31 2019 UTC (4 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 148774 byte(s) Diff to previous 8399 Merge branch 'unicode_buf' Revision 8399 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Nov 22 15:15:05 2019 UTC (4 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 141538 byte(s) Diff to previous 8391 UTF-8設定時にタイトル設定シーケンスでエンコードの変換を行うようにした。 Ticket: #39743 問題: UTF-8 設定時にウィンドウタイトル設定シーケンスに漢字が含まれていると 文字化けする。 対処: UTF-8設定時にもウィンドウタイトル設定シーケンスのエンコーディングを 変換するようにした。 Revision 8391 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 21 15:00:01 2019 UTC (4 years, 3 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 141228 byte(s) Diff to previous 8383 _CRTDBG_MAP_ALLOC を使ってデバッグバージョンのヒープ割り当て関数へ切り替え - r8390 Revision 8383 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 21 11:29:48 2019 UTC (4 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 141541 byte(s) Diff to previous 8330 xterm の ED/DECSED 3 (スクロールバッファクリア) に対応 Ticket: #39568 問題: clear コマンドでスクロールバッファの内容が消えない。 対応: xterm の ED/DESED 3 (スクロールバッファクリア) に対応した。 有効/無効を設定出来るようにした。clear コマンドでスクロールバッファが クリアされない事を望む人が多いようなので、デフォルトでは off とする。 参考: https://twitter.com/ttdoda/status/1166913096167776257 Revision 8330 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Oct 25 11:31:34 2019 UTC (4 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 141357 byte(s) Diff to previous 8329 TTIMESV/TTIMERS が正しく働かないのを修正。 Ticket: #39702 問題: TTIMESV(IME状態保存)/TTIMERS(IME状態復元)制御シーケンスが働かない。 原因: IMEの現在の状態を記憶しておく変数と、制御シーケンス用にIMEの状態を 保存しておく変数に同じ物を使っていた為。 対処: 制御シーケンス用のIME状態保存変数を変更した。 Revision 8329 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 24 10:41:21 2019 UTC (4 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 141281 byte(s) Diff to previous 8103 REP 制御シーケンスに対応した。
Ticket: #39451
問題:
REP 制御シーケンスに対応していない。
ncurses-6.1 付属の terminfo の xterm エントリでは rep が定義されて
いる為、これを参照および使用するプログラムの表示が正しく行われない
可能性がある。
対処:
REP 制御シーケンスに対応した。
備考:
・セキュリティ的な観点から、繰り返しの最大回数を一画面分(高さx幅)に
制限している。
・制御文字(タブや改行を含む)の繰り返しには対応していない。
・現状では複数バイトになる文字(MBCSやUTF-8で2バイト以上になる文字)
には対応していない。将来的に対応するかは要検討。
Revision 8103 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 10 03:23:08 2019 UTC (4 years, 5 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139812 byte(s) Diff to previous 7983 行末への全角文字出力後にカーソルを移動していないのを修正 [Ttssh2-devel 4180] Revision 7983 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 18 02:57:16 2019 UTC (4 years, 6 months ago) by yutakapon Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139757 byte(s) Diff to previous 7978 r7978 の再修正。setlocaleが失敗した場合は、現在にANSIコードページを設定する。 Revision 7978 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Aug 17 04:54:13 2019 UTC (4 years, 6 months ago) by yutakapon Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139651 byte(s) Diff to previous 7813 英語版WindowsでTera Termの起動時にアプリケーションフォルトとなることがある問題を修正した。 英語版Windows95/NT4.0でsetlocaleがNULLを返すことで、NULLポインタアクセスで落ちる。 ただし、英語版Windows95でもstrrchrにNULLを渡しているにも関わらず、落ちない場合もある。 Revision 7813 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 26 13:39:46 2019 UTC (4 years, 8 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139428 byte(s) Diff to previous 7642 4byteUTF-8のデコードが誤っていたので修正 Revision 7642 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 6 13:40:58 2019 UTC (4 years, 10 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139428 byte(s) Diff to previous 7499 受信データの文字コードがUTF-8の時、UTF-8の4byte目のチェックが誤っていた Revision 7499 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 18 14:13:16 2019 UTC (4 years, 11 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139428 byte(s) Diff to previous 7496 誤ってコミットしてしまったためリバート Revision 7496 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 18 14:01:33 2019 UTC (4 years, 11 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139537 byte(s) Diff to previous 7485 高速化テスト(Ttssh2-devel 3598) Revision 7485 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 14 15:54:13 2019 UTC (4 years, 11 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139428 byte(s) Diff to previous 7483 ttime周りを整理 Revision 7483 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 14 15:38:24 2019 UTC (4 years, 11 months ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139406 byte(s) Diff to previous 7464 WideCharToMB()を修正 Revision 7464 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Mar 9 17:33:06 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139429 byte(s) Diff to previous 7462 UTF32ToMBCP(), MBCPToUTF32()を使用するよう調整 Revision 7462 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Mar 9 17:32:42 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139748 byte(s) Diff to previous 7461 unicode関連をcodeconv.cに集めた CP932へ/からの変換を関数に分離(UTF32ToCP932(), UTF32ToCP932()) unicodeからDEC特殊文字変換を関数に分離(UTF32ToDecSp()) SJIS2UTF8() (内部コードからUTF-8へ出力)を language.c から ttcmn.c に移動 _WideCharToMultiByte(), _MultiByteToWideChar() の変換した文字数の戻り値修正 UTF32ToMBCP()追加 UTF32_CP932()追加 MBCPToUTF32()追加 WideCharToUTF8(), WideCharToCP932() の仕様を変更 変換テーブルとWindows APIをつかったコード変換の優先順位を変更できるようにした Revision 7461 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 5 16:22:05 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139753 byte(s) Diff to previous 7434 一部のunicodeがうまく表示できなくなったため対策 U+2014 EM DASH U+2016 DOUBLE VERTICAL LINE U+203E OVERLINE U+2212 MINUS SIGN U+301C WAVE DASH Revision 7434 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Feb 23 17:46:15 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139632 byte(s) Diff to previous 7430 IMEの状態設定/取得をメッセージを元に行うようにした CaretOn()#vtdisp.cの処理を軽くした Revision 7430 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Feb 17 14:43:54 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139625 byte(s) Diff to previous 7427 utf8の4byteの受信に対応 Revision 7427 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Feb 10 16:12:40 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139211 byte(s) Diff to previous 7411 ログを取っていないとき isprint()をpassするようにした Revision 7411 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jan 28 13:26:10 2019 UTC (5 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139246 byte(s) Diff to previous 7410 UnicodeToCP932()不具合修正 ファイル外から呼び出されない関数をstatic化 Revision 7410 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jan 26 18:03:31 2019 UTC (5 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139233 byte(s) Diff to previous 7407 UnicodeToCP932()内のwctomb()をWideCharToMultiByte()に置き換え Revision 7407 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jan 25 12:38:03 2019 UTC (5 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139173 byte(s) Diff to previous 7406 combining_map_t, codemap_t テーブルをconstにした Revision 7406 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jan 25 12:37:51 2019 UTC (5 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139145 byte(s) Diff to previous 7405 language.c SJIS2UTF8()の仕様変更 - locale文字列ではなく、コードページを使うようにした - 内部コードに合わせて変換するようにした(CP932決め打ちだった) - ConvertUnicode()のプロトタイプをlanguage.hに入れた Revision 7405 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jan 25 12:37:39 2019 UTC (5 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 139233 byte(s) Diff to previous 7402 tttypes.h tttset::CodePage をlocale設定と合わせて自動で設定するようにした - locale文字列から自動で設定するようにした - CodePageの設定をiniファイルから読まない/書き込まないようにした - デフォルト値をなくした Revision 7402 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jan 22 04:13:13 2019 UTC (5 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 138481 byte(s) Diff to previous 7398 Locale の変更を即時反映するようにした Revision 7398 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jan 19 08:18:24 2019 UTC (5 years, 1 month ago) by zmatsuo Original Path: trunk/teraterm/teraterm/vtterm.c File length: 138447 byte(s) Diff to previous 7278 setlocale()を起動時のみ呼び出すようにした Revision 7278 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 21 09:13:01 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 138506 byte(s) Diff to previous 7277 DECCOLM で DECLRMM が off にならなくなったのを修正 ChangeTerminalSize() では LRMarginMode をクリアしなくなった為。 DECCOLM では DECLRMM を off にするのが仕様。 c.f. https://vt100.net/docs/vt510-rm/DECCOLM.html | DECCOLM resets vertical split screen mode (DECLRMM) to unavailable. Revision 7277 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 21 09:12:57 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 138249 byte(s) Diff to previous 7274 端末サイズ変更時に DECLRMM のリセットを行わないようにした。 Vim 等で左右マージンを利用している時、リサイズ後に正しく動作しなくなる為。 Revision 7274 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 21 08:45:37 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 138273 byte(s) Diff to previous 7273 dttermのウィンドウ操作シーケンス(10:フルスクリーンモード)に暫定対応 本来ならば PuTTY に有るようなフルスクリーンモードを実装すべきだが、 とりあえずは手抜きでウィンドウの最大化を利用する。 Revision 7273 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 21 08:45:33 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 137789 byte(s) Diff to previous 7272 dttermのウィンドウ操作シーケンス(16:キャラクターセルサイズ報告)に対応 Revision 7272 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 21 08:45:29 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 137546 byte(s) Diff to previous 7271 dttermのウィンドウ操作シーケンス(15:ルートウィンドウサイズ報告(pixel))に対応 19:ルートウィンドウサイズ報告(char)ではウィンドウの枠/メニュー部分の サイズを引いた値で計算しているけれど、これってなんでだっけ? 必要ないような気がする。 今回の実装(15)では引いていない。 Revision 7271 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 21 08:45:25 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 137282 byte(s) Diff to previous 7270 dttermのウィンドウ操作シーケンス(13:ウィンドウ位置報告)の動作を更新 - 二番目のパラメータ(Ps2)の値を見るように変更 - Ps2 が 0 または 1 の時は Ps2 が無い時の動作に合わせた - Ps2 が 2 の時はクライアント領域の位置を送るようにした - Ps2 がそれ以外の値の時は応答しないようにした 最後の以外は xterm の動作への追従。 xterm では Ps2 が 0 - 2 以外の時は 0 と同じ動作をしているが、 Tera Term ではあえて無視する。 Revision 7270 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 21 08:45:21 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 137090 byte(s) Diff to previous 7140 dttermのウィンドウ操作シーケンス(14:ウィンドウサイズ報告)の動作を更新 - CSI 14 t で送るのをウィンドウのサイズからクライアント領域のサイズに変更 - 二番目のパラメータ(Ps2)の値を見るように変更 - Ps2 が 0 または 1 の時は Ps2 が無い時の動作に合わせた - Ps2 が 2 の時はウィンドウサイズを送るようにした - Ps2 がそれ以外の値の時は応答しないようにした 最後の以外は xterm の動作への追従。 xterm では Ps2 が 0 - 2 以外の時はクライアント領域のサイズを送っているが、 Tera Term ではあえて無視する。 Revision 7140 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 28 09:54:14 2018 UTC (5 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 136895 byte(s) Diff to previous 7088 Bracketed Paste Mode を反映した貼り付け用関数を追加。 TermSendStartBracket() -- Bracketed Paste Mode が有効か判断し、必要ならば開始 Bracket を送信する。 TermSendEndBracket() -- Bracketed Paste Mode が有効か判断し、必要ならば終了 Bracket を送信する。 TermPasteString(char *str, int len) -- Bracketed Paste Mode を考慮した文字列貼り付け。 使い方: TermSendStartBracket(); CommTextOut(&cv, str, len); if (ts.LocalEcho) CommTextEcho(&cv, str, len); // 必要なだけ上記を行う TermSendEndBracket(); 上記を一まとめにしたのが TermPasteString(str, len) Revision 7088 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 2 09:07:41 2018 UTC (5 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 136266 byte(s) Diff to previous 7086 DECSACE の状態を DECRQSS で取れるようにした。 Revision 7086 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 29 14:58:31 2018 UTC (5 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 136076 byte(s) Diff to previous 7045 DECSACE に対応 #33906 DECCARA / DECRARA を DECSACE の設定に従って適用範囲を変更するようにした。 Revision 7045 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 21 03:01:52 2018 UTC (6 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 135450 byte(s) Diff to previous 7043 ステータスラインの考慮を忘れてたので修正 Revision 7043 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 21 03:01:46 2018 UTC (6 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 135439 byte(s) Diff to previous 7042 NumOfColumns -> NumOfLines MainBottom は Y 座標になるので、端末の横幅である NumOfColumns を 代入するのは間違いだと思われる。 端末の縦幅である NuMOfLines に修正。 Revision 7042 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 21 03:01:42 2018 UTC (6 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 135441 byte(s) Diff to previous 6943 マウストラッキングで、マウス位置の最大値を端末サイズに制限する 今まではウィンドウの外に出た時はイベントを報告していなかったため 結果として端末サイズを超えていなかったが、マウスのキャプチャを 行うようにしてウィンドウ外でのイベント報告を行うようにした影響で 端末サイズを超えるようになったので、最大値の制限を行う。 Revision 6943 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Sep 27 03:16:21 2017 UTC (6 years, 5 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 135339 byte(s) Diff to previous 6941 DECRQSSへの応答(DECRPSS)を修正。 VT510 Video Terminal Programmer Information での DECRPSS の記述 [*1] では 最初のパラメータはの意味は以下のようになっている。 0 -> valid 1 -> invalid VT520/VT525 Video Terminal Programmer Information [*2] でも同様の記述。 Tera Term ではこの記述に従って DECRQSS/DECRPSS を実装していた。 しかし、以下の物で 0/1 と valid/invalid の対応が逆(1がvalid)となって いた為、[*1] の記述は誤りと判断し、Tera Term の動作も変更する。 * xterm での DECRQSS/DECRPSS の動作 * VT382 Kanji Display Terminal Programmer Reference Manual [*3] * VT382, VT525 の実機の動作 1: https://vt100.net/docs/vt510-rm/DECRPSS.html 2: https://vt100.net/docs/vt520-rm/ 3: https://vt100.net/manx/details/1,4208 Revision 6941 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Sep 27 03:16:11 2017 UTC (6 years, 5 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 135339 byte(s) Diff to previous 6913 DA2 応答の rev no. を 331 に変更。 Vim 8.0.1128 で、DECRQSS によるカーソル形状問い合わせが rev 279 以降に制限されている為。 Revision 6913 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 25 14:48:35 2017 UTC (6 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 135339 byte(s) Diff to previous 6865 SI/SO 以外のシフトも無効化できるようにした。 Revision 6865 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jul 19 16:48:12 2017 UTC (6 years, 7 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134718 byte(s) Diff to previous 6841 DECRQM で DECLRMM の状態を正しく返さなかった問題を修正。 Ticket: #37383 Revision 6841 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 4 15:02:28 2017 UTC (6 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134612 byte(s) Diff to previous 6806 TeraTerm Project としてのライセンス表記を追加 ・Tera Term 本体分を横 80 桁に収まるように改行位置を調整 ・ttssh 関連の分を追加 Revision 6806 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 15 00:37:01 2017 UTC (6 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134616 byte(s) Diff to previous 6804 TeraTerm Project としてのライセンス表記を追加 とりあえず Tera Term 本体分。 TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。 TODO: 過去に取り込んだパッチに関する著作権表記の追加 Revision 6804 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 13 10:56:30 2017 UTC (6 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133150 byte(s) Diff to previous 6803 SI/SO の無効化対応 Ticket: 37266 SI/SO を無効化したいという要望はわかるけれど、SI/SO だけでいいのか? SS2, SS3, LS2, LS3, LS1R, LS2R, LS3R, その他 ISO 2022 の文字指示とかはいいのか? 英語モードで自分が困るのが SI/SO だという事なんだろうけれど…… ISO 2022 の文字セット切り替え全般を制御するオプションにする方がよくないか? Revision 6803 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 13 10:42:58 2017 UTC (6 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133039 byte(s) Diff to previous 6802 NO_COPYLINE_FIX マクロを廃止。常に有効。 Revision 6802 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 13 10:42:54 2017 UTC (6 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133639 byte(s) Diff to previous 6673 インデント変更 Revision 6673 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 10 17:52:31 2017 UTC (6 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 135279 byte(s) Diff to previous 6668 クリップボードアクセス通知の i18n. Revision 6668 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 4 11:55:22 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134216 byte(s) Diff to previous 6667 szInfo のサイズに合わせて、バッファサイズを 256 byte に拡張 szTip と混同して最大でも 128 byte だと思ってたけれど、szInfo は 256 バイト有った orz Revision 6667 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 4 11:55:18 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134216 byte(s) Diff to previous 6666 メッセージを Capitalize Revision 6666 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 3 12:51:49 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134216 byte(s) Diff to previous 6613 OSC 52 でのクリップボードアクセス時に通知を出せるようにした Revision 6613 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 23 12:04:20 2017 UTC (7 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133550 byte(s) Diff to previous 6612 UTF-8 設定時に壊れたシーケンスを受けた後に文字化けする事への対処 Ticket:36938 問題の環境ではたまに UTF-8 としては正しく無いバイト列を送って来ている。 この壊れたシーケンスに SS2(0x8E) が含まれる事がある。 4.92 までは SS2 は無視されていたが、UTF-8 で JIS 文字列を表示できる ように変更した結果、SS2 が処理されるようになった。 SS2 は通常は次の文字のみが対象となるが、端末IDが VT100 系の時は MSB が 落とされて SO として扱われる。その結果、GL に G1 が呼び出された状態と なり、以降に続く文字列がデフォルトで G1 に指示されている半角カナとして 表示されていた。 とりあえずは UTF-8 設定時は SS2 / SS3 を無視して ? として表示するように 変更して対処。ちゃんとした対応は後で考える。 Lang が UTF-8 設定の時は 4.92 とそれ以前でも同様の問題が起きていた。 この場合は G1 が DEC 特殊文字となっているので、それで表示される。 https://osdn.net/ticket/browse.php?group_id=1412&tid=36938 Revision 6612 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 23 12:04:11 2017 UTC (7 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133330 byte(s) Diff to previous 6603 値を返し忘れていたのを修正 Revision 6603 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 21 18:05:16 2017 UTC (7 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133334 byte(s) Diff to previous 6602 設定で CP932 への fallback を行うか設定できるようにした Revision 6602 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 21 18:05:13 2017 UTC (7 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133281 byte(s) Diff to previous 6601 行内では CP932 に fallback した事を覚えておくようにした。 Revision 6601 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 21 18:05:04 2017 UTC (7 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133061 byte(s) Diff to previous 6537 UTF-8 設定時に正しく無いコードは CP932 として扱うよう変更 UTF-8 で CygTerm を使用している時に Windows のコマンドを実行して CP932 なメッセージが表示された時に多少でもマシな表示になるようにする為。 Revision 6537 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 16 03:19:07 2016 UTC (7 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133012 byte(s) Diff to previous 6521 漢字入力が出来なくなったので r6520 を revert 起動字に setlocale() を呼んでいるのは確認してあるんだけれど、なぜか mbstowcs() がエラーを返す。 どこかで locale が変更されてる? Revision 6521 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 1 06:01:18 2016 UTC (7 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 132988 byte(s) Diff to previous 6520 未使用の変数、およびそれの 0 クリアを削除 Revision 6520 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 1 06:01:15 2016 UTC (7 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133046 byte(s) Diff to previous 6516 必要も無く何度も setlocale() が呼ばれているので、Language 設定が変わった部分だけにまとめる Revision 6516 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 27 03:06:48 2016 UTC (7 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133070 byte(s) Diff to previous 6515 UTF-8 設定時に ISO-2022-JP の文字が表示出来ない問題を修正。 Revision 6515 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 27 03:06:46 2016 UTC (7 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 132998 byte(s) Diff to previous 6514 インデント修正 Revision 6514 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 27 03:06:43 2016 UTC (7 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133033 byte(s) Diff to previous 6512 ファイル名 / 変数名等を実態を表すわかりやすい物に変更 HFS+ では NFD を使っているが、HFS+ のみで使う特別な処理というわけではなく、やっている事自体は結合文字の処理。 そういう意味では漢字コード設定の UTF-8m ってのもちょっと気になる Revision 6512 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 27 03:06:36 2016 UTC (7 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 132962 byte(s) Diff to previous 6445 EUC 設定で UTF-8 文字列を表示した後に UTF-8 設定に切り替えた時に、 漢字が正しく表示できなくなる事がある問題を修正。 再現手順: 1. EUC 設定に変更 2. echo "あ" | nkf -w ; cat を実行 3. UTF-8 設定に変更 4. Ctrl-C で cat を中断 5. 以降、漢字が正しく表示できなくなる 原因: ConvJIS フラグのクリア漏れ 対処: vtterm.c:ResetCharSet() にて ConvJIS フラグをクリアするようにした。 [Setup] - [Terminal] 呼び出し後 CVTWindow::SetupTerm() 経由で ResetCharSet() が呼び出される。 TTXKanjiMenu で変更した場合は呼び出されないので別途対応が必要。 Revision 6445 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jul 15 09:33:25 2016 UTC (7 years, 7 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 132942 byte(s) Diff to previous 6435 Paste64 で空文字列のセットを行えるようにした。 Revision 6435 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jul 11 08:53:02 2016 UTC (7 years, 7 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 132943 byte(s) Diff to previous 6361 ・行末の空白/タブを削除 ・インデント調整 Revision 6361 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 5 13:02:51 2016 UTC (7 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 132966 byte(s) Diff to previous 6174 ZmodemAuto 時、ZRINIT を受けたら ZMODEM 送信ダイアログを開くようにした。 Revision 6174 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Nov 30 09:43:29 2015 UTC (8 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 132555 byte(s) Diff to previous 6173 CSI シーケンスのパラメータチェックを強化。 Revision 6173 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Nov 30 09:30:33 2015 UTC (8 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 131728 byte(s) Diff to previous 6160 インデント修正。 Revision 6160 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 25 11:02:41 2015 UTC (8 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134152 byte(s) Diff to previous 5911 DECRQSS で DECSCUSR, DECSLRM に対応。 Revision 5911 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 14 01:51:16 2015 UTC (8 years, 7 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133512 byte(s) Diff to previous 5907 OSC文字列のparse処理を全面的に書き換え ・主な目的は色の問い合わせへの応答の終端を問い合わせに合わせて変えるというもの ・OSC 105 ST で special color をすべてリセットするようにした ・その他にも動作が変わったものがあるかも Revision 5907 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 9 11:07:17 2015 UTC (8 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133967 byte(s) Diff to previous 5735 パレット番号 256-259 を Special color として扱うようにした。 ctlseqs.txt: "The special colors can also be set by adding the maximum number of colors to these codes in an OSC 4 control:" Revision 5735 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 9 04:09:46 2014 UTC (9 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134072 byte(s) Diff to previous 5629 [Control] - [Reset Terminal] で OSC 10/11 で設定した色もリセットするようにした。 Revision 5629 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 3 13:29:28 2014 UTC (9 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 134062 byte(s) Diff to previous 5628 Application Escape の改良テスト用。 試験的機能のためマニュアル記述無し。 Revision 5628 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 1 03:19:07 2014 UTC (9 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133412 byte(s) Diff to previous 5589 ・DA2応答を変更。emacsのterm/xterm.elがDA2応答の第3パラメータを0に決め打ちしているため、それに合わせる。 ・色問い合わせの応答を4桁に変更。xterm.elが4桁に決め打ちしているため、それに合わせる。 Revision 5589 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 19 08:03:12 2014 UTC (9 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133388 byte(s) Diff to previous 5588 ・デバッグモードで文字を出力した後に IRM がリセット、DECAWM がセットされた状態になるのを修正。 ・デバッグモードで文字を出力する前に、高輝度, 下線, 点滅, 反転属性をクリアするようにした。 ・デバッグモードから抜けた時に、高輝度, 下線, 点滅, 反転属性の状態を復元するようにした。 Revision 5588 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 19 05:19:51 2014 UTC (9 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133081 byte(s) Diff to previous 5572 インデント調整 Revision 5572 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 20 11:05:42 2014 UTC (9 years, 10 months ago) by yutakapon Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133082 byte(s) Diff to previous 5569 未使用変数の除去。 Revision 5569 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 14 04:29:55 2014 UTC (9 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133101 byte(s) Diff to previous 5568 Termcap String Query と SGR mouse に対応している事を示すため、DA2 応答を変更。 # xterm rev 278. Revision 5568 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 14 04:26:52 2014 UTC (9 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 133080 byte(s) Diff to previous 5564 xtermのTermcap String Queryに対応。 Revision 5564 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 31 08:30:11 2014 UTC (9 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 130170 byte(s) Diff to previous 5558 画面全体消去(ED 2)時に、カーソル位置をホームに移動するよう動作を変更可能にした。 # DECSET 8200 で設定 Revision 5558 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 27 03:21:01 2014 UTC (9 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129684 byte(s) Diff to previous 5503 カーソル位置復元時にBCE用情報の更新を忘れていたのを修正。 Revision 5503 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 7 02:53:53 2014 UTC (10 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129651 byte(s) Diff to previous 5502 CHA/HPA 制御シーケンスで画面右端に移動できないのを修正。 Revision 5502 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 7 02:48:39 2014 UTC (10 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129655 byte(s) Diff to previous 5431 コメント追加。 Revision 5431 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 23 17:19:04 2013 UTC (10 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129624 byte(s) Diff to previous 5429 ・DECFI/DECBIでスクロールマージンを無視していたのを修正 ・DECBIでカーソル位置の保存が行われていたのを修正 ・DECFIでアプリケーションキーパッドモードに変更していたのを修正 Revision 5429 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 23 14:01:20 2013 UTC (10 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129312 byte(s) Diff to previous 5423 ・VPR/VPB/HPR/HPBがスクロールマージンの影響を受けていたのを修正 ・CUU/VPBで画面上端を越えてカーソルが移動する場合があった問題を修正 ・VPBで関係ないモードが解除される事がある問題を修正 https://sourceforge.jp/ticket/browse.php?group_id=1412&tid=31985 Revision 5423 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Nov 22 06:29:03 2013 UTC (10 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129357 byte(s) Diff to previous 5410 DECCOLMでDECLRMMが解除されないのを修正。 https://sourceforge.jp/ticket/browse.php?group_id=1412&tid=31986 Revision 5410 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 31 10:27:07 2013 UTC (10 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129332 byte(s) Diff to previous 5336 OSC文字列用バッファの最大値を設定できるようにした。 Revision 5336 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 26 06:03:46 2013 UTC (10 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129208 byte(s) Diff to previous 5325 DSR 6(カーソル位置報告)で、origin mode時は上および左マージンを考慮するようにした。 Revision 5325 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 17 17:47:08 2013 UTC (10 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129057 byte(s) Diff to previous 5324 DCH の 左右マージン対応 Revision 5324 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 17 12:14:30 2013 UTC (10 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 129033 byte(s) Diff to previous 5320 DECLRMM/DECSLRMに仮対応 差分が大きくなってきたのでとりあえずコミット。まだ直さないといけない所があるけれど。 Revision 5320 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 13 05:05:08 2013 UTC (10 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 127397 byte(s) Diff to previous 5318 DECRQM 制御シーケンスに対応 Revision 5318 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 12 05:34:03 2013 UTC (10 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 121121 byte(s) Diff to previous 5316 Intermediate Character付きの時にPrivate Parameterの有無を見ていなかったのを修正。 Revision 5316 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 11 18:03:59 2013 UTC (10 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 120982 byte(s) Diff to previous 5118 Beepが多量に鳴らされた時に抑制するようにした。 Revision 5118 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 6 03:46:10 2013 UTC (11 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 120122 byte(s) Diff to previous 5117 制御文字列中にUTF-8文字列を含められるようにした。 Revision 5117 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 4 13:04:22 2013 UTC (11 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 119097 byte(s) Diff to previous 5096 インデント修正。 Revision 5096 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 11 03:26:39 2012 UTC (11 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 119220 byte(s) Diff to previous 5095 xtermのウィンドウタイトルスタッキングに対応した。 Revision 5095 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 10 21:46:32 2012 UTC (11 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 118259 byte(s) Diff to previous 5091 DECCARA, DECRARA を仮実装。DECSACEをまだ実装していないので、vttestは通りません。 Revision 5091 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 4 14:34:26 2012 UTC (11 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 117057 byte(s) Diff to previous 5090 関数名が気に食わなくなったので変更。 Revision 5090 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 4 03:59:26 2012 UTC (11 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 117054 byte(s) Diff to previous 5089 DECFRAに対応。 Revision 5089 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 4 00:54:13 2012 UTC (11 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 116308 byte(s) Diff to previous 5077 DECCRAに仮対応 Revision 5077 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 27 09:45:19 2012 UTC (11 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 115210 byte(s) Diff to previous 5073 SGR 38:2 で、rgb値のチェックを行うようにした。 SGR 38:5 で、パレット番号のチェックを行うようにした。 Revision 5073 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 24 11:07:38 2012 UTC (11 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 115180 byte(s) Diff to previous 5071 ITU-T Rec. T-416 風の RGB 色指定に対応した。 現状の実装は、256 色のパレットの中から近似色を選ぶ。 また、256 色パレット指定も : をパラメータ区切りとして受け付けるようにした。 対応形式: CSI 38 ; 2 ; R ; G ; B m -- Konssole CSI 38 ; 2 ; R : G : B m -- 独自 CSI 38 ; 2 : R : G : B m -- T-416 風 CSI 38 : 2 : R : G : B m -- xterm pl282 とか CSI 38 ; 5 : C m -- T-416 CSI 38 : 5 : C m -- xterm pl282 とか Revision 5071 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 22 03:35:18 2012 UTC (11 years, 3 months ago) by maya Original Path: trunk/teraterm/teraterm/vtterm.c File length: 112424 byte(s) Diff to previous 4991 クリップボードへのコピー・貼り付けで CF_UNICODETEXT も処理するようにした。 キーボードレイアウトによっては CF_TEXT が文字化けした状態になるため。 WideCharToMultiByte, MultiByteToWideChar で CP_ACP を利用しており、Windowsの「Unicode対応でないプログラムの言語」の設定によっては変換で文字化けする。 ticket #30015 Revision 4991 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 23 14:08:38 2012 UTC (11 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 111970 byte(s) Diff to previous 4984 EnableANSIColor が off の時は DECRQSS への応答に色属性を含めないようにした。 Revision 4984 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 21 04:41:14 2012 UTC (11 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 111908 byte(s) Diff to previous 4981 DECRQSS での文字属性の問い合わせで、応答の先頭に 0; を付加するようにした。 Revision 4981 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 15 15:34:55 2012 UTC (11 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 111823 byte(s) Diff to previous 4947 Any Event Tracking モードで、ボタンを押していない状態でのモーションイベントのボタン値を 3 から 35 へ変更した。 # 元々 xterm の挙動に合わせていたが、どうも xterm のバグっぽいのでモーションフラグを立てる事にする。 Revision 4947 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 14 10:33:37 2012 UTC (11 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 111857 byte(s) Diff to previous 4893 余分な ; を削除。 Revision 4893 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Apr 12 08:42:20 2012 UTC (11 years, 10 months ago) by maya Original Path: trunk/teraterm/teraterm/vtterm.c File length: 111858 byte(s) Diff to previous 4873 受信改行コードに「自動」を追加 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=27837 tentner 氏のパッチを適用 Revision 4873 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 3 00:54:04 2012 UTC (11 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 110683 byte(s) Diff to previous 4829 DAへの応答を 8bit mode の状態によって変えるようにした。 Revision 4829 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 6 04:14:20 2012 UTC (12 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 110666 byte(s) Diff to previous 4828 Extended Mouse Tracking (rxvt-unicode) に対応 Revision 4828 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 6 03:02:07 2012 UTC (12 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 110318 byte(s) Diff to previous 4827 Extended Mouse Tracking (SGR) に対応。 Revision 4827 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 6 01:34:34 2012 UTC (12 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 109836 byte(s) Diff to previous 4814 break を入れ忘れて、Alternate Screen Buffer が暴発していた。orz Revision 4814 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 2 13:30:40 2012 UTC (12 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 109800 byte(s) Diff to previous 4813 typo でバッファを 1 バイト多く取っていたのを修正。 Revision 4813 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 2 13:11:32 2012 UTC (12 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 109800 byte(s) Diff to previous 4770 Extended Mouse Tracking Mode に対応 Revision 4770 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 6 10:20:48 2011 UTC (12 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 108723 byte(s) Diff to previous 4769 OSC 5, 105, 110, 111, 115, 116 に対応 #undef APHABLEND_TYPE2 に出来るだけ対応するようにしていたけれど、そろそろ考えないようにしたいな。 ただ、その為には ALPHABLEND_TYPE2 関連のコードを整理しないと。 Revision 4769 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 6 10:01:20 2011 UTC (12 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 106463 byte(s) Diff to previous 4700 OSC 52 のクリップボード読み込みに対応 Revision 4700 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 1 10:24:23 2011 UTC (12 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 106285 byte(s) Diff to previous 4696 リモートからのクリップボードアクセス (OSC 52) に対応した。 Revision 4696 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Oct 31 16:40:10 2011 UTC (12 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 104046 byte(s) Diff to previous 4687 ・OSC 文字列によるカラーパレット変更が出来なくなっていたのを修正 (r4644でのエンバグ) ・空や対応していない OSC 文字列の後に続く文字列が表示されない場合が有ったのを修正 Revision 4687 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Oct 24 12:36:52 2011 UTC (12 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103947 byte(s) Diff to previous 4644 タブストップ設定(HTS)/削除(TBC)制御シーケンスを受け付けるか設定できるようにした。 主な用途は、TabStopModifySequence=HTS7,TBC として、8ビットの HTS (0x88) を無効にする事。 # SJIS 以外の設定の時に誤って CP932 のテキストを表示した時にタブ位置が崩れないようにするのが目的 Revision 4644 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 20 04:00:32 2011 UTC (12 years, 5 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103883 byte(s) Diff to previous 4643 OSC 10, 11, 15, 16 に対応。 Revision 4643 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 20 00:49:48 2011 UTC (12 years, 5 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 102979 byte(s) Diff to previous 4552 不用なコードを削除。 Revision 4552 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jul 29 12:34:06 2011 UTC (12 years, 7 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103090 byte(s) Diff to previous 4474 OSC 文字列中に CSI 等のシーケンスが含まれていた場合、その CSI シーケンスを解釈するようにした。 bash 3.2 のバグの work around. http://logmett.com/forum/viewtopic.php?f=8&t=1749 Revision 4474 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 27 09:01:01 2011 UTC (12 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103028 byte(s) Diff to previous 4472 ウィンドウ位置の報告が正しくない形式になる場合があったのを修正。 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=24559 Revision 4472 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue May 24 13:20:08 2011 UTC (12 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103000 byte(s) Diff to previous 4421 CSI シーケンス / OSC 文字列のパラメータでの最大値の制限(9999)を撤廃した。 32ビット符号なし整数の上限(4294967295)まで受け付ける。 ただし内部では符号なし->符号ありにキャストしているので、2147483648 以上は負の値として扱う。 これによってウィンドウ位置移動シーケンスで負の座標を指定出来る。 Revision 4421 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 8 03:53:59 2011 UTC (12 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103767 byte(s) Diff to previous 4420 X10 マウストラッキングモードおよび NetTerm 形式のマウスレポート時に、ボタンアップで Tera Term 側の処理を行わないようにした。 Revision 4420 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 8 03:08:19 2011 UTC (12 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103748 byte(s) Diff to previous 4419 NetTerm 形式のマウスボタン通知に対応 NetTerm 形式には有効化/無効化する為の制御シーケンスが無い為、暫定で DECSET/DECRST の 14001 で有効/無効に出来るようにした。 [.vimrc] set mouse=a set ttymouse=netterm let &t_ti .= "\e[?14001h" let &t_te .= "\e[?14001l" # 左ボタンダウンイベントしか無いためドラッグによる選択が出来ないので、あまり使い勝手は良くない Revision 4419 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 8 02:41:15 2011 UTC (12 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103164 byte(s) Diff to previous 4418 CSI のパラメータで受け付ける値の上限を、9999 から 99999 に増やした。 例えば DECSET で 10020 が指定された時、1002 として扱われて Button-event Mouse Tracking が有効になってしまうという問題が有った。 Revision 4418 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 8 01:55:35 2011 UTC (12 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103163 byte(s) Diff to previous 4397 マウス位置が 224 行目以降だった場合に、xterm 形式のマウスレポートで不正な報告をするのを修正。 # 端末の縦サイズを 224 行以上で使う事はまず無いだろうから、実際に問題になった事はおそらく無いだろうけれど。 ## フォントをかなり小さめにして、WUXGA のモニタを使えば出ない事はないか ## http://www-06.ibm.com/systems/jp/x/monitor/t221/ を使えば普通に出る? Revision 4397 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 28 02:17:34 2011 UTC (12 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103163 byte(s) Diff to previous 4393 ・IgnorePrinterCtrl -> PrinterCtrlSequence ・DECMC も対象に追加 ・パラメータの値毎に無視するかを判断するように変更 Revision 4393 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 25 12:04:41 2011 UTC (12 years, 11 months ago) by yutakapon Original Path: trunk/teraterm/teraterm/vtterm.c File length: 103239 byte(s) Diff to previous 4293 プリンタ制御コードが来ても無視することができるエントリを追加した。 デフォルトは下位互換性のため、オフ。 ; Ignore printer control sequence(MC) IgnorePrinterCtrl=off ランニング試験中、ホストからプリンタ制御コードが届くと、印刷ダイアログが 表示され、Tera Termが一時停止し、試験が止まらないようにしたい。 メモ: # echo -e '\x1b\x5b\x69' とすれば、擬似的にテストできる。ESC [ 'i' でMC(Media Copy)を示す。 Revision 4293 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 7 00:42:18 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 102963 byte(s) Diff to previous 4291 Wheel - Cursor 変換を制御シーケンスで無効に出来るようにした。(mintty互換) Revision 4291 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 1 05:27:32 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 102434 byte(s) Diff to previous 4282 DCS/SOS/APC/PM の直後の文字が正しく表示できないのを修正。 Revision 4282 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jan 19 05:12:03 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 102616 byte(s) Diff to previous 4281 DECRQSS の SGR で、16/256 色モードの設定状況によって色の報告形式を変えるようにした。 Revision 4281 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jan 19 00:24:01 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 101628 byte(s) Diff to previous 4279 DECRPSS を xterm に合わせられるようにした。 テスト用なので非公開。 Revision 4279 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jan 17 16:52:34 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 101471 byte(s) Diff to previous 4278 DECRQSS での SGR 問い合わせで、カラー情報も答えるようにした。 Revision 4278 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jan 17 10:50:28 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 100524 byte(s) Diff to previous 4275 試験的に IME 制御用制御シーケンスを新設。 Revision 4275 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jan 11 17:34:29 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99998 byte(s) Diff to previous 4271 対応していない OSC シーケンスを正しく無視できていない場合があったのを修正。 Revision 4271 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jan 9 18:34:01 2011 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99870 byte(s) Diff to previous 4259 mintty の Application Escape Mode をサポート。 http://code.google.com/p/mintty/wiki/CtrlSeqs#Escape_keycode http://code.google.com/p/mintty/wiki/Tips#Avoiding_escape_timeout_issues_in_vim Revision 4259 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 27 02:41:32 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99627 byte(s) Diff to previous 4257 コメント修正 Revision 4257 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Dec 23 18:00:49 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99621 byte(s) Diff to previous 4256 今後も使うことは無いと思われる、コメントアウトされた行を削除。 Revision 4256 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Dec 23 14:55:44 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99742 byte(s) Diff to previous 4250 Escape / CSI シーケンス中に 0xA0 以降の文字が来た場合、シーケンスの解釈を中断するようにした。 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=23931 # いまいち自信なし Revision 4250 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 22 06:27:26 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99559 byte(s) Diff to previous 4246 ウィンドウサイズ変更制御シーケンスに対して、実際のウィンドウサイズを返すようにした。 Revision 4246 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 21 11:59:56 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99486 byte(s) Diff to previous 4244 VT-Level の概念を導入。 ・VT-Lvelev 1 では 8bit 送信モードが無効になるようにした。 ・端末 ID でのレベルより VT-Level が上にならないようにした。 Revision 4244 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 21 07:45:25 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99572 byte(s) Diff to previous 4243 端末 ID が VT520, VT525 の時に DA1 の応答が壊れていたのを修正。 Revision 4243 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 21 04:11:15 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99572 byte(s) Diff to previous 4241 DECFI/DECBI 制御シーケンスに対応。 Revision 4241 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 20 05:33:28 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 99331 byte(s) Diff to previous 4240 DECRQSS で DECSCA, DECSTBM に対応。 とりあえず xterm が対応している分は済。 Revision 4240 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 20 04:41:37 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 98887 byte(s) Diff to previous 4239 DECRQSS で SGR に対応。 Revision 4239 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 20 04:16:18 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 98250 byte(s) Diff to previous 4238 DECRQSS の DECSCL の応答が誤っていたのを修正。 Revision 4238 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 20 04:09:28 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 98235 byte(s) Diff to previous 4237 文字列を終端するタイミングを間違えていたのを修正。 Revision 4237 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 20 00:37:14 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 98235 byte(s) Diff to previous 4227 DECRQSS に一部対応。とりあえず vttest が使う DECSLC のみ。 Revision 4227 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 17 07:41:25 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 96974 byte(s) Diff to previous 4225 ctype 系関数に負の値を渡さないようにするため、unsigned char へ変更。 Revision 4225 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 17 06:10:40 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 96965 byte(s) Diff to previous 4217 DECSTUI に対応。 Revision 4217 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Dec 16 09:39:48 2010 UTC (13 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 95660 byte(s) Diff to previous 4199 端末 UID を設定できるようにした。 Revision 4199 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 30 13:19:27 2010 UTC (13 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 95532 byte(s) Diff to previous 4162 DECERA 等のパラメータのデフォルト値を修正。 Revision 4162 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 23 16:10:38 2010 UTC (13 years, 3 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 95470 byte(s) Diff to previous 4124 DA3 に対応 Revision 4124 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Oct 11 11:32:18 2010 UTC (13 years, 4 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94817 byte(s) Diff to previous 4104 コメント追加。 Revision 4104 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Sep 23 08:44:37 2010 UTC (13 years, 5 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94795 byte(s) Diff to previous 4101 TitleReportSequence=empty が正しく働かないのを修正。 Revision 4101 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Sep 13 07:02:31 2010 UTC (13 years, 5 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94796 byte(s) Diff to previous 4098 パラメータの評価の順番が他とは違っていて見づらいので IO-8256 関連を書き直した。 Revision 4098 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 7 14:18:11 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94828 byte(s) Diff to previous 4097 IO-8256 terminal の色変更、線引き、行消去が正しく動かない事があったのを修正。 Revision 4097 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 7 12:46:32 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94696 byte(s) Diff to previous 4096 DECALN で Scroll Region をクリアするようにした。 Revision 4096 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 7 11:20:55 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94618 byte(s) Diff to previous 4095 DECERA と DECSERA の処理をまとめた。 Revision 4095 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 7 11:17:10 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 95009 byte(s) Diff to previous 4094 DECERA, DECSERA で、Origin Mode 時の動作が正しくなるように修正。 Revision 4094 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 7 10:43:51 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94539 byte(s) Diff to previous 4093 DECSCL で VT-Level 5 を受け付けるようにした。 Revision 4093 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 7 05:06:30 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94460 byte(s) Diff to previous 4090 IO-8256 terminal の矩形消去制御シーケンスが正しく働かない場合が有ったのを修正。 # したつもりなんだけれど、元となった IO-8256 terminal を知らないから、元の動作が正しいなんて事がありませんように。 # パラメータを省略した時に、以前の(全然関係ない別の)制御シーケンスのパラメータを使うというのはバグだと思うんだけど… Revision 4090 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Sep 7 04:33:38 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94396 byte(s) Diff to previous 4084 Selective Erase 対応の矩形消去 (DECSERA) 制御シーケンスに対応。 Revision 4084 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Sep 2 12:45:49 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 94093 byte(s) Diff to previous 4077 端末IDに VT420, VT520, VT525 を追加。 Revision 4077 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 31 13:23:05 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 93744 byte(s) Diff to previous 4070 DECERA(矩形消去)制御シーケンスに対応。 Revision 4070 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 31 09:18:28 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 93468 byte(s) Diff to previous 4046 Selective Erase に対応。 Revision 4046 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 24 05:22:01 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 92031 byte(s) Diff to previous 4041 文字列の終端忘れを修正。orz Revision 4041 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 22 11:55:16 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 92003 byte(s) Diff to previous 4024 DECDSR の 55 でも Locator Device Status Report の応答を返すようにした。 ctlseqs.txt(*1) や vttest(*2) では DECDSR の 53 が Locator Device Status Report の 要求という事になっているが、"Locator Input Model for ANSI Terminals (sixth revision)"(*3) や all-escapes.txt(*4) では DECDSR の 55 が Locator Device Status Report の要求という事になっているので、55 も同様に扱う。 *3 が DEC の人間によって書かれた事、および 53 は No Locator の応答に割り当て られており基本的に要求と応答に同じ番号が割り当てられる事は無いはずなので、 おそらく 55 が正しいと思われるが、53 のサポートも残して置く。 応答と同じ番号を要求として扱うと、ホスト側がエコーバックする場合にループする 可能性があるが、Tera Term が 53 (No Locator) を返す事は無いので問題ないはず。 *1: http://invisible-island.net/xterm/ctlseqs/ctlseqs.txt *2: http://invisible-island.net/vttest/vttest.html *3: http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html *4: http://bjh21.me.uk/all-escapes/all-escapes.txt Revision 4024 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 19 08:41:25 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 92004 byte(s) Diff to previous 4023 len に 0 を指定した時は strlen() で調べた値を使うようにした。 Revision 4023 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 19 08:30:55 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91853 byte(s) Diff to previous 4022 Locator Device Status Report に対応。 Revision 4022 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 19 07:56:17 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91720 byte(s) Diff to previous 4021 vim で ttymouse が xterm2 に自動設定されるように、Secondary DA の応答を調整した。 # 値は根拠なし (95以上であればいい) Revision 4021 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 19 07:29:01 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91718 byte(s) Diff to previous 4020 DECELR が有効になっていない時は、DECEFR で何も行わないようにした。 Revision 4020 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 19 05:09:11 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91625 byte(s) Diff to previous 4019 DECEFR の設定時にマウスが Filter Rectangle の外に有った場合はすぐに報告するようにした。 Revision 4019 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 19 04:47:03 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91584 byte(s) Diff to previous 4018 FilterTop/Left が FilterBottom/Right より大きかったら入れ替えるようにした。 Revision 4018 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 18 16:55:55 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91382 byte(s) Diff to previous 4017 DECSLE で、Filter Rectangle を正しくキャンセルするように修正。 Revision 4017 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 18 16:48:44 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91361 byte(s) Diff to previous 4001 ・DECEFR でパラメータを省略した時に正しく動いていなかったのを修正。 ・Pixel モードでも左上を 1, 1 に変更。 Revision 4001 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 15 14:41:40 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91260 byte(s) Diff to previous 4000 一度 Pixel モードにすると、それ以降は Cell モードを指定しても Pixel モードになってしまうのを修正。 Revision 4000 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 15 14:38:24 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91207 byte(s) Diff to previous 3999 LeftButton と RightButton が逆になっていたのを修正。 Revision 3999 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 15 14:29:38 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 91207 byte(s) Diff to previous 3998 DEC Locator Mode の Filter Rectangle に対応(したつもり) Revision 3998 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 15 11:59:22 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 90760 byte(s) Diff to previous 3997 DECSLE で複数のパラメータが正しく扱えていなかったのを修正。 Revision 3997 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Aug 14 18:37:44 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 90681 byte(s) Diff to previous 3993 DEC Locator Mode に対応。 とりあえず vim で ttymouse=dec にして使える程度には動いている。 Filter Rectangle には未対応。 Revision 3993 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 13 18:07:02 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86786 byte(s) Diff to previous 3987 マウスボタンを押した後、行/桁位置が変わらない間はモーションイベントを送らないようにした。 Revision 3987 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 12 09:05:46 2010 UTC (13 years, 6 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86726 byte(s) Diff to previous 3962 マウストラッキングモードのモーションイベントに正式対応。 これにより、マウストラッキングモード中はマウスによる選択が出来なくなる。 Revision 3962 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Aug 2 09:18:01 2010 UTC (13 years, 7 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86614 byte(s) Diff to previous 3916 Alt と Control の扱いが逆だったのを修正。 Revision 3916 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed May 26 07:13:46 2010 UTC (13 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86614 byte(s) Diff to previous 3904 Alternate Screen Buffer 使用時、カーソル位置の復元が正しく動かない場合が有ったのを修正。 Revision 3904 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat May 22 06:57:02 2010 UTC (13 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86299 byte(s) Diff to previous 3872 ファイル送信も Bracketed Paste Mode の適用対象に。 Revision 3872 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun May 9 09:21:21 2010 UTC (13 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86240 byte(s) Diff to previous 3828 Bracketed Paste Mode をサポート。
対応しているホスト側のアプリケーションで、キー入力と貼り付けの区別が付けられるようになる。
.vimrcの例:
if &term == "xterm"
let &t_ti = &t_ti . "\e[?2004h"
let &t_te = "\e[?2004l" . &t_te
set pastetoggle=<Esc>[201~
function XTermPasteBegin(ret)
set paste
return a:ret
endfunction
map <special> <expr> <Esc>[200~ XTermPasteBegin("i")
imap <special> <expr> <Esc>[200~ XTermPasteBegin("")
endif
参考: https://bugzilla.gnome.org/show_bug.cgi?id=605299
Revision 3828 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 30 04:16:13 2010 UTC (13 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85986 byte(s) Diff to previous 3812 ・VPR の動作を上下逆に変更。 ・VPB をサポート。 VPR, VPB の動作は、rxvt 系と PuTTY 等のその他のターミナルエミュレータで上下逆に動作するが、ECMA-48 の記述的には PuTTY 等の方が正しいと思われるため、rxvt 系の動作はバグと判断し PuTTY 等の動作に合わせる。 ECMA-48 の 8.3.160 VPR - LINE POSITION FORWARD より | VPR causes the active data position to be moved by n line positions in | the data component in a direction parallel to the line progression, | where n equals the value of Pn. "direction parallel to the line progression" なので、行の進む方向である下へ移動するのが正しいはず。 VT520/VT525Video Terminal Programmer Information の VPR-Vertical Position Relative より | VPR causes the active position to be moved to vertically corresponding Pn | lines following the current position of the active line. If an attempt is | made to move the active position beyond the last line, the active position | stops at the last line. この記述から、VT500 シリーズの動作も下へ移動の移動だと思われる。 これにより VT 互換の動作だとも言える為、こちらの動作を採用する。 Revision 3812 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 17 02:49:22 2010 UTC (13 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86004 byte(s) Diff to previous 3804 DECRST:1049 で、カーソル位置の復元がおかしかったのを修正。 Revision 3804 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 25 12:38:47 2010 UTC (14 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 86004 byte(s) Diff to previous 3802 ClearOnResize が on の時、DECCOLM で2度画面がクリアされていたのを修正。 Revision 3802 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 25 12:01:34 2010 UTC (14 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85937 byte(s) Diff to previous 3800 ClearOnResize が off の時、桁数モード変更(DECCOLM)で画面がクリアされなかったのを修正。 Revision 3800 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 25 10:19:51 2010 UTC (14 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85796 byte(s) Diff to previous 3797 Alternate screen buffer 対応のカーソル保存 (<CSI>?1048h) が正しく働かないのを修正。 Revision 3797 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 25 09:30:57 2010 UTC (14 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85783 byte(s) Diff to previous 3796 Alternate screen buffer 切り替え時のカーソル位置保存の不具合を修正。 Normal screen と Alternate screen でカーソル位置の保存を別に管理する必要があった。 Revision 3796 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 23 10:30:54 2010 UTC (14 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85623 byte(s) Diff to previous 3795 HPB (Character position backward) 制御シーケンスに対応。 # よく見れば、既存の関数を割り当てるだけじゃん # VPB も出来そうだが、正しい動作に迷ったので保留 Revision 3795 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 23 09:46:50 2010 UTC (14 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85641 byte(s) Diff to previous 3794 typo fix. # 一辺で気付け orz Revision 3794 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 23 07:42:53 2010 UTC (14 years ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85641 byte(s) Diff to previous 3774 typo fix. Revision 3774 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 8 15:26:07 2010 UTC (14 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85641 byte(s) Diff to previous 3753 TitleReportSequence で受け付ける値を、accept/ignore/empty に変更した。[ttssh2-devel 1623] Revision 3753 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 28 13:28:03 2010 UTC (14 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85627 byte(s) Diff to previous 3747 コピペ時の大文字/小文字の修正漏れ。 Revision 3747 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 28 09:56:12 2010 UTC (14 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85627 byte(s) Diff to previous 3745 TitleReportSequence に設定可能な値に empty を追加。 TitleReportSequence のデフォルト値を empty に変更。(セキュリティ対応) # タイトル文字列には改行等の制御文字を受け付けない為、致命的ではないのだけれど、念の為に変更。 Revision 3745 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 28 01:58:11 2010 UTC (14 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85189 byte(s) Diff to previous 3744 端末リセットで保存しているスクリーンバッファを開放するようにした。 Revision 3744 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 28 01:40:37 2010 UTC (14 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 85138 byte(s) Diff to previous 3743 Alternate Screen Buffer (拡張: DECSET 1047-1049)に対応。 Revision 3743 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jan 27 22:20:42 2010 UTC (14 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 84094 byte(s) Diff to previous 3742 Alternate Screen Bufferに対応。 Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jan 27 13:38:58 2010 UTC (14 years, 1 month ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 83750 byte(s) Diff to previous 3715 コメント追加(mnemonic) Revision 3715 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Dec 12 06:42:18 2009 UTC (14 years, 2 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 83011 byte(s) Diff to previous 3637 Eterm look-feelを有効にしている時、Reverse Video (DECSCNM)のset/resetが行われると、以降まともに描画が更新されなくなるのを修正した。(暫定) http://lunatear.net/archives/001056.html # Eterm look-feel有効時のDECSCNMはまだちゃんと動いていないので、修正が必要 Revision 3637 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 8 16:38:28 2009 UTC (14 years, 5 months ago) by yutakapon Original Path: trunk/teraterm/teraterm/vtterm.c File length: 82983 byte(s) Diff to previous 3491 setdebug マクロコマンドを追加した。 制御コードを wait することができるようになる。また、ts.Debug を立てることなく、デバッグモードを切り替えられる。 Revision 3491 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 15 08:20:51 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 82688 byte(s) Diff to previous 3489 VT100 モード時や Accept8BitCtrl が off の時は ST に反応しないように変更。 Revision 3489 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 15 06:47:40 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 82626 byte(s) Diff to previous 3487 ウィンドウ最大化制御シーケンスで、パラメータが0,1以外の時には処理を行わないように変更。 # 画面サイズ報告シーケンスの応答がエコーバックされた時に反応していたため Revision 3487 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 15 03:20:22 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 82607 byte(s) Diff to previous 3486 ウィンドウタイトル報告シーケンスに対応。 Revision 3486 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 15 02:55:48 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 80741 byte(s) Diff to previous 3485 OSC文字列送信で、7bit応答設定(S7C1T)時にもSTを使っていたのを修正。 Revision 3485 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 15 02:39:48 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 80635 byte(s) Diff to previous 3483 ウィンドウ制御/報告シーケンスおよびカーソル形状制御シーケンスを受け入れるか設定できるようにした。 Revision 3483 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 15 00:44:12 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79209 byte(s) Diff to previous 3482 UTF-8設定時、SS2, SS3が正しく働いていなかったのを修正。 Revision 3482 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 14 23:25:52 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79144 byte(s) Diff to previous 3476 受信コードがUTF-8の時、本来表示できるはずの一部の文字が表示出来ないのに対応した。 Revision 3476 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 12 17:18:46 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79153 byte(s) Diff to previous 3475 幅と高さを逆に報告していたのを修正。 Revision 3475 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 12 17:12:00 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79153 byte(s) Diff to previous 3472 ルートウィンドウサイズ報告シーケンスに対応。
<CSI> 19 t
応答: <CSI> 9 ; H ; W t
H,W: ルートウィンドウの高さ/幅
Revision 3472 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 12 12:22:45 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 78951 byte(s) Diff to previous 3471 Secondary DA要求に対して、Psがなしまたは0の時のみ応答するように変更。 応答がエコーバックされた場合、それに反応して応答を返してしまい、ループしていたため。 Revision 3471 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 12 12:02:06 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 78923 byte(s) Diff to previous 3470 以下の理由でCSI/OSCの送信を別関数に分けた。 ・Send8BitModeの判定を関数側に移して、記述を簡単にできるようにするため ・送信文字列の長さの指定を間違えにくくするため Revision 3470 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 12 10:36:49 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 80164 byte(s) Diff to previous 3469 8ビット応答設定(S8C1T)時、Secondary DAの応答の後ろにゴミがついていたのを修正。 Revision 3469 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 12 08:43:03 2009 UTC (14 years, 8 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 80164 byte(s) Diff to previous 3466 ウィンドウ位置報告制御シーケンスに対応。
<CSI> 13 t
応答: <CSI> 3 ; X ; Y t
X,Y: ウィンドウの位置
Revision 3466 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 11 10:31:09 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79828 byte(s) Diff to previous 3464 ウィンドウ状態報告制御シーケンスに対応
<CSI> 11 t
応答: <CSI> 1 t -- 通常状態
<CSI> 2 t -- 最小化状態
Revision 3464 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 10 14:22:14 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79515 byte(s) Diff to previous 3450 ウィンドウサイズ変更シーケンス(ピクセル単位)に対応。
<CSI> 4 ; H ; W t
H: ウィンドウの高さ
W: ウィンドウの横幅
Revision 3450 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 8 10:22:00 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79355 byte(s) Diff to previous 3446 ロケールオブジェクトがリークしていたのを修正。 Revision 3446 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 7 08:39:00 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79227 byte(s) Diff to previous 3445 UTF-8で2バイトになる文字の表示が遅れるのを修正。 Revision 3445 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 7 07:22:05 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79391 byte(s) Diff to previous 3443 UnicodeToCP932の2番目の引数は使っていないので削除。 Revision 3443 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 7 06:16:26 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79523 byte(s) Diff to previous 3416 マップのサイズ計算をマクロに。 Revision 3416 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed May 20 13:38:32 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 79619 byte(s) Diff to previous 3407 韓国語(KS5601)対応を改善。 Revision 3407 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 18 05:45:05 2009 UTC (14 years, 9 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 78111 byte(s) Diff to previous 3322 Language=UTF-8対応 Revision 3322 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 17 10:14:24 2009 UTC (14 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 78130 byte(s) Diff to previous 3312 カーソル形状変更時のちらつきを抑えた Revision 3312 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 15 10:22:42 2009 UTC (14 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 78131 byte(s) Diff to previous 3311 継続行コピーがうまく働かない場合があるのを修正。 Revision 3311 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 15 09:38:47 2009 UTC (14 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 78050 byte(s) Diff to previous 3310 コメント追加 Revision 3310 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 15 03:40:16 2009 UTC (14 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 76096 byte(s) Diff to previous 3309 ウィンドウリフレッシュ制御シーケンス(dtterm由来?)に対応 <CSI> 7 t Revision 3309 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 13 11:51:36 2009 UTC (14 years, 10 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 76038 byte(s) Diff to previous 3302 ウィンドウ位置(Zオーダ)変更制御シーケンス(dtterm由来?)に対応
<CSI> Ps t
Ps=5 前面に移動
6 背面に移動
Revision 3302 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 10 12:44:00 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 75910 byte(s) Diff to previous 3297 ウィンドウ最小化/最大化制御シーケンス(dtterm由来?)に対応。
<CSI> Ps t
Ps=1 最小化解除
2 最小化
9;0 最大化解除
9;1 最大化
ウィンドウ位置変更もだけど、セキュリティ的には受け入れるか設定できた方がいいと思われる。
Revision 3297 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 8 15:11:32 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 75569 byte(s) Diff to previous 3296 ウィンドウ位置変更シーケンス(dtterm由来?)に対応。
<CSI> 3 ; X ; Y t
X,Y: ウィンドウの位置
% ruby -e 'STDOUT.sync=true; 10.times do print "\e[3;#{rand 200};#{rand 200}t"; sleep 1; end'
Revision 3296 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 8 14:00:33 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 75443 byte(s) Diff to previous 3289 カーソル点滅制御シーケンス(AT&T 610由来?)に対応。 <CSI> ? 12 h -- 点滅 <CSI> ? 12 l -- 非点滅 Revision 3289 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 7 06:01:01 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 75314 byte(s) Diff to previous 3273 マウスのボタンアップ時にモーションイベントを送信する事によって、モーションイベントに似非対応した。 Revision 3273 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 1 14:24:04 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 75173 byte(s) Diff to previous 3265 WYSTCURM / WYULCURM 制御シーケンスに対応。
WYSTCURM:
<CSI> [ 33 h -- カーソル非点滅
<CSI> [ 33 l -- カーソル点滅
WYULCURM:
<CSI> [ 34 h -- 下線カーソル
<CSI> [ 34 l -- ブロックカーソル
WYSTCURM / WYULCURM は厳密にはECMA-48に従っていないが、現状ではサポートしても問題ないと思われる。
Revision 3265 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 1 01:31:33 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 74886 byte(s) Diff to previous 3263 DECSCUSRで設定できるカーソル形状に、縦線を追加した。(独自拡張)
<CSI> Ps SP q
Ps=5: Vertical Line, Blink
6: Vertical Line, Steady
Revision 3263 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 31 14:13:35 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 74631 byte(s) Diff to previous 3262 制御シーケンス DECSCUSR に対応。制御シーケンスでカーソルの形状/点滅を変更できる。
<CSI> Ps SP q
SP=0: Block, Blink (1と同じ)
1: Block, Blink
2: Block, Steady
3: Underline, Blink
4: Underline, Steady
Revision 3262 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 30 10:37:13 2009 UTC (14 years, 11 months ago) by doda Original Path: trunk/teraterm/teraterm/vtterm.c File length: 73760 byte(s) Diff to previous 3227 とりあえず、モーションイベントのレポート文字列を生成できるようにした。 まだどこからもモーションイベントとして呼ばれるようになっていないので、実際には使われない。 Revision 3227 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 24 15:10:33 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/teraterm/teraterm/vtterm.c File length: 73664 byte(s) Diff to previous 3221 CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換 Revision 3221 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 24 09:37:20 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/teraterm/teraterm/vtterm.c File length: 70347 byte(s) Diff to previous 2708 CVS から SVN へ移行: trunk に集約 Revision 2708 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 18 18:42:00 2009 UTC (14 years, 11 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 70347 byte(s) Diff to previous 2673 Reverse Video Mode(DECSCNM)が壊れていたのを修正。[Ttssh2-devel 1392] Revision 2673 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 3 12:33:49 2009 UTC (15 years ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 70393 byte(s) Diff to previous 2666 Reverse Videoモード(DECSCNMがon)の時、Additional settingsダイアログでのEnableReverseAttrColorの設定変更が正しく動かないのを修正。 Revision 2666 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 2 01:43:13 2009 UTC (15 years ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 70366 byte(s) Diff to previous 2640 属性色およびANSIカラー表示を無効にできるようにした。 Revision 2640 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jan 25 14:44:37 2009 UTC (15 years, 1 month ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 70128 byte(s) Diff to previous 2628 反転属性の色を指定出来るようにした。 Revision 2628 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 24 09:38:42 2008 UTC (15 years, 2 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 70001 byte(s) Diff to previous 2603 Controlを押している間はMouse Event Trackingを無効に出来るようにした。 http://sourceforge.jp/tracker/index.php?func=detail&aid=14342&group_id=1412&atid=5336 Revision 2603 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 1 12:31:02 2008 UTC (15 years, 4 months ago) by maya Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69929 byte(s) Diff to previous 2601 リモートからのタイトルを、標準のタイトルとは別のバッファに入れるようにした。 リモートからのタイトルを、標準のタイトルの前または後に表示できるようにした。 AcceptTitleChangeRequest の設定値を off/on から off/overwrite/before/after に変更した。互換性のため on は overwrite として扱う。 Revision 2601 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 30 04:28:29 2008 UTC (15 years, 4 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69904 byte(s) Diff to previous 2588 UK文字セット(BS 4730)の指示をUS-ASCIIの指示として扱うようにした。 http://logmett.com/forum/viewtopic.php?f=2&t=923 BS 4730は厳密にはUS-ASCIIとは違うのだが(#がポンド記号)、現状ではJIS X 0201 ローマ字もUS-ASCIIとして取り扱っているし、違いは通常はフォントで吸収しているので問題ないはず。 Revision 2588 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Sep 20 03:02:36 2008 UTC (15 years, 5 months ago) by maya Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69863 byte(s) Diff to previous 2562 AcceptTitleChangeRequest に表記を統一 Revision 2562 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jul 14 08:19:02 2008 UTC (15 years, 7 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69858 byte(s) Diff to previous 2561 Reverse Video時、Bold/Blink/URL属性の前景色と背景色も入れ換えるようにした。 Revision 2561 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jul 14 08:15:10 2008 UTC (15 years, 7 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69511 byte(s) Diff to previous 2559 screenのVisual Bell用制御シーケンス<ESC>gを解釈するようにした。 ECMA-48やvt100,xtermのいずれの標準にも含まれないため、正式サポートとはしない。 なにか問題が出たら闇に葬ります。 Revision 2559 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jul 9 16:14:13 2008 UTC (15 years, 8 months ago) by yutakapon Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69425 byte(s) Diff to previous 2558 Korean patchを追加した。 Revision 2558 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jul 9 06:06:56 2008 UTC (15 years, 8 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69323 byte(s) Diff to previous 2555 リモートからのウィンドウタイトル変更要求を受け入れるかを設定できるようにした。 http://sourceforge.jp/tracker/index.php?func=detail&aid=12951&group_id=1412&atid=5333 設定パラメータ名は暫定であり、要検討。 Revision 2555 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 5 21:55:11 2008 UTC (15 years, 8 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69279 byte(s) Diff to previous 2554 環境によってはほとんどフラッシュしていないように見えるため、ビジュアルベルにウェイトを追加した。 Revision 2554 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 5 21:36:42 2008 UTC (15 years, 8 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 69260 byte(s) Diff to previous 2553 ビジュアルベルをサポート。BEL文字を受信した時に、Beepを鳴らす代わりに画面をフラッシュさせる事が出来るようにした。 TERATERM.INIのBeepエントリを拡張し、On/Offの他にVisualを指定できるようにした。 Revision 2553 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 5 13:21:42 2008 UTC (15 years, 8 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68998 byte(s) Diff to previous 2551 CHT制御シーケンスに対応。 Revision 2551 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 3 20:14:09 2008 UTC (15 years, 8 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68817 byte(s) Diff to previous 2535 CBT制御シーケンスに対応。 Revision 2535 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 30 12:36:43 2008 UTC (15 years, 9 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68689 byte(s) Diff to previous 2528 UnicodeからDEC特殊文字へのマッピングで、マップされる文字を幾つかの種類に分類し、種類毎に変換するか選択できるようにした。 種類A: 罫線 Box drawings(U+2500-U+257F) 種類B: 4.58迄は??と表示された文字(英語環境では何も表示されない物も含む) Bullet (U+2022) Hyphenation point (U+2027) Light shade (25%) (U+2591) Medium shade (50%) (U+2592) Dark shade (75%) (U+2593) Black small square (U+25AA) Black vertical rectangle (U+25AE) Black verty small square (U+2B1D) 種類C: 日本語環境では中点、英語環境ではMiddle dotとして表示される文字 Middle dot (U+00B7) One dot leader (U+2024) Bullet operator (U+2219) 種類Aは1,種類Bは2,種類Cは4とし、複数指定する場合は値の和をUnicodeToDecSpMappingに指定する。 Revision 2528 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat May 24 08:26:44 2008 UTC (15 years, 9 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68650 byte(s) Diff to previous 2527 受信漢字コードがSJISの時、ウィンドウタイトル変更の制御シーケンスで、一部の漢字が使えなくなっていたのを修正した。 使えなかった漢字は、徘徊や彗,彷など 1バイト目がST(0x9c)のもの。 Revision 2527 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 23 09:48:19 2008 UTC (15 years, 9 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68492 byte(s) Diff to previous 2523 受信漢字コードがUTF-8の時、C1制御文字による制御シーケンスが正しく扱えないのを修正した。 Revision 2523 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed May 21 04:29:47 2008 UTC (15 years, 9 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68422 byte(s) Diff to previous 2510 余分なコードを削除。 Revision 2510 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed May 14 02:39:59 2008 UTC (15 years, 9 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68533 byte(s) Diff to previous 2498 対応していないUnicodeの文字をワイド文字として扱うかの設定を追加。 元々対応していない文字は?を使って表示していたので、?と表示するか??とするかの違いを制御するのみ。 Revision 2498 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat May 3 07:47:59 2008 UTC (15 years, 10 months ago) by yutakapon Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68438 byte(s) Diff to previous 2495 <ESC>[Jによる画面クリア時にカレントバッファをスクロールアウトさせるようにするかどうかを、 コンフィグレーションできるようにした。 ts.ScrollWindowClearScreen を追加。 Revision 2495 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 2 15:16:21 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68331 byte(s) Diff to previous 2494 rev 1.6の修正で、余計な \ が表示される可能性があったのを修正。 Revision 2494 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 2 15:06:03 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68321 byte(s) Diff to previous 2492 Unicode Box DrawingsからDEC特殊文字への変換を制御する設定を追加。 Revision 2492 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 27 10:18:52 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68287 byte(s) Diff to previous 2491 Mouse Tracking Modeで不正な位置を報告する事があるのを修正した。 Revision 2491 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 25 12:32:33 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 68118 byte(s) Diff to previous 2487 受信漢字コードがUTF-8の時、罫線(Box Drawing:U+2500~U+257F)および一部の記号文字をDEC特殊文字を使って表示するようにした。 # [Ttssh2-devel 925]の実装 Revision 2487 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 23 15:11:07 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 67097 byte(s) Diff to previous 2486 USの場合が漏れてしまっているのを修正。 Revision 2486 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 23 02:58:12 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 67096 byte(s) Diff to previous 2485 負になる事が無いはずの変数の一部をunsigned intに変更。(値が正しいかの判定が簡略化できるため) Revision 2485 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 22 13:05:31 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 67145 byte(s) Diff to previous 2484 制御文字が来た時にもIgnoreStringから抜けるようにした -- 「不正な制御文字で画面がフリーズ2」の暫定対応。 http://sourceforge.jp/tracker/index.php?func=detail&aid=11916&group_id=1412&atid=5333 Revision 2484 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 22 12:39:44 2008 UTC (15 years, 10 months ago) by doda Original Path: teraterm/trunk/teraterm/vtterm.c File length: 67134 byte(s) Diff to previous 2476 ・インデント調整 ・行末の空白/タブを削除 Revision 2476 - (view) (download) (as text) (annotate) - [select for diffs] Added Mon Apr 14 17:35:50 2008 UTC (15 years, 10 months ago) by maya Original Path: teraterm/trunk/teraterm/vtterm.c File length: 67493 byte(s) ファイル移動に伴う修正 This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|