Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/vtterm.c
Parent Directory
| Revision Log
| Patch
| 603 |
|
|
| 604 |
void PutDebugChar(BYTE b) |
void PutDebugChar(BYTE b) |
| 605 |
{ |
{ |
| 606 |
|
static BYTE buff[3]; |
| 607 |
|
int i = 0; |
| 608 |
|
|
| 609 |
|
if (DebugFlag!=DEBUG_FLAG_NONE) { |
| 610 |
InsertMode = FALSE; |
InsertMode = FALSE; |
| 611 |
AutoWrapMode = TRUE; |
AutoWrapMode = TRUE; |
| 612 |
|
|
| 613 |
|
if (DebugFlag==DEBUG_FLAG_HEXD) { |
| 614 |
|
_snprintf(buff,3,"%02X",(unsigned int) b); |
| 615 |
|
|
| 616 |
|
for (;i<2;i++) |
| 617 |
|
PutChar(buff[i]); |
| 618 |
|
PutChar(' '); |
| 619 |
|
} |
| 620 |
|
else if (DebugFlag==DEBUG_FLAG_NORM) { |
| 621 |
|
|
| 622 |
if ((b & 0x80) == 0x80) |
if ((b & 0x80) == 0x80) |
| 623 |
{ |
{ |
| 624 |
UpdateStr(); |
UpdateStr(); |
| 641 |
} |
} |
| 642 |
else |
else |
| 643 |
PutChar(b); |
PutChar(b); |
| 644 |
|
} |
| 645 |
|
|
| 646 |
if (CharAttr.Attr != AttrDefault) |
if (CharAttr.Attr != AttrDefault) |
| 647 |
{ |
{ |
| 648 |
UpdateStr(); |
UpdateStr(); |
| 649 |
CharAttr.Attr = AttrDefault; |
CharAttr.Attr = AttrDefault; |
| 650 |
} |
} |
| 651 |
|
} |
| 652 |
} |
} |
| 653 |
|
|
| 654 |
void PrnParseControl(BYTE b) // printer mode |
void PrnParseControl(BYTE b) // printer mode |
| 3495 |
|
|
| 3496 |
while ((c>0) && (ChangeEmu==0)) |
while ((c>0) && (ChangeEmu==0)) |
| 3497 |
{ |
{ |
| 3498 |
if (DebugFlag) |
if (DebugFlag!=DEBUG_FLAG_NONE) |
| 3499 |
PutDebugChar(b); |
PutDebugChar(b); |
| 3500 |
else { |
else { |
| 3501 |
switch (ParseMode) { |
switch (ParseMode) { |
|
|
Legend:
| Removed from v.3491 |
|
| changed lines |
| |
Added in v.3637 |
|
|
|