Date: Fri, 15 Jun 2001 00:20:08 +0300 (EEST) From: Giorgos Keramidas <charon@labs.gr> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/28154: new termcap entry (rxvt) Message-ID: <200106142120.f5ELK8o87388@hades.hell.gr>
next in thread | raw e-mail | index | archive | help
>Number: 28154
>Category: misc
>Synopsis: addition of an entry for rxvt to our termcap
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 14 14:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Giorgos Keramidas
>Release: FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD hades.hell.gr 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed May 30 01:28:12 EEST 2001 root@hades.hell.gr:/usr/obj/usr/src/sys/NEWTON i386
>Description:
Our termcap does not include an entry for TERM=rxvt.
The attached patches modify src/share/termcap/termcap.src to include
the termcap entry found in the rxvt-2.6.3 sources (patch-aa) and to
fix the key_end capability of that termcap entry (patch-ab).
>How-To-Repeat:
Try using rxvt with TERM=vt220. Most of the keys work fine,
except for HOME, END, and function-keys. If you add the attached
termcap entry to the system termcap then most of the keys that seem
problematic with TERM set to vt100, vt102, vt220, or vt320, then work
correctly.
>Fix:
-------------------------------------------------------------------------
( patch-aa ) add rxvt termcap entry to /usr/src/share/termcap/termcap.src
-------------------------------------------------------------------------
--- termcap.src Fri Jun 15 00:01:13 2001
+++ termcap.rxvt.0 Fri Jun 15 00:00:07 2001
@@ -4191,6 +4191,26 @@
pi|pilot|tgtelnet:am:xn:bs:co#39:li#16:cl=\Ec:cm=\Em%+ %+ :ho=\Em :nw=\Em~ :\
:so=\Eb:se=\EB:bl=^g:cr=^m:do=^j:le=^h:kP=^k:kN=^l:
+# Termcap entry for rxvt, taken from the sources of rxvt-2.6.3
+rxvt|rxvt terminal emulator (X Window System):\
+ :am: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:\
+ :k0=\E[21~: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[m\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[?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:
+
#
# END OF TERMCAP
# ------------------------
-------------------------------------------------------------------------
( patch-ab ) add @7 capability to rxvt termcap to make END work correctly
-------------------------------------------------------------------------
--- termcap.src Fri Jun 15 00:01:49 2001
+++ termcap.rxvt.1 Fri Jun 15 00:00:31 2001
@@ -4205,7 +4205,7 @@
:k0=\E[21~: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:\
+ :kh=\E[7~:@7=\E[8~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
:md=\E[1m:me=\E[m\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[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106142120.f5ELK8o87388>
