In rc (see vars.c) this function is called when TERM or TERMCAP are changed. This is necessary if you're using readline. A similar change should be made to es. -Calvin