version 1.2, 2000/12/15 07:55:03 |
version 1.5, 2009/08/25 08:01:03 |
Line 259 void read_and_insert() |
|
Line 259 void read_and_insert() |
|
} |
} |
} |
} |
|
|
|
static char history_path[BUFSIZ]; |
|
static char history_errmsg[BUFSIZ]; |
|
|
void init_input_history() |
void init_input_history() |
{ |
{ |
|
char rootdir[BUFSIZ]; |
|
get_rootdir(rootdir,sizeof(rootdir),history_errmsg); |
|
sprintf(history_path,"%s\\bin\\%s",rootdir,HISTORY); |
init_hist(MAXHIST); |
init_hist(MAXHIST); |
} |
} |
|
|
void write_input_history() |
void write_input_history() |
{ |
{ |
write_hist(HISTORY); |
write_hist(history_path); |
} |
} |
|
|
void read_input_history() |
void read_input_history() |
{ |
{ |
read_hist(HISTORY); |
read_hist(history_path); |
} |
} |
|
|
void send_intr() { |
void send_intr() { |