dosemu cannot be started in xterm

Support knowledgebase (dosemu)
Applies to

SuSE Linux: All versions

Symptom:

If dosemu is started in a xterm, the following error message appears:
  ERROR: Terminal not powerful enough for SLang.

Cause:

xterm sets the variable TERMCAP to co#80:li#24:. As a result nearly the entire entry for the terminal type xterm is missing in /etc/termcap or /usr/lib/terminfo/x/xterm.

Solution:

Add the following line to your ~/.bashrc in your HOME directory:
unset TERMCAP.
If you do not have any ~/.bashrc, you have to create it. Afterwards try starting a xterm in order to call dosemu.
Keywords: DOSEMU, TERM, TERMCAP, TERMINFO

SDB-dosemu, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 25. Sep 1996
SuSE Linux AG - Last generated: 24. Apr 2002 by sdb (sdb_gen 1.40.0)