David Coppa wrote:
On Tue, May 18, 2010 at 1:00 PM, Brynet <[email protected]> wrote:
In anything >= 4.7, the 'xterm' termcap entry supports 256 colours, if

Ah. ok then.

I'm reading this patch correctly, this will hardcode the TERM
environment variable to 'xterm-color256' which isn't required.

Does this change behaviour for you? or are you just guessing?

Ignore me.

Also since rxvt is in termcap since 1997 why use xterm instead of the default TERM which is indeed rxvt ? I never had any problem using rxvt with its own TERM value, please set the environment variable in your profile if you wish to do so.

From /etc/termcap :

# From: Thomas Dickey <[email protected]> 04 Oct 1997
# Updated: Oezguer Kesim <[email protected]> 02 Nov 1997
# Notes:
# rxvt 2.21b uses
#       smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
# but some applications don't work with that.
# It also has an AIX extension
#       box2=lqkxjmwuvtn,
# and
#       ech=\E[%p1%dX,
# but the latter does not work correctly.
#
# The distributed terminfo says it implements hpa and vpa, but they are not
# implemented correctly, using relative rather than absolute positioning.
#
# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
# Since rxvt is not really compatible with xterm, it should be configured as
# "rxvt" (monochrome) and "rxvt-color".
# (untranslatable capabilities removed to fit entry within 1023 bytes)
# (sgr removed to fit entry within 1023 bytes)
# (acsc removed to fit entry within 1023 bytes)
# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
rxvt-basic|rxvt terminal base (X Window System):\
        :am:bs:eo:km:mi:ms:xn:xo:\
        :co#80:it#8:li#24:\
        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
        :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[7~:\
        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        :me=\E[0m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
        :ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
rxvt|rxvt terminal emulator (X Window System):\
        :NC@:\
        :me=\E[m\017:tc=rxvt-basic:tc=ecma+color:



--
Thomas de Grivel
http://b.lowh.net/billitch

Reply via email to