[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.103 and 1.104

version 1.103, 2020/06/25 20:38:41 version 1.104, 2020/07/26 21:59:16
Line 131 
Line 131 
 #define CMD_up          25  #define CMD_up          25
 #define CMD_pagedown    26  #define CMD_pagedown    26
 #define CMD_pageup      27  #define CMD_pageup      27
   #define CMD_grep2       28
   
 static void  static void
 usage(void)  usage(void)
Line 631 
Line 632 
         char ch, *iptr;          char ch, *iptr;
         int change, i;          int change, i;
         struct pollfd pfd[1];          struct pollfd pfd[1];
         static char command_chars[] = "\f qh?en#sdkriIuSopCHg+P109)(";          static char command_chars[] = "\f qh?en#sdkriIuSopCHg+P109)(/";
   
         /*          /*
          * assume valid command unless told           * assume valid command unless told
Line 937 
Line 938 
                         break;                          break;
   
                 case CMD_grep:                  case CMD_grep:
                   case CMD_grep2:
                         new_message(MT_standout,                          new_message(MT_standout,
                             "Grep command name: ");                              "Grep command name: ");
                         if (readline(tempbuf, sizeof(tempbuf)) > 0) {                          if (readline(tempbuf, sizeof(tempbuf)) > 0) {

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104