[BACK]Return to command.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Diff for /OpenXM_contrib/gnuplot/Attic/command.c between version 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2000/01/22 14:15:56 version 1.1.1.3, 2003/09/15 07:09:24
Line 248  int do_line()
Line 248  int do_line()
             (void) fputs("!\n", stderr);        /* why do we need this ? */              (void) fputs("!\n", stderr);        /* why do we need this ? */
         return (0);          return (0);
     }      }
     num_tokens = scanner(input_line);      num_tokens = scanner(&input_line, &input_line_len);
     c_token = 0;      c_token = 0;
     while (c_token < num_tokens) {      while (c_token < num_tokens) {
         if (command())          if (command())
Line 728  void replotrequest()
Line 728  void replotrequest()
     plot_token = 0;             /* whole line to be saved as replot line */      plot_token = 0;             /* whole line to be saved as replot line */
   
     screen_ok = FALSE;      screen_ok = FALSE;
     num_tokens = scanner(input_line);      num_tokens = scanner(&input_line, &input_line_len);
     c_token = 1;                /* skip the 'plot' part */      c_token = 1;                /* skip the 'plot' part */
     if (is_3d_plot)      if (is_3d_plot)
         plot3drequest();          plot3drequest();
Line 961  int toplevel;
Line 961  int toplevel;
     /* huge static variables (1k each). Instead we dynamically allocate them */      /* huge static variables (1k each). Instead we dynamically allocate them */
     /* on the first call to this function...                                 */      /* on the first call to this function...                                 */
     if (helpbuf == NULL) {      if (helpbuf == NULL) {
         helpbuf = gp_alloc((unsigned long) MAX_LINE_LEN, "help buffer");          helpbuf = gp_alloc(MAX_LINE_LEN, "help buffer");
         prompt = gp_alloc((unsigned long) MAX_LINE_LEN, "help prompt");          prompt = gp_alloc(MAX_LINE_LEN, "help prompt");
         helpbuf[0] = prompt[0] = 0;          helpbuf[0] = prompt[0] = 0;
     }      }
     if (toplevel)      if (toplevel)
Line 1006  int toplevel;
Line 1006  int toplevel;
                     else                      else
                         (void) strcpy(prompt, "Help topic: ");                          (void) strcpy(prompt, "Help topic: ");
                     read_line(prompt);                      read_line(prompt);
                     num_tokens = scanner(input_line);                      num_tokens = scanner(&input_line, &input_line_len);
                     c_token = 0;                      c_token = 0;
                     more_help = !(END_OF_COMMAND);                      more_help = !(END_OF_COMMAND);
                     if (more_help)                      if (more_help)

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>