Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2011 22:23:43 +0900
From:      Randy Bush <randy@psg.com>
To:        Thomas Dickey <dickey@radix.net>
Cc:        FreeBSD current mailing list <current@freebsd.org>
Subject:   Re: xterm termcape :ti@:te@:
Message-ID:  <m2hb9nn5pc.wl%randy@psg.com>
In-Reply-To: <20110424130852.GA8226@saltmine.radix.net>
References:  <m2sjt8mbt4.wl%randy@psg.com> <20110424095713.GA17603@saltmine.radix.net> <m2ipu4lz63.wl%randy@psg.com> <20110424130852.GA8226@saltmine.radix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> What does the included termcap for xterm-xfree86 look like?

xterm-new|modern xterm:\
        :@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\
        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
        :kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\
        :tc=xterm-basic:

xterm-basic|modern xterm common:\
        :am:bs:km:mi:ms:ut:xn:AX:\
        :Co#8:co#80:kn#12:li#24:pa#64:\
        :AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:\
        :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:\
        :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
        :kD=\E[3~:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:\
        :me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:\
        :rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:\
        :so=\E[7m:sr=\EM:st=\EH:\
        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:

xterm-xfree86|xterm terminal emulator (XFree86):\
        :tc=xterm-new:

> odd - even if you were using an application that uses the terminfo
> entry rather than the modified termcap, that should prevent the
> screen-switching.

i test with less

> What does "xterm -v" say?

no xterm on the remote sys.  the local sys is macosx snow leopard, and

% xterm -v
XTerm(251)

note that my ti@:te@: hack works when the remote sys is 7-stable or
releng_8.  it's just 9-current

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2hb9nn5pc.wl%randy>