Mercurial > emacs
view etc/e/eterm.ti @ 83127:5182815e0ee1
Make terminal_coding and keyboard_coding display-local.
src/coding.c: Include frame.h and termhooks.h.
(terminal_coding, keyboard_coding): Remove.
(Fset_terminal_coding_system_internal, Fterminal_coding_system):
Use the selected frame's terminal coding system.
(Fset_safe_terminal_coding_system_internal): Fix typo.
(Fset_keyboard_coding_system_internal, Fkeyboard_coding_system):
Use the selected frame's keyboard coding system.
(init_coding_once): Don't initialize keyboard_coding and terminal_coding.
src/coding.h (terminal_coding, keyboard_coding): Remove.
src/termhooks.h (terminal_coding, keyboard_coding): New members of
struct display.
(FRAME_TERMINAL_CODING, FRAME_KEYBOARD_CODING): New macros.
src/termchar.h (kboard): Cosmetic change.
src/term.c (encode_terminal_code): Add coding parameter.
(tty_write_glyphs): Use the display-local terminal coding system.
(create_display): Allocate and initialize coding systems.
(delete_display): Free coding systems.
src/xdisp.c (decode_mode_spec): Use display-local coding systems.
src/Makefile.in: Fix dependencies for termchar.h and termhooks.h.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-167
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 23 May 2004 01:53:23 +0000 |
parents | e96ffe544684 |
children | 8fa869733358 |
line wrap: on
line source
eterm, lines#24,cols#80, colors#8,pairs#64, cuu1=\E[A,cud1=\n,cub1=\b,cuf1=\E[C,home=\E[H,cr=\r, cuu=\E[%p1%dA,cud=\E[%p1%dB,cub=\E[%p1%dD,cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, ind=\n,csr=\E[%i%p1%d;%p2%dr, il1=\E[L,il=\E[%p1%dL, clear=\E[H\E[J,ed=\E[J,el=\E[K,el1=\E[1K, dl1=\E[M,dl=\E[%p1%dM,dch1=\E[P,dch=\E[%p1%dP, smir=\E[4h,rmir=\E[4l,ich=\E[%p1%d@,mir, smcup=\E7\E[?47h,rmcup=\E[2J\E[?47l\E8, ht=\t,khome=\E[1~,kend=\E[4~,knp=\E[6~,kpp=\E[5~, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, smso=\E[7m,rmso=\E[m, smul=\E[4m,rmul=\E[m, rev=\E[7m,bold=\E[1m,sgr0=\E[m, invis=\E[8m, setab=\E[%p1%{40}%+%dm, setaf=\E[%p1%{30}%+%dm, bel=^G,xenl,am,