Try changing TERM to screen-256color