… | |
… | |
892 | You can also create a termcap entry by using terminfo's infocmp program |
892 | You can also create a termcap entry by using terminfo's infocmp program |
893 | like this: |
893 | like this: |
894 | |
894 | |
895 | infocmp -C rxvt-unicode |
895 | infocmp -C rxvt-unicode |
896 | |
896 | |
897 | Or you could use this termcap entry, generated by the command above: |
897 | Or you could use the termcap entry in doc/etc/rxvt-unicode.termcap, |
898 | |
898 | generated by the command above. |
899 | rxvt-unicode|rxvt-unicode terminal (X Window System):\ |
|
|
900 | :am:bw:eo:km:mi:ms:xn:xo:\ |
|
|
901 | :co#80:it#8:li#24:lm#0:\ |
|
|
902 | :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ |
|
|
903 | :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ |
|
|
904 | :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\E[L:\ |
|
|
905 | :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ |
|
|
906 | :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\ |
|
|
907 | :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:\ |
|
|
908 | :i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\ |
|
|
909 | :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\ |
|
|
910 | :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\ |
|
|
911 | :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\ |
|
|
912 | :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:\ |
|
|
913 | :kh=\E[7~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\ |
|
|
914 | :mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\ |
|
|
915 | :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ |
|
|
916 | :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\ |
|
|
917 | :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
|
|
918 | :vs=\E[?25h: |
|
|
919 | |
899 | |
920 | =head3 Why does C<ls> no longer have coloured output? |
900 | =head3 Why does C<ls> no longer have coloured output? |
921 | |
901 | |
922 | The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to |
902 | The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to |
923 | decide whether a terminal has colour, but uses its own configuration |
903 | decide whether a terminal has colour, but uses its own configuration |