version 1.7, 2002/07/25 16:37:54 |
version 1.8, 2003/04/08 21:19:57 |
|
|
|
|
void grep_init(void); |
void grep_init(void); |
|
|
|
static char compile_last_command[NFILEN] = "make "; |
|
|
/* |
/* |
* Hints for next-error |
* Hints for next-error |
* |
* |
|
|
BUFFER *bp; |
BUFFER *bp; |
MGWIN *wp; |
MGWIN *wp; |
|
|
(void)strlcpy(prompt, "make ", sizeof prompt); |
(void)strlcpy(prompt, compile_last_command, sizeof prompt); |
if (eread("Compile command: ", prompt, NFILEN, EFDEF|EFNEW|EFCR) == ABORT) |
if (eread("Compile command: ", prompt, NFILEN, EFDEF|EFNEW|EFCR) == ABORT) |
return ABORT; |
return ABORT; |
|
(void)strlcpy(compile_last_command, prompt, sizeof compile_last_command); |
|
|
(void)snprintf(command, sizeof command, "%s 2>&1", prompt); |
(void)snprintf(command, sizeof command, "%s 2>&1", prompt); |
|
|