Develop and Download Open Source Software

Browse Subversion Repository

Log of /branches/ttcomtester/teraterm/teraterm/telnet.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

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: 18657 byte(s)
Diff to previous 9689
add communication test tool

Revision 9689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 13 12:54:46 2022 UTC (2 years, 1 month ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 18657 byte(s)
Diff to previous 9688
プロトタイプを厳密にした

- 引数未指定をvoid指定に変更
  - func() -> func(void)
- ファイル内のみの関数に static を付けた

Revision 9688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 13 12:54:35 2022 UTC (2 years, 1 month ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 18518 byte(s)
Diff to previous 9468
戻り値の誤りを修正

Revision 9468 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 14 14:51:56 2021 UTC (2 years, 4 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 18518 byte(s)
Diff to previous 9366
telnet のログをログフォルダに作成するようにした

Revision 9366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 15 13:13:58 2021 UTC (2 years, 6 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 18379 byte(s)
Diff to previous 9365
switch に default: を追加

- gcc で警告が出る
  - warning: enumeration value 'Yes' not handled in switch [-Wswitch] 等
  - switch() で enum を使用しているとき、

Revision 9365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 15 13:13:46 2021 UTC (2 years, 6 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17945 byte(s)
Diff to previous 9364
変数、関数をstaticにし変更した

- nop_interval
- TelSendNOP()
- TelStopKeepAliveThread()

Revision 9364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 15 13:13:34 2021 UTC (2 years, 6 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17856 byte(s)
Diff to previous 9048
telnet.c で win16api.c の関数を使用しないようにした

- telnet.c に組み込んだ
- TELNET.LOG の closeに失敗していたので修正

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/telnet.c
File length: 17453 byte(s)
Diff to previous 7931
ソースファイルの著作権表記の "最後の発行の年" を削除

ticket #40996

Revision 7931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 9 13:37:01 2019 UTC (4 years, 6 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17457 byte(s)
Diff to previous 7930
_beginthreadex()の戻り値チェックを修正

- エラー時の戻り値は0

Revision 7930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 9 13:36:46 2019 UTC (4 years, 6 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17421 byte(s)
Diff to previous 7341
不要なHANDLEキャストを削除

- コンパイラの型チェックを積極的に利用するのが目的
- 出力されるコードは特に変化ない

Revision 7341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 22 16:18:08 2018 UTC (5 years, 2 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17404 byte(s)
Diff to previous 6964
16bitAPIを使用しない

Revision 6964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 09:40:55 2017 UTC (6 years, 4 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17378 byte(s)
Diff to previous 6963
相手から送られて来たサブオプション中の連続した IAC を正しく扱えていなかったのを修正。

連続した IAC は値 255 のデータとして扱う必要がある。

Revision 6963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 09:40:53 2017 UTC (6 years, 4 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17149 byte(s)
Diff to previous 6962
telnet 接続時、端末の幅/高さが 255 の時に端末サイズがサーバに伝わらないのを修正 #37605

telnet サブオプションで値に 255 を使う時は 255(IAC) を二つ連続で送る必要がある。

RFC 855:
|   Finally, if parameters in an option "subnegotiation" include a byte
|   with a value of 255, it is necessary to double this byte in
|   accordance the general TELNET rules.

HIBYTE の方が 255 になる事はないだろうが、念の為対応しておく。

Revision 6962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 09:40:50 2017 UTC (6 years, 4 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17039 byte(s)
Diff to previous 6961
対応するサブオプションの数が増えてきたので、switch を使うようにした。

Revision 6961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 09:40:46 2017 UTC (6 years, 4 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 16991 byte(s)
Diff to previous 6960
インデント変更

Revision 6960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 17:53:34 2017 UTC (6 years, 4 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17665 byte(s)
Diff to previous 6959
TELNET TERMINAL SPEED OPTION (RFC 1079) に対応 #37599

FreeBSD の telnetd に -D report オプションを指定した状態で、TERMINAL
SPEED OPTION を受け取っているのを確認。ただし TTY のスピードは変わらず。

設定は SSH と共通で TerminalSpeed を使用する。
Transmit / Receive は送信側 (Tera Term) から見た方向なので、

・Transmit = SSH TTY Mode ISPEED
・Receive  = SSH TTY Mode OSPEED

としている。

Revision 6959 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 17:53:30 2017 UTC (6 years, 4 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 17331 byte(s)
Diff to previous 6841
インデント修正

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/telnet.c
File length: 17321 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/telnet.c
File length: 17325 byte(s)
Diff to previous 6435
TeraTerm Project としてのライセンス表記を追加

とりあえず Tera Term 本体分。
TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。

TODO: 過去に取り込んだパッチに関する著作権表記の追加

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/telnet.c
File length: 15859 byte(s)
Diff to previous 3531
・行末の空白/タブを削除
・インデント調整

Revision 3531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 22 05:08:27 2009 UTC (14 years, 8 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 15862 byte(s)
Diff to previous 3530
ECHOオプションによる行単位送信モード無効化が TelEcho=on の時のみしか働いていなかったのを修正。
# r3550で間違えて削除したし


Revision 3530 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 22 04:59:08 2009 UTC (14 years, 8 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 15690 byte(s)
Diff to previous 3494
相手側からのSGA要求でも行単位送信モードを無効にするようにした。

標準でssh接続するような設定になっている場合、Telnet=offなので/nosshを付けただけだとTelnet接続ではなくその他の接続となる。
この場合、自分からはTelnetオプションのネゴシエーションは行わないため、行単位送信モードが無効になる事はない。
これだと問題になる場合があるため、暫定として相手側からのSGA要求でも行単位送信モードを無効にする。
本来ならばその他の接続だとしても、まだオプションネゴシエーションが行われていない場合は相手側からTelnetコマンドが送られてきたら自分から(Activeに)オプションネゴシエーションを開始すべき。


Revision 3494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 15 18:37:05 2009 UTC (14 years, 8 months ago) by doda
Original Path: trunk/teraterm/teraterm/telnet.c
File length: 15613 byte(s)
Diff to previous 3227
Line at a timeモードに仮対応


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/telnet.c
File length: 15483 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/telnet.c
File length: 14632 byte(s)
Diff to previous 2476
CVS から SVN へ移行: trunk に集約

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/telnet.c
File length: 14632 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.

  Diffs between and
  Type of Diff should be a

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26