[BACK]Return to cmd-server-info.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/Attic/cmd-server-info.c between version 1.1 and 1.2

version 1.1, 2009/06/01 22:58:49 version 1.2, 2009/06/03 19:37:27
Line 23 
Line 23 
 #include <string.h>  #include <string.h>
 #include <time.h>  #include <time.h>
 #include <unistd.h>  #include <unistd.h>
   #include <vis.h>
   
 #include "tmux.h"  #include "tmux.h"
   
Line 156 
Line 157 
                                     ent->code, ent->name);                                      ent->code, ent->name);
                                 break;                                  break;
                         case TTYCODE_STRING:                          case TTYCODE_STRING:
                                 clean_string(                                  strnvis(out, code->value.string, sizeof out,
                                     code->value.string, out, sizeof out);                                      VIS_OCTAL|VIS_TAB|VIS_NL);
                                 ctx->print(ctx, "%2u: %s: (string) %s",                                  ctx->print(ctx, "%2u: %s: (string) %s",
                                     ent->code, ent->name, out);                                      ent->code, ent->name, out);
                                 break;                                  break;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2