NetBSD Problem Report #212

From gnats  Thu Apr  7 08:55:27 1994
Received: from cis-ts3-slip5.cis.brown.edu (root@cis-ts3-slip5.cis.brown.edu [128.148.19.59]) by sun-lamp.cs.berkeley.edu (8.6.8/8.6.6) with ESMTP id IAA02308 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 7 Apr 1994 08:55:23 -0700
Message-Id: <199404071555.LAA05515@cis-ts3-slip5.cis.brown.edu>
Date: Thu, 7 Apr 1994 11:55:55 -0400
From: Mark Weaver <mhw@cs.brown.edu>
Reply-To: mhw@cs.brown.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: reset(1) should fix pccons colors
X-Send-Pr-Version: 3.2

>Number:         212
>Category:       misc
>Synopsis:       reset(1) should fix pccons colors too
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 07 09:05:02 +0000 1994
>Closed-Date:    Thu Apr 07 16:21:09 +0000 1994
>Last-Modified:  Sat Mar 22 15:07:56 +0000 2014
>Originator:     Mark Weaver
>Release:        current-940406
>Organization:
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science
>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:\
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Thu Apr 7 09:21:09 PDT 1994 
State-Changed-Why:  
Patch applied. 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.