|
Lines 140-145
Link Here
|
| 140 |
int flags; |
140 |
int flags; |
| 141 |
char *name, *p; |
141 |
char *name, *p; |
| 142 |
|
142 |
|
|
|
143 |
if (INTERRUPTED(sp)) |
| 144 |
return (1); |
| 145 |
|
| 143 |
NEEDFILE(sp, cmdp); |
146 |
NEEDFILE(sp, cmdp); |
| 144 |
|
147 |
|
| 145 |
/* All write commands can have an associated '!'. */ |
148 |
/* All write commands can have an associated '!'. */ |
|
Lines 323-330
Link Here
|
| 323 |
for (; fline <= tline; ++fline, ++lcnt) { |
326 |
for (; fline <= tline; ++fline, ++lcnt) { |
| 324 |
/* Caller has to provide any interrupt message. */ |
327 |
/* Caller has to provide any interrupt message. */ |
| 325 |
if ((lcnt + 1) % INTERRUPT_CHECK == 0) { |
328 |
if ((lcnt + 1) % INTERRUPT_CHECK == 0) { |
| 326 |
if (INTERRUPTED(sp)) |
|
|
| 327 |
break; |
| 328 |
if (!silent) { |
329 |
if (!silent) { |
| 329 |
gp->scr_busy(sp, msg, msg == NULL ? |
330 |
gp->scr_busy(sp, msg, msg == NULL ? |
| 330 |
BUSY_UPDATE : BUSY_ON); |
331 |
BUSY_UPDATE : BUSY_ON); |