NetBSD Problem Report #10071

Received: (qmail 24370 invoked from network); 8 May 2000 13:15:12 -0000
Message-Id: <xofzoq15gki.fsf@blubb.pdc.kth.se>
Date: 08 May 2000 15:15:09 +0200
From: joda@pdc.kth.se (Johan Danielsson)
Reply-To: joda@pdc.kth.se
To: gnats-bugs@gnats.netbsd.org
Subject: xterm termcap entry doesn't go well with R6 xterm's

>Number:         10071
>Category:       bin
>Synopsis:       xterm termcap entry doesn't go well with R6 xterm's
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    jdc
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 08 13:16:00 +0000 2000
>Closed-Date:    Wed May 17 09:58:23 +0000 2000
>Last-Modified:  Wed May 17 09:58:23 +0000 2000
>Originator:     Johan Danielsson
>Release:        2000-05-08
>Organization:
	<organization of PR author (multiple lines)>
>Environment:
	<machine, os, target, libraries (multiple lines)>
System: NetBSD blubb.pdc.kth.se 1.4X NetBSD 1.4X (BLUBB) #211: Tue Apr 4 00:21:59 CEST 2000 joda@blubb.pdc.kth.se:/usr/misc/src/netbsd/netbsd-cvs/src/sys/arch/i386/compile/BLUBB i386

>Description:

The currently used xterm termcap entry (really xterm-xf86-v33), uses
features that stock R6 xterm interpret at reverse video. This results
in very difficult to read text when using emacs or less via network.

>How-To-Repeat:

Above seen on a Digital UNIX 4.0E machine.

>Fix:

Revert xterm entry to xterm-old?
>Release-Note:
>Audit-Trail:

From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
To: Johan Danielsson <joda@pdc.kth.se>, gnats-bugs@gnats.netbsd.org
Cc:  
Subject: Re: bin/10071: xterm termcap entry doesn't go well with R6 xterm's
Date: Mon, 8 May 2000 15:34:24 +0100

 > The currently used xterm termcap entry (really xterm-xf86-v33), uses
 > features that stock R6 xterm interpret at reverse video. This results
 > in very difficult to read text when using emacs or less via network.

 Does this mean that all the text ends up as reverse video?  Are you starting
 xterm with "-rv"?  I take it the xterm is run on the DEC box with a
 connection to the NetBSD box?

 J

 -- 
                     My other computer also runs NetBSD
                           http://www.netbsd.org/

From: joda@pdc.kth.se (Johan Danielsson)
To: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/10071: xterm termcap entry doesn't go well with R6 xterm's
Date: 08 May 2000 16:46:48 +0200

 Julian Coleman <J.D.Coleman@newcastle.ac.uk> writes:

 > Does this mean that all the text ends up as reverse video?

 No, just text, http://www.pdc.kth.se/~joda/broken-xterm.gif

 > Are you starting xterm with "-rv"?

 No.

 > I take it the xterm is run on the DEC box with a connection to the
 > NetBSD box?

 Yes.

 /Johan

From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
To: Johan Danielsson <joda@pdc.kth.se>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/10071: xterm termcap entry doesn't go well with R6 xterm's
Date: Mon, 8 May 2000 16:14:17 +0100

 > No, just text, http://www.pdc.kth.se/~joda/broken-xterm.gif

 Oh yes, strange.  Do reverse and underline work OK?  Is it possible to dump
 that screen into a file (i.e. emacs <file> > emacs.out)?  I might be able
 to spot the problem with that.  Alternatively, it'll mean going through the
 options to work out which is the problem.  Unfortunately, I don't have a
 machine of comparable vintage to test with.  Also, if there is a TERMCAP
 environment variable, can you try unsetting it?

 Oh, the reason to move to xterm-xf86-xxx is so we can use the extended
 features that our new curses code supports.  It would be good not to have
 to use the xterm-r6 entry.

 J

 -- 
                     My other computer also runs NetBSD
                           http://www.netbsd.org/

From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
To: Johan Danielsson <joda@pdc.kth.se>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/10071: xterm termcap entry doesn't go well with R6 xterm's
Date: Tue, 9 May 2000 12:54:02 +0100

 Can you try this patch (and rebuild termcap.db) and let me know if it makes
 any difference?

 Thanks,

 J

 -- 
                     My other computer also runs NetBSD
                           http://www.netbsd.org/

  ---8<---------------------------- Cut here ---------------------------->8---

 --- termcap.src-	Sat Apr 29 10:15:24 2000
 +++ termcap.src	Thu May  4 19:59:16 2000
 @@ -1757,9 +1757,9 @@
  	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
  	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
  	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
 -	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
 +	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
  	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
 -	:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
 +	:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:\
  	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
  # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
  # codes for F1-F4 except while in VT220 mode.

From: joda@pdc.kth.se (Johan Danielsson)
To: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/10071: xterm termcap entry doesn't go well with R6 xterm's
Date: 09 May 2000 17:57:19 +0200

 Julian Coleman <J.D.Coleman@newcastle.ac.uk> writes:

 > Can you try this patch (and rebuild termcap.db) and let me know if
 > it makes any difference?

 That works much better.

 /Johan
State-Changed-From-To: open->closed 
State-Changed-By: jdc 
State-Changed-When: Wed May 17 02:52:08 PDT 2000 
State-Changed-Why:  
Fixed by sharesrc/share/termcap/termcap.src 1.60. 


Responsible-Changed-From-To: bin-bug-people->jdc 
Responsible-Changed-By: jdc 
Responsible-Changed-When: Wed May 17 02:52:08 PDT 2000 
Responsible-Changed-Why:  
Fixed by jdc (agreed by Johan Danielsson). 
>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.