Changeset 25409

Show
Ignore:
Timestamp:
05/09/08 21:48:57 (6 days ago)
Author:
mmu_man
Message:
- some more ANSI attributes
- changed comments to pragma comments for parse tables as it's huge, but sadly Pe doesn't make them clickable in the function list...
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • haiku/trunk/src/apps/terminal/TermParse.cpp

    r25401 r25409  
    674674                                                case 7: /* Inverse      */ 
    675675                                                        attr |= INVERSE; 
     676                                                        break; 
     677 
     678                                                case 22:        /* Not Bold     */ 
     679                                                        attr &= ~BOLD; 
     680                                                        break; 
     681 
     682                                                case 24:        /* Not Underline        */ 
     683                                                        attr &= ~UNDERLINE; 
     684                                                        break; 
     685 
     686                                                case 27:        /* Not Inverse  */ 
     687                                                        attr &= ~INVERSE; 
    676688                                                        break; 
    677689 
  • haiku/trunk/src/apps/terminal/VTPrsTbl.c

    r25401 r25409  
    3434#define USE_ISO2022 
    3535 
    36 int gUTF8GroundTable[] =        /* UTF8 coding ground table */ 
     36// #pragma mark UTF8 coding ground table 
     37int gUTF8GroundTable[] = 
    3738{ 
    3839/*      NUL             SOH             STX             ETX     */ 
     
    358359}; 
    359360 
    360 int gCS96GroundTable[] =        /* charset 96 table */ 
     361// #pragma mark charset 96 table 
     362int gCS96GroundTable[] = 
    361363{ 
    362364/*      NUL             SOH             STX             ETX     */ 
     
    682684}; 
    683685 
     686// #pragma mark ISO8859 table 
    684687int gISO8859GroundTable[] = 
    685688{ 
     
    10061009}; 
    10071010 
    1008 int gCsiTable[] =               /* ESC [ */ 
     1011// #pragma mark ESC [ - CSI table 
     1012int gCsiTable[] = 
    10091013{ 
    10101014/*      NUL             SOH             STX             ETX     */ 
     
    13301334}; 
    13311335 
    1332 int gDecTable[] =               /* ESC [ ? */ 
     1336// #pragma mark ESC [ ? - DEC table 
     1337int gDecTable[] = 
    13331338{ 
    13341339/*      NUL             SOH             STX             ETX     */ 
     
    16711676}; 
    16721677 
    1673 int gEscIgnoreTable[] =         /* CASE_ESC_IGNORE */ 
     1678// #pragma mark CASE_ESC_IGNORE table 
     1679int gEscIgnoreTable[] = 
    16741680{ 
    16751681/*      NUL             SOH             STX             ETX     */ 
     
    19962002}; 
    19972003 
    1998 int gEscTable[] =               /* ESC */ 
     2004// #pragma mark ESC table 
     2005int gEscTable[] = 
    19992006{ 
    20002007/*      NUL             SOH             STX             ETX     */ 
     
    23382345}; 
    23392346 
    2340 int gIesTable[] =               /* CASE_IGNORE_ESC */ 
     2347// #pragma mark CASE_IGNORE_ESC table 
     2348int gIesTable[] = 
    23412349{ 
    23422350/*      NUL             SOH             STX             ETX     */ 
     
    26622670}; 
    26632671 
    2664 int gIgnoreTable[] =            /* CASE_IGNORE_STATE */ 
     2672// #pragma mark CASE_IGNORE_STATE table 
     2673int gIgnoreTable[] = 
    26652674{ 
    26662675/*      NUL             SOH             STX             ETX     */ 
     
    29862995}; 
    29872996 
    2988 int gScrTable[] =               /* ESC # */ 
     2997// #pragma mark ESC # - SCR table 
     2998int gScrTable[] = 
    29892999{ 
    29903000/*      NUL             SOH             STX             ETX     */ 
     
    33103320}; 
    33113321 
    3312 int gScsTable[] =               /* ESC ( etc. */ 
     3322// #pragma mark ESC ( - SCS table 
     3323int gScsTable[] = 
    33133324{ 
    33143325/*      NUL             SOH             STX             ETX     */ 
     
    37383749 
    37393750#ifdef USE_MBCS 
     3751// #pragma mark MBCS table 
    37403752int gMbcsTable[] = { 
    37413753/*      NUL             SOH             STX             ETX     */ 
     
    40614073}; 
    40624074 
     4075// #pragma mark SMBCS table 
    40634076int gSmbcsTable[] = { 
    40644077/*      NUL             SOH             STX             ETX     */ 
     
    43864399#endif 
    43874400 
    4388 int gSJISGroundTable[] =        /* Shift-JIS ground table. */ 
     4401// #pragma mark Shift-JIS ground table 
     4402int gSJISGroundTable[] = 
    43894403{ 
    43904404/*      NUL             SOH             STX             ETX     */