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]
/
trunk
/
teraterm
/
teraterm
/
vtterm.c
Diff of /trunk/teraterm/teraterm/vtterm.c
Parent Directory
|
Revision Log
|
Patch
revision
5572
by
yutakapon
, Sun Apr 20 11:05:42 2014 UTC
revision
5588
by
doda
, Mon May 19 05:19:51 2014 UTC
#
Line 770
void PutDebugChar(BYTE b)
Line 770
void PutDebugChar(BYTE b)
770
int i = 0;
int i = 0;
771
772
if (DebugFlag!=DEBUG_FLAG_NONE) {
if (DebugFlag!=DEBUG_FLAG_NONE) {
773
InsertMode = FALSE;
InsertMode = FALSE;
774
AutoWrapMode = TRUE;
AutoWrapMode = TRUE;
775
776
if (DebugFlag==DEBUG_FLAG_HEXD) {
if (DebugFlag==DEBUG_FLAG_HEXD) {
777
_snprintf(buff,3,"%02X",(unsigned int) b);
_snprintf(buff, 3, "%02X", (unsigned int) b);
778
779
for (;i<2;i++)
for ( ; i<2; i++)
780
PutChar(buff[i]);
PutChar(buff[i]);
781
PutChar(' ');
PutChar(' ');
782
}
}
783
else if (DebugFlag==DEBUG_FLAG_NORM) {
else if (DebugFlag==DEBUG_FLAG_NORM) {
784
785
if ((b & 0x80) == 0x80)
if ((b & 0x80) == 0x80) {
786
{
UpdateStr();
787
UpdateStr();
CharAttr.Attr = AttrReverse;
788
CharAttr.Attr = AttrReverse;
b = b & 0x7f;
789
b = b & 0x7f;
}
790
}
791
if (b<=US) {
792
if (b<=US)
PutChar('^');
793
{
PutChar((char)(b+0x40));
794
PutChar('^');
}
795
PutChar((char)(b+0x40));
else if (b==DEL) {
796
}
PutChar('<');
797
else if (b==DEL)
PutChar('D');
798
{
PutChar('E');
799
PutChar('<');
PutChar('L');
800
PutChar('D');
PutChar('>');
801
PutChar('E');
}
802
PutChar('L');
else
803
PutChar('>');
PutChar(b);
804
}
}
805
else
806
PutChar(b);
if (CharAttr.Attr != AttrDefault) {
807
}
UpdateStr();
808
CharAttr.Attr = AttrDefault;
809
if (CharAttr.Attr != AttrDefault)
}
{
UpdateStr();
CharAttr.Attr = AttrDefault;
}
810
}
}
811
}
}
812
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.5572
changed lines
Added in v.5588
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26