36 #include "EST_String.h"
37 #include "EST_cutils.h"
40 #include "siodeditline.h"
42 int siod_repl(
int interactive)
47 repl_prompt = siod_primary_prompt;
50 histsize = siod_get_lval(
"editline_histsize",NULL);
52 editline_histsize = get_c_int(histsize);
53 editline_history_file = walloc(
char,strlen(siod_prog_name)+10);
54 sprintf(editline_history_file,
".%s_history",siod_prog_name);
55 if (siod_get_lval(
"editline_no_echo",NULL) != NULL)
58 siod_interactive = interactive;
60 siod_fancy_getc = siod_el_getc;
61 siod_fancy_ungetc = siod_el_ungetc;
62 retval = repl_driver(1,0,NULL);