* Ed Schouten <e...@80386.nl> wrote:
> * Andriy Gapon <a...@freebsd.org> wrote:
> > Seriously, I think that this change is a mild POLA violation, which
> > neither was discussed nor welcome as it seems.  Perhaps, not even
> > planned.  So I believe that termcap should be changed back to
> > traditional behavior for FreeBSD.  At least for now.
> 
> Sure. It wasn't planned to do so.
> 
> I can't fix it right now (sitting at a conference, as we speak), but
> I'll try to get a patch into SVN tomorrow.

I've attached a patch that fixes at least the TERM=xterm and
TERM=xterm-color entries. Comments?

-- 
 Ed Schouten <e...@80386.nl>
 WWW: http://80386.nl/
Index: share/termcap/termcap.src
===================================================================
--- share/termcap/termcap.src	(revision 200435)
+++ share/termcap/termcap.src	(working copy)
@@ -2862,7 +2862,7 @@
 # be painted in spots.
 xterm-color|generic "ANSI" color xterm:\
 	:Co#8:NC@:pa#64:\
-	:AB=\E[4%dm:AF=\E[3%dm:ac=:op=\E[m:tc=xterm-r6:
+	:AB=\E[4%dm:AF=\E[3%dm:ac=:op=\E[m:te@:ti@:tc=xterm-r6:
 #
 # These aliases are for compatibility with the terminfo; termcap cannot provide
 # the extra features such as color initialization, but termcap applications
@@ -2985,7 +2985,7 @@
 # is widely used for a variety of incompatible terminal emulations including
 # color_xterm and rxvt.
 xterm|X11 terminal emulator:\
-	:tc=xterm-new:
+	:te@:ti@:tc=xterm-new:
 #	:tc=xterm-r6:
 # dtterm termcap entry - Obtained from Xinside's CDE with permission
 # from Thomas Roell
Index: etc/termcap.small
===================================================================
--- etc/termcap.small	(revision 200435)
+++ etc/termcap.small	(working copy)
@@ -319,4 +319,4 @@
 # is widely used for a variety of incompatible terminal emulations including
 # color_xterm and rxvt.
 xterm|X11 terminal emulator:\
-	:tc=xterm-new:
+	:te@:ti@:tc=xterm-new:

Attachment: pgppM9mJA3v3o.pgp
Description: PGP signature

Reply via email to