… | |
… | |
70 | |
70 | |
71 | "bash"'s readline does not work correctly under rxvt. |
71 | "bash"'s readline does not work correctly under rxvt. |
72 | I need a termcap file entry. |
72 | I need a termcap file entry. |
73 | One reason you might want this is that some distributions or |
73 | One reason you might want this is that some distributions or |
74 | operating systems still compile some programs using the |
74 | operating systems still compile some programs using the |
75 | long-obsoleted termcap (Fedora Core's bash is one example) and rely |
75 | long-obsoleted termcap library (Fedora Core's bash is one example) |
76 | on a termcap entry for "rxvt-unicode". |
76 | and rely on a termcap entry for "rxvt-unicode". |
77 | |
77 | |
78 | You could use rxvt's termcap entry with resonable results in many |
78 | You could use rxvt's termcap entry with resonable results in many |
79 | cases. You can also create a termcap entry by using terminfo's |
79 | cases. You can also create a termcap entry by using terminfo's |
80 | infocmp program like this: |
80 | infocmp program like this: |
81 | |
81 | |
… | |
… | |
83 | |
83 | |
84 | Or you could use this termcap entry, generated by the command above: |
84 | Or you could use this termcap entry, generated by the command above: |
85 | |
85 | |
86 | rxvt-unicode|rxvt-unicode terminal (X Window System):\ |
86 | rxvt-unicode|rxvt-unicode terminal (X Window System):\ |
87 | :am:bw:eo:km:mi:ms:xn:xo:\ |
87 | :am:bw:eo:km:mi:ms:xn:xo:\ |
88 | :co#80:it#8:li#24:\ |
88 | :co#80:it#8:li#24:lm#0:\ |
89 | :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ |
89 | :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ |
90 | :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ |
90 | :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ |
91 | :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:al=\E[L:\ |
91 | :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\E[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:md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:\ |
101 | :nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:\ |
102 | :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\ |
102 | :st=\EH:ta=^I:te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:\ |
103 | :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\ |
103 | :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
104 | :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ |
104 | :vs=\E[?25h: |
105 | :vs=\E[?25h: |
105 | |
106 | |
106 | Why does "ls" no longer have coloured output? |
107 | Why does "ls" no longer have coloured output? |
107 | The "ls" in the GNU coreutils unfortunately doesn't use terminfo to |
108 | The "ls" in the GNU coreutils unfortunately doesn't use terminfo to |
108 | decide wether a terminal has colour, but uses it's own configuration |
109 | decide wether a terminal has colour, but uses it's own configuration |