I have a problem with zsh when run as a process in Emacs, where some of the escape sequences used by zsh aren't interpretted correctly by the emacs terminal, and thus I have weird characters on my prompt string. I went on a quest to figure out what they were and I came across this excellently geeky page, where ASNI control sequences are delineated. Turns out I'm have problems with "esc [J" and "esc [k", which are line cleanup commands. I'm not sure how to get zsh to not use them, or what TERM I should use in the emacs term to get it to understand them. So I don't do shells in Emacs any more.
xterm / Escape Sequences
No comments:
Post a Comment