More mucking about with ansi-term.