Subject: misc/1310: pcvt25h entry in termcap missing li/co
To: None <gnats-bugs@gnats.netbsd.org>
From: Tom Pavel <tom@Bozon.Stanford.EDU>
List: netbsd-bugs
Date: 07/31/1995 23:41:49
>Number:         1310
>Category:       misc
>Synopsis:       pcvt25h entry in termcap missing li/co
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug  3 01:05:01 1995
>Last-Modified:
>Originator:     Tom Pavel
>Organization:
	
>Release:        NetBSD-current Jul-16-95
>Environment:
System: NetBSD bozon 1.0A NetBSD 1.0A (BOZON) #27: Sat Jul 29 23:22:57 PDT 1995 tom@bozon:/usr/src/sys/arch/i386/compile/BOZON i386


>Description:
	The termcap.src in latest -current has an entry "pcvt25h"
which is intended for the pcvt console driver.  This termcap entry
lacks the lines and columns specifiers (:co#80:li#25:).  Thus, when I
log into a virtual console and run "eval `tset -sQ \?${TERM}`", I
still end up with stty -a reporting 0 rows and 0 cols.  This prevents,
for example, emacs from starting up on the console, until rows and
cols is stty-ed by hand.

>How-To-Repeat:

>Fix:

bozon# diff -c termcap.src-orig termcap.src
*** termcap.src-orig    Wed Jun 28 00:06:45 1995
--- termcap.src Mon Jul 31 23:03:10 1995
***************
*** 655,661 ****
  
  pcvt25h|386BSD pcvt rel 2.10 vt220 emulator video driver:\
        :am:km:mi:ms:xn:\
!       :it#8:pb#9216:vt#3:\
        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        :LE=\E[%dD:RI=\E[%dC:SF=\E%dD:SR=\E%dM:UP=\E[%dA:\
        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:\
--- 655,661 ----
  
  pcvt25h|386BSD pcvt rel 2.10 vt220 emulator video driver:\
        :am:km:mi:ms:xn:\
!       :it#8:pb#9216:vt#3:co#80:li#25:\
        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        :LE=\E[%dD:RI=\E[%dC:SF=\E%dD:SR=\E%dM:UP=\E[%dA:\
        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:\
>Audit-Trail:
>Unformatted: