TERM=screen-256color if R in external terminal.