rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 51ca079c2f13e1e66e944082be36e34e382eaa76
parent 3cf6580197ccd9300af633502e746a1b5c22c176
Author: tgoodwin <tgoodwin>
Date:   Wed,  8 Jul 1998 16:54:31 +0000

don't declare rl_reset_terminal()

Diffstat:
Mvar.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/var.c b/var.c @@ -18,11 +18,9 @@ extern void varassign(char *name, List *def, bool stack) { new = get_var_place(name, stack); new->def = newdef; new->extdef = NULL; -#if READLINE /* need to reset readline() every time TERM or TERMCAP changes */ - if (interactive && (streq(name, "TERM") || streq(name, "TERMCAP"))) { - extern void rl_reset_terminal(char *); +#if READLINE + if (interactive && (streq(name, "TERM") || streq(name, "TERMCAP"))) rl_reset_terminal(NULL); - } #endif }