You probably haven't got the PROMPT_COMMAND set in your ~/.bashrc for mlterm. First, check what your terminal reports itself as:
echo $TERM (type this in an mlterm)
I use urxvt, which reports as "rxvt-unicode".
Open up your ~/.bashrc in your favourite editor and check for the case-esac part where the PROMPT_COMMAND is set. It should look something like this:
Code:
case $TERM in
xterm*|rxvt|Eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
Edit the first case and add what your mlterm reports itself as. My urxvt reports as rxvt-unicode, so I'm adding that:
Code:
case $TERM in
xterm*|rxvt|Eterm|rxvt-unicode)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
Save your ~/.bashrc and exit. Try parsing the .bashrc again:
source ~/.bashrc.
Your window command should now be set to whatever you have PROMPT_COMMAND set to. There, finished!
Håkan