From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jianglong Chen Newsgroups: gmane.emacs.help Subject: Re: emacs display garbled Date: Fri, 16 Nov 2018 02:03:14 -0800 (PST) Message-ID: <3a33ebf8-cb1b-449a-99f8-07acb95c16a2@googlegroups.com> References: <602700ee-cbba-4184-bc46-d32bdc620b8b@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542362614 17412 195.159.176.226 (16 Nov 2018 10:03:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2018 10:03:34 +0000 (UTC) Injection-Date: Fri, 16 Nov 2018 10:03:14 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 16 11:03:30 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNayH-0004Rg-SY for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Nov 2018 11:03:30 +0100 Original-Received: from localhost ([::1]:43750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNb0O-0002cd-Hg for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Nov 2018 05:05:40 -0500 X-Received: by 2002:a6b:5105:: with SMTP id f5mr2877397iob.28.1542362594929; Fri, 16 Nov 2018 02:03:14 -0800 (PST) X-Received: by 2002:aed:2a0c:: with SMTP id c12mr39785qtd.2.1542362594759; Fri, 16 Nov 2018 02:03:14 -0800 (PST) Original-Path: usenet.stanford.edu!g188-v6no277762itg.0!news-out.google.com!y103-v6ni397ita.0!nntp.google.com!z5-v6no282069ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=45.78.57.84; posting-account=Q5ZqxwoAAADi07sr4Yw6nWfTg-98t91P Original-NNTP-Posting-Host: 45.78.57.84 Original-Xref: usenet.stanford.edu gnu.emacs.help:224561 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118690 Archived-At: =E5=9C=A8 2018=E5=B9=B411=E6=9C=8816=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=94 UT= C+8=E4=B8=8B=E5=8D=885:59:00=EF=BC=8CYuri Khan=E5=86=99=E9=81=93=EF=BC=9A > On Fri, Nov 16, 2018 at 4:25 PM Jianglong Chen wrote: >=20 > > The terminal emulator is iTerm2 and no any other terminal multiplexer w= ere used. > > > > $TERM=3Dxterm-256color >=20 > Okay, next step, is the terminfo database in CentOS 6.3 recent enough > that it knows about xterm-256color and has the correct definitions for > it? >=20 > Start your terminal emulator, log onto your remote CentOS machine, and > issue the following command: >=20 > $ infocmp -x >=20 > What does it say? # Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm-256color xterm-256color|xterm with 256 colors, OTbs, am, bce, ccc, km, mc5i, mir, msgr, npc, xenl, AX, colors#256, cols#80, it#8, lines#24, pairs#32767, acsc=3D``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=3D^G, blink=3D\E[5m, bold=3D\E[1m, cbt=3D\E[Z, civis=3D\E[?25l, clear=3D\E[H\E[2J, cnorm=3D\E[?12l\E[?25h, cr=3D^M, csr=3D\E[%i%p1%d;%p2%dr, cub=3D\E[%p1%dD, cub1=3D^H, cud=3D\E[%p1%dB, cud1=3D^J, cuf=3D\E[%p1%dC, cuf1=3D\E[C, cup=3D\E[%i%p1%d;%p2%dH, cuu=3D\E[%p1%dA, cuu1=3D\E[A, cvvis=3D\E[?12;25h, dch=3D\E[%p1%dP, dch1=3D\E[P, dl=3D\E[%p1%dM, dl1=3D\E[M, ech=3D\E[%p1%dX, ed=3D\E[J, el=3D\E[K, el1=3D\E[1K, flash=3D\E[?5h$<100/>\E[?5l, home=3D\E[H, hpa=3D\E[%i%p1%dG, ht=3D^I, hts=3D\EH, ich=3D\E[%p1%d@, il=3D\E[%p1%dL, il1=3D\E[L, ind=3D^J, indn=3D\E[%p1%dS, initc=3D\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2= X/%p4%{255}%*%{1000}%/%2.2X\E\\, invis=3D\E[8m, is2=3D\E[!p\E[?3;4l\E[4l\E>, kDC=3D\E[3;2~, kEND=3D\E[1;2F, kHOM=3D\E[1;2H, kIC=3D\E[2;2~, kLFT=3D\E[1;2D, kNXT=3D\E[6;2~, kPRV=3D\E[5;2~, kRIT=3D\E[1;2C, kb2=3D\EOE, kbs=3D\177, kcbt=3D\E[Z, kcub1=3D\EOD, kcud1=3D\EOB, kcuf1=3D\EOC, kcuu1=3D\EOA, kdch1=3D\E[3~, kend=3D\EOF, kent=3D\EOM, kf1=3D\EOP, kf10=3D\E[21~, kf11=3D\E[23~, kf12=3D\E[24~, kf13=3D\E[1;2P, kf14=3D\E[1;2Q, kf15=3D\E[1;2R, kf16=3D\E[1;2S, kf17=3D\E[15;2~, kf18=3D\E[17;2~, kf19=3D\E[18;2~, kf2=3D\EOQ, kf20=3D\E[19;2~, kf21=3D\E[20;2~, kf22=3D\E[21;2~, kf23=3D\E[23;2~, kf24=3D\E[24;2~, kf25=3D\E[1;5P, kf26=3D\E[1;5Q, kf27=3D\E[1;5R, kf28=3D\E[1;5S, kf29=3D\E[15;5~, kf3=3D\EOR, kf30=3D\E[17;5~, kf31=3D\E[18;5~, kf32=3D\E[19;5~, kf33=3D\E[20;5~, kf34=3D\E[21;5~, kf35=3D\E[23;5~, kf36=3D\E[24;5~, kf37=3D\E[1;6P, kf38=3D\E[1;6Q, kf39=3D\E[1;6R, kf4=3D\EOS, kf40=3D\E[1;6S, kf41=3D\E[15;6~, kf42=3D\E[17;6~, kf43=3D\E[18;6~, kf44=3D\E[19;6~, kf45=3D\E[20;6~, kf46=3D\E[21;6~, kf47=3D\E[23;6~, kf48=3D\E[24;6~, kf49=3D\E[1;3P, kf5=3D\E[15~, kf50=3D\E[1;3Q, kf51=3D\E[1;3R, kf52=3D\E[1;3S, kf53=3D\E[15;3~, kf54=3D\E[17;3~, kf55=3D\E[18;3~, kf56=3D\E[19;3~, kf57=3D\E[20;3~, kf58=3D\E[21;3~, kf59=3D\E[23;3~, kf6=3D\E[17~, kf60=3D\E[24;3~, kf61=3D\E[1;4P, kf62=3D\E[1;4Q, kf63=3D\E[1;4R, kf7=3D\E[18~, kf8=3D\E[19~, kf9=3D\E[20~, khome=3D\EOH, kich1=3D\E[2~, kind=3D\E[1;2B, kmous=3D\E[M, knp=3D\E[6~, kpp=3D\E[5~, kri=3D\E[1;2A, mc0=3D\E[i, mc4=3D\E[4i, mc5=3D\E[5i, meml=3D\El, memu=3D\Em, op=3D\E[39;49m, rc=3D\E8, rev=3D\E[7m, ri=3D\EM, rin=3D\E[%p1%dT, rmacs=3D\E(B, rmam=3D\E[?7l, rmcup=3D\E[?1049l, rmir=3D\E[4l, rmkx=3D\E[?1l\E>, rmm=3D\E[?1034l, rmso=3D\E[27m, rmul=3D\E[24m, rs1=3D\Ec, rs2=3D\E[!p\E[?3;4l\E[4l\E>, sc=3D\E7, setab=3D\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, setaf=3D\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%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