371 |
} |
} |
372 |
|
|
373 |
evalstring(strcpy(stalloc(strlen(s) + 1), s), |
evalstring(strcpy(stalloc(strlen(s) + 1), s), |
374 |
~0); |
0); |
375 |
if (displayhist && hist) { |
if (displayhist && hist) { |
376 |
/* |
/* |
377 |
* XXX what about recursive and |
* XXX what about recursive and |
396 |
editcmd = stalloc(strlen(editor) + strlen(editfile) + 2); |
editcmd = stalloc(strlen(editor) + strlen(editfile) + 2); |
397 |
sprintf(editcmd, "%s %s", editor, editfile); |
sprintf(editcmd, "%s %s", editor, editfile); |
398 |
/* XXX - should use no JC command */ |
/* XXX - should use no JC command */ |
399 |
evalstring(editcmd, ~0); |
evalstring(editcmd, 0); |
400 |
INTON; |
INTON; |
401 |
readcmdfile(editfile); /* XXX - should read back - quick tst */ |
readcmdfile(editfile); /* XXX - should read back - quick tst */ |
402 |
unlink(editfile); |
unlink(editfile); |