Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
branches
/
ttcomtester
/
teraterm
/
teraterm
/
commlib.c
Diff of /branches/ttcomtester/teraterm/teraterm/commlib.c
Parent Directory
|
Revision Log
|
Patch
revision
10586
by
zmatsuo
, Mon Feb 6 13:26:02 2023 UTC
revision
10587
by
zmatsuo
, Mon Feb 6 13:26:12 2023 UTC
#
Line 1075
void CommSend(PComVar cv)
Line 1075
void CommSend(PComVar cv)
1075
Max = cv->OutBuffCount;
Max = cv->OutBuffCount;
1076
break;
break;
1077
case IdSerial:
case IdSerial:
1078
ClearCommError(cv->ComID,&DErr,&Stat);
Max = 1;
1079
Max = OutBuffSize - Stat.cbOutQue;
if (cv->ts->Flow == IdFlowHard || cv->ts->Flow == IdFlowHardDsrDtr) {
1080
// RTS/CTS, DSR/DTR
1081
DWORD modem_state;
1082
GetCommModemStatus(cv->ComID, &modem_state);
1083
DWORD mask = cv->ts->Flow == IdFlowHard ? MS_CTS_ON : MS_DSR_ON;
1084
if ((modem_state & mask) == 0) {
1085
// 信号線がアクティブではない、送信しない
1086
Max = 1;
1087
1088
DCB dcb;
1089
GetCommState(cv->ComID, &dcb);
1090
int a = 0;
1091
}
1092
}
1093
1094
if (Max != 0) {
1095
ClearCommError(cv->ComID, &DErr, &Stat);
1096
Max = OutBuffSize - Stat.cbOutQue;
1097
}
1098
break;
break;
1099
case IdFile:
case IdFile:
1100
Max = cv->OutBuffCount;
Max = cv->OutBuffCount;
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.10586
changed lines
Added in v.10587
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26