Powershell doesn't set the TERM environment variable
when starting a shell. This means that many programs
including man, emacs and mutt don't work correctly. To
solve the problem, you might set the TERM environment
variable to xterm before starting a shell. When I do
this manually, everything works fine.