I normally use vt100 when in command-line mode but I needed a different terminal for dpkg-reconfigure exim4-config. The garbage I get is what one usually receives when the application is expecting to see a cons25 terminal so that is what I set $TERM to as in:
export TERM="cons25" It works much better but there are still lots of raw escape sequences that pop up when the next screen is about to display so my question is whether there is a better choice of terminal keeping in mind that this is the command line. At least with cons25, the arrows seem to work and the cursor ends up in the right place. On a scale of 1-10, this problem is maybe a 3, not a show stopper but a bit annoying and usually indicates there are other things that may not work right. Martin McCormick