Subject: misc/212: reset(1) should fix pccons colors
To: None <gnats-admin>
From: Mark Weaver <mhw@cs.brown.edu>
List: netbsd-bugs
Date: 04/07/1994 09:05:03
>Number:         212
>Category:       misc
>Synopsis:       reset(1) should fix pccons colors too
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   mhw
>Arrival-Date:   Thu Apr  7 09:05:02 1994
>Originator:     Mark Weaver
>Organization:
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science
>Release:        current-940406
>Environment:

System: NetBSD cis-ts3-slip5.cis.brown.edu 0.9a EXCELSIOR#1 i386

>Description:
	The rs (reset) termcap entry for pc3 does very little.  I
	think it should do a bit more.  In my experience, when I
	accidently run emacs (among others) with my TERM incorrect
	set to vt100 (for instance, when connected to another system),
	it changes the stand-out colors to blue on blue.  This is
	understandable.

	However, it is unfortunate that I could not fix this easily
	without either rebooting or looking in the pccons source and
	sending a particular escape to pccons.  I think that reset(1)
	should be able to fix these colors.

>How-To-Repeat:
	I can't remember the exact procedure, and I don't run pccons
	anymore, as of a few days ago.

>Fix:
The only thing changed is the rs entry, but I had to change the line
breaks to make it fit in 80 columns.

diff -u  src/share/termcap/termcap.src.mhw1 src/share/termcap/termcap.src
--- src/share/termcap/termcap.src.mhw1	Wed Apr  6 06:15:52 1994
+++ src/share/termcap/termcap.src	Wed Apr  6 11:17:10 1994
@@ -3305,9 +3305,9 @@
 	:cm=\E[%i%d;%dH:co#80:cr=^M:do=^J:ho=\E[H:is=\E[m:k0=\E[V:k1=\E[M:\
 	:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
 	:kD=\177:kH=\E[F:kN=\E[G:kP=\E[I:kb=\177:kd=\E[B:kh=\E[H:kl=\E[D:\
-	:kr=\E[C:ku=\E[A:le=^H:li#25:ms:nd=\E[C:rs=\E[m:se=\E[m:sf=\E[S:\
-	:so=\E[7m:sr=\E[T:ta=^I:te=\E[m:ti=\E[m:up=\E[A:km:pt:AL=\E[%dL:\
-	:DL=\E[%dM:SF=\E[%dS:SR=\E[%dT:al=\E[L:dl=\E[M:
+	:kr=\E[C:ku=\E[A:le=^H:li#25:ms:nd=\E[C:rs=\E[m\E[x\E[14r:se=\E[m:\
+	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:te=\E[m:ti=\E[m:up=\E[A:km:pt:\
+	:AL=\E[%dL:DL=\E[%dM:SF=\E[%dS:SR=\E[%dT:al=\E[L:dl=\E[M:
 ibmx|ibmpcx|IBM PC xenix console display:\
 	:al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:co#80:\
 	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:li#25:\
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------