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

Diff for /src/usr.bin/col/col.c between version 1.15 and 1.16

version 1.15, 2015/05/08 12:30:27 version 1.16, 2015/05/08 16:30:07
Line 295 
Line 295 
   
         /* make sure we leave things in a sane state */          /* make sure we leave things in a sane state */
         if (last_set != CS_NORMAL)          if (last_set != CS_NORMAL)
                 PUTC('\017');                  PUTC(SI);
   
         /* flush out the last few blank lines */          /* flush out the last few blank lines */
         if (max_line > this_line)          if (max_line > this_line)
Line 350 
Line 350 
         for (i = nb; --i >= 0;)          for (i = nb; --i >= 0;)
                 PUTC('\n');                  PUTC('\n');
         if (half) {          if (half) {
                 PUTC('\033');                  PUTC(ESC);
                 PUTC('\011');                  PUTC('\011');
                 if (!nb)                  if (!nb)
                         PUTC('\r');                          PUTC('\r');
Line 443 
Line 443 
                         if (c->c_set != last_set) {                          if (c->c_set != last_set) {
                                 switch (c->c_set) {                                  switch (c->c_set) {
                                 case CS_NORMAL:                                  case CS_NORMAL:
                                         PUTC('\017');                                          PUTC(SI);
                                         break;                                          break;
                                 case CS_ALTERNATE:                                  case CS_ALTERNATE:
                                         PUTC('\016');                                          PUTC(SO);
                                 }                                  }
                                 last_set = c->c_set;                                  last_set = c->c_set;
                         }                          }

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16