From 3ce8237ad0f6c980df80e3a3c4d784309b608816 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 14 Jun 2009 03:34:54 +0000 Subject: [PATCH] Add missing termcap entry for rxvt-unicode. The termcap database does not have an entry for rxvt-unicode. This means that programs that need an entry such as vi fail to work when connecting via ssh using this terminal emulator. The added data is not the same as the PR submitted by Richard, it uses the :tc=xxx: option to inherit everything from rxvt-mono. PR: conf/117323 Submitted by: Richard Bradshaw MFC after: 1 week --- share/termcap/termcap.src | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/termcap/termcap.src b/share/termcap/termcap.src index 0183f947abe..5e49bf89523 100644 --- a/share/termcap/termcap.src +++ b/share/termcap/termcap.src @@ -4547,6 +4547,12 @@ rxvt-mono|rxvt terminal emulator (monochrome) (X Window System):\ :te=\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:vs=\E[?25h: +# Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry +rxvt-unicode|rxvt-unicode terminal (X Window System):\ + :SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\ + :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\ + :ti=\E[?1049h:tc=rxvt-mono: + rxvt|rxvt terminal emulator (X Window System):\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono: