Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 1997 17:11:32 -0700 (PDT)
From:      Vincent Poy <vince@mail.MCESTATE.COM>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        current@FreeBSD.ORG
Subject:   Re: termcap question
Message-ID:  <Pine.BSF.3.95.970427171007.1613t-100000@mail.MCESTATE.COM>
In-Reply-To: <19970427170402.50307@hydrogen.nike.efn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Apr 1997, John-Mark Gurney wrote:

> Vincent Poy scribbled this message on Apr 27:
> > 	On the older FreeBSD versions, I can add a entry in /etc/termcap
> > and it would update the termcap database but in the recent -current, it
> > seems that termcap.db doesn't update.  What am I doing wrong?
> 
> cap_mkdb /usr/share/misc/termcap
> 
> the location has reciently changed to /usr/share/misc so that you don't
> have to have the symlink in /etc any more... the cap_mkdb is neccessary
> to rebuild the database that makes looking up termcap entries faster...

	I just figured this part out... However, something weird is
happening, the termcap entries I manually put in no longer works anymore.

linux|linux console:\
        :am:eo:mi:ms:ut:xn:xo:\
        :co#80:it#8:li#25:\
        :&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
        :IC=\E[%d@:K2=\E[G:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
        :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:\
        :k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:\
        :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
        :kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mr=\E[7m:\
        :nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:sf=^J:sr=\EM:\
        :st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:\
        :u9=\E[c:up=\E[A:vb=200\E[?5h\E[?5l:ve=\E[?25h:\
        :vi=\E[?25l:tc=klone+sgr:tc=klone+color:tc=klone+acs:
linux-m|Linux console no color:\
        :Co@:pa@:\
        :AB@:AF@:Sb@:Sf@:tc=linux:

	When I did:

root@earth [5:10pm][/usr/share/misc] >> cap_mkdb /usr/share/misc/termcap
cap_mkdb: Record not tc expanded: linux|linux console
cap_mkdb: Record not tc expanded: linux-m|Linux console no color

root@earth [5:11pm][/usr/share/misc] >> su -l vince
chmod: No match.
Terminal type? [screen] linux
tset: termcap names not colon terminated
Unmatched '.
vince@earth [5:11pm][~] >> 

	Any ideas?


Cheers,
Vince - vince@MCESTATE.COM - vince@GAIANET.NET           ________   __ ____ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
GaiaNet Corporation - M & C Estate                     / / / /  | /  | __] ]  
Beverly Hills, California USA 90210                   / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970427171007.1613t-100000>