Try this:
Probably ought to be
xterm (with X running and in a terminal window, that is). If it isn't, try (in the terminal window)
and see if that helps.
The characters you're seeing are the codes produced by the "special keys" for controlling the terminal (like back space, delete, home, end, page up, page down and the like). You probably don't have your TERM environment variable defined.
If you're on the console; i.e., X is not running, the TERM value may be
linux (rather than
console). Use an editor (like
vi) and look at
/etc/termcap to see if there is an entry for
linux and, if not, for
console. Then, on the console (not a terminal window in X))
and see if that helps.
So, with X running, TERM should be
xterm; with X not running, TERM should be
linux or, maybe,
console. Somewhere in the log in system the TERM environment variable will be set, can't tell you where that might be in Debian but it ought to be somewhere in
/etc (you can
grep TERM and probably find the file).
Hope this helps some.