On Sat, 2 Mar 1996, Guy Maor wrote: > find /usr/lib/terminfo \( -type f -o -type l \) -printf '%f\n' | \ > xargs -n 1 infocmp -C -r Kai's hypothesis is correct. After doing TERMCAP=$(infocmp -C -r xterm) emacs gdb and shell both work fine. Apparently even though emacs was compiled to use terminfo (with #define TERMINFO in linux.h), it pulls a definition from the TERMCAP env variable if it's there. Guy