Getting Emacs ansi-term and Zsh to play nicely

Posted by mronge on Stack Overflow See other posts from Stack Overflow or by mronge
Published on 2008-12-15T04:01:59Z Indexed on 2010/05/21 1:50 UTC
Read the original article Hit count: 205

Filed under:
|
|

I've been trying to use Zsh within my emacs session, without emacs remapping all the Zsh keys. I found ansi-term works pretty well for this but, I'm still having some problems. I was getting lots of junk characters outputted with, I was able to fix it with:

## Setup proper term information for emacs ansi-term mode
[[ $TERM == eterm-color ]] && export TERM=xterm

But everything still doesn't work perfectly. Now I am having trouble with output being drawn offscreen , especially when using something like C-r for search.

Any thoughts. Anyone else have Zsh + Ansi-term working properly?

© Stack Overflow or respective owner

Related posts about emacs

Related posts about zsh