[BACK]Return to dump_entry.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tic

Diff for /src/usr.bin/tic/dump_entry.c between version 1.11 and 1.12

version 1.11, 2000/01/02 21:48:13 version 1.12, 2000/01/05 18:15:51
Line 769 
Line 769 
         if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen) {          if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen) {
             /*              /*
              * We pick on sgr because it's a nice long string capability that               * We pick on sgr because it's a nice long string capability that
              * is really just an optimization hack.               * is really just an optimization hack.  Another good candidate is
                * acsc since it is both long and unused by BSD termcap.
              */               */
             char *oldsgr = set_attributes;              char *oldsgr = set_attributes;
               char *oldacsc = acs_chars;
             set_attributes = ABSENT_STRING;              set_attributes = ABSENT_STRING;
             PRINTF("# (sgr removed to fit entry within %d bytes)\n",              PRINTF("# (sgr removed to fit entry within %d bytes)\n",
                 critlen);                  critlen);
             if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen) {              if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen) {
                   acs_chars = ABSENT_STRING;
                   PRINTF("# (acsc removed to fit entry within %d bytes)\n",
                       critlen);
               }
               if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen) {
                 int oldversion = tversion;                  int oldversion = tversion;
   
                 tversion = V_BSD;                  tversion = V_BSD;
Line 795 
Line 802 
                 tversion = oldversion;                  tversion = oldversion;
             }              }
             set_attributes = oldsgr;              set_attributes = oldsgr;
               acs_chars = oldacsc;
         }          }
     }      }
   

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12