*BSD News Article 62521


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!cs.utexas.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.whirlpool.com!usenet
From: wegscd@whirlpool.com (Doug Wegscheid)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: PCVT/termcap problem?
Date: Mon, 19 Feb 1996 18:41:18 GMT
Organization: Whirlpool Corporation
Lines: 24
Message-ID: <4gag8u$2nj@news.whirlpool.com>
NNTP-Posting-Host: 158.52.11.15
X-Newsreader: Forte Free Agent 1.0.82

I can't get the PCVT driver to work correctly with vi. I got the vt0
device into the kernel, fixed /etc/gettytab to have :np: on the
relevant entries. rc.local is setting my ttyv* to all have HP key
mappings, and pcvt25h is set for the ttyv* devices in /etc/ttys.

When I use vi, only the last line of the screen changes when I try to
scroll past the end of the screen; similarly, if I try to arrow up
past the top of the screen, only the first line ever changes.

I checked the bug database, found several termcap related items:
First I tried just adding :co#80:li#24: to the existing (antique)
termcap entry. This did not help.

Second, I deleted the existing termcap entry and put the recommended
ones from /src/sys/arch/i386/isa/pcvt/Etc/Termcap into my termcap and
did the cap_mkdb. After this, using a ttyv* got worse - it seems to
have forgotten about carriage returns!

Did I miss something on the config, or is there a driver or termcap
problem?

I am running NetBSD-1.1 release (not -current!). I had this working OK
on my old NetBSD-1.0 release in my old job.