version 1.1.1.2, 2000/01/22 14:15:56 |
version 1.1.1.3, 2003/09/15 07:09:24 |
|
|
(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(); |
|
|
/* 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) |
|
|
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) |