Last active
August 29, 2015 14:06
-
-
Save scottjacobsen/27565062eeecd6a19c70 to your computer and use it in GitHub Desktop.
Use this to fix issues with emacs term on osx. See http://stackoverflow.com/questions/8918910/weird-character-zsh-in-emacs-terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96, | |
# | |
# The code here is forced by the interface, and is not subject to | |
# copyright, constituting the only possible expression of the algorithm | |
# in this format. | |
# | |
# When updating this file, etc/e/eterm-color should be regenerated by | |
# running "make e/eterm-color" in the etc directory. | |
# Any change to this file should be done at the same time with a | |
# corresponding change to the TERMCAP environment variable in term.el. | |
# Comments in term.el specify where each of these capabilities is implemented. | |
colors#8, | |
cols#80, | |
lines#24, | |
pairs#64, | |
am, | |
mir, | |
msgr, | |
xenl, | |
bel=^G, | |
bold=\E[1m, | |
clear=\E[H\E[J, | |
cr=\r, | |
csr=\E[%i%p1%d;%p2%dr, | |
cub1=\b, | |
cub=\E[%p1%dD, | |
cud1=\n, | |
cud=\E[%p1%dB, | |
cuf1=\E[C, | |
cuf=\E[%p1%dC, | |
cup=\E[%i%p1%d;%p2%dH, | |
cuu1=\E[A, | |
cuu=\E[%p1%dA, | |
dch1=\E[P, | |
dch=\E[%p1%dP, | |
dl1=\E[M, | |
dl=\E[%p1%dM, | |
ed=\E[J, | |
el1=\E[1K, | |
el=\E[K, | |
home=\E[H, | |
ht=\t, | |
ich=\E[%p1%d@, | |
il1=\E[L, | |
il=\E[%p1%dL, | |
ind=\n, | |
invis=\E[8m, | |
kbs=^?, | |
kcub1=\EOD, | |
kcud1=\EOB, | |
kcuf1=\EOC, | |
kcuu1=\EOA, | |
kdch1=\E[3~, | |
kend=\E[4~, | |
khome=\E[1~, | |
kich1=\E[2~, | |
knp=\E[6~, | |
kpp=\E[5~, | |
op=\E[39;49m, | |
rc=\E8, | |
rev=\E[7m, | |
ri=\EM, | |
rmir=\E[4l, | |
rmso=\E[27m, | |
rmul=\E[24m, | |
rs1=\Ec, | |
sc=\E7, | |
setab=\E[%p1%{40}%+%dm, | |
setaf=\E[%p1%{30}%+%dm, | |
sgr0=\E[m, | |
smir=\E[4h, | |
smul=\E[4m, | |
smso=\E[7m, | |
u6=\E[%i%d;%dR, | |
u7=\E[6n, | |
# smcup=\E[?47h, | |
# rmcup=\E[?47l, | |
# rs2 may need to be added |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment