January 09, 2007

Controlling Characters

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

del.icio.us | Digg it | Furl | Yahoo MyWeb | Create Social Bookmark Links


Posted by jdarnold at 05:47 AM | TrackBack
Comments

Post a comment

(Javascript required)

(Not published)

Comments: (you may use HTML tags for style)