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

Diff for /src/usr.bin/top/top.c between version 1.39 and 1.40

version 1.39, 2005/06/08 22:36:43 version 1.40, 2005/06/17 09:40:48
Line 97 
Line 97 
 int topn = Default_TOPN;  int topn = Default_TOPN;
 int no_command = Yes;  int no_command = Yes;
 int old_system = No;  int old_system = No;
   int show_args = No;
   
 #if Default_TOPN == Infinity  #if Default_TOPN == Infinity
 char topn_specified = No;  char topn_specified = No;
Line 125 
Line 126 
 #define CMD_system      15  #define CMD_system      15
 #define CMD_order       16  #define CMD_order       16
 #define CMD_pid         17  #define CMD_pid         17
   #define CMD_command     18
   
 static void  static void
 usage(void)  usage(void)
Line 512 
Line 514 
         int change, i;          int change, i;
         struct pollfd pfd[1];          struct pollfd pfd[1];
         uid_t uid;          uid_t uid;
         static char command_chars[] = "\f qh?en#sdkriIuSop";          static char command_chars[] = "\f qh?en#sdkriIuSopC";
   
         /*          /*
          * assume valid command unless told           * assume valid command unless told
Line 846 
Line 848 
                                         exit(1);                                          exit(1);
                         } else                          } else
                                 clear_message();                                  clear_message();
                           break;
   
                   case CMD_command:
                           show_args = (show_args == No) ? Yes : No;
                         break;                          break;
   
                 default:                  default:

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40