*BSD News Article 17672


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!torn!mcshub!flex1!todd
From: todd@flex.eng.mcmaster.ca (Todd Pfaff)
Subject: pk-0.2.4 termcap bug?
Message-ID: <1993Jun29.221348.15250@mcshub.dcss.mcmaster.ca>
Sender: usenet@mcshub.dcss.mcmaster.ca
Nntp-Posting-Host: flex1.eng.mcmaster.ca
Reply-To: todd@flex.eng.mcmaster.ca
Organization: McMaster University
Date: Tue, 29 Jun 1993 22:13:48 GMT
Lines: 70

There are a few errors in the new pc3 termcap entry supplied with pk-0.2.4.
The entries for the k1-9 functions should have an '=' rather than a ':'.
I discovered this when trying to convert the termcap entry to a terminfo
entry on a Sun.

pc3|ibmpc3|IBM PC 386BSD Console:\
        :DO=\E[%dB:\
        :K1=\E[H:\
        :K2=\E[I:\
        :K3=\E[E:\
        :K4=\E[F:\
        :K5=\E[G:\
        :LE=\E[%dD:\
        :RI=\E[%dC:\
        :UP=\E[%dA:\
        :am:\
        :bl=^G:\
        :bs:\
        :cb=\E[1K:\
        :cd=\E[J:\
        :ce=\E[K:\
        :cl=\E[H\E[J:\
        :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[7;1r\E[7m:\
        :sr=\E[T:\
        :ta=^I:\
        :te=\E[m:\
        :ti=\E[m:\
        :up=\E[A:
 
--
Todd Pfaff                       \  Internet: todd@flex.eng.mcmaster.ca
Dept. of Mechanical Engineering   \    Voice: (416) 525-9140 x2902
McMaster University                \     FAX: (416) 572-7944
Hamilton, Ontario, CANADA  L8S 4L7  \