Vt320 support

Vt320 support

Post by T.E.Dicke » Wed, 19 Nov 1997 04:00:00



: How add into BSD VT320 support?

: I have added vt320 lines to termcap but
: still got message

:  erase ^H, kill ^U, intr ^C status ^T
:  tset: terminal type vt320 is unknown
:  Terminal type?              
tset may be linked against ncurses (1.8.6, which btw is grossly out of date,
and is in turned linked against the mytinfo library - not termcap).  So I'd
look for that database & update it.

alternatively, you could install a current version of ncurses:

The current version of ncurses is 4.1
There's an faq at
        http://www.veryComputer.com/

: in /usr/share/misc  directory
: are termcap and termcap.db -files?

: BSD revision is 3.0

: R. Ari

--
Thomas E.*ey

http://www.veryComputer.com/

 
 
 

Vt320 support

Post by David Malo » Wed, 19 Nov 1997 04:00:00



>How add into BSD VT320 support?

You need to add a vt320 termcap entry to
/usr/share/misc/termcap and then do (as root):

        cd /usr/share/misc; cap_mkdb termcap

I've always wondered why FreeBSD doesn't come
with a termcap for vt320's. Does anyone know?

        David.

 
 
 

Vt320 support

Post by ari seppa » Wed, 19 Nov 1997 04:00:00


How add into BSD VT320 support?

I have added vt320 lines to termcap but
still got message

 erase ^H, kill ^U, intr ^C status ^T
 tset: terminal type vt320 is unknown
 Terminal type?              

in /usr/share/misc  directory
are termcap and termcap.db -files?

BSD revision is 3.0

R. Ari

 
 
 

Vt320 support

Post by James Rayna » Thu, 20 Nov 1997 04:00:00




>I've always wondered why FreeBSD doesn't come
>with a termcap for vt320's. Does anyone know?

No idea here :-)  If you've got a reasonable one, it might be worth
using send-pr to submit a change request (attach the termcap entry
in the "how-to-fix" section).

--
In theory, theory is better than practice.  In practice, it isn't.
James Raynard, Edinburgh, Scotland.   http://www.freebsd.org/~jraynard/

 
 
 

Vt320 support

Post by Christian Weisgerb » Thu, 20 Nov 1997 04:00:00




Quote:> tset may be linked against ncurses


/usr/bin/tset:
        -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x801d000)
        -lc.3 => /usr/lib/libc.so.3.0 (0x8021000)

Quote:> (1.8.6, which btw is grossly out of date, and is in turned linked
> against the mytinfo library - not termcap). So I'd look for that database
> & update it.

The purpose of mytinfo seems to be to offer terminfo-style low-level
functions while actually taking the data from termcap. FreeBSD does not
suffer from the common duality of both a termcap and a terminfo database.

--

  See another pointless homepage at <URL:http://home.pages.de/~naddy/>.

 
 
 

Vt320 support

Post by Christian Weisgerb » Thu, 20 Nov 1997 04:00:00




> You need to add a vt320 termcap entry to
> /usr/share/misc/termcap and then do (as root):

>    cd /usr/share/misc; cap_mkdb termcap

Hmm, interesting. I didn't need the cap_mkdb. (In fact I had never
thought of it until I read your article.) My box seems to run fine
with termcap only and no termcap.db.

Quote:> I've always wondered why FreeBSD doesn't come
> with a termcap for vt320's. Does anyone know?

I guess nobody has bothered to add one.

Here's the one I use, the result of  infocmp -C vt320  on my Debian
GNU/Linux box:

#       Reconstructed via infocmp from file: /usr/lib/terminfo/v/vt320
vt320|vt300|dec vt320 7 bit terminal:\
        :am:es:hs:mi:ms:xn:\
        :co#80:li#24:ws#80:\

        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
        :ei=\E[4l:ho=\E[H:im=\E[4h:\
        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        :kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[1$}\E[H\E[K:ue=\E[m:\
        :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:

--

  See another pointless homepage at <URL:http://home.pages.de/~naddy/>.

 
 
 

Vt320 support

Post by T.E.Dicke » Fri, 21 Nov 1997 04:00:00


:> I've always wondered why FreeBSD doesn't come
:> with a termcap for vt320's. Does anyone know?
probably because there's more vt220's than vt320's (and the termcap database
on FreeBSD is a little older/less complete).

: I guess nobody has bothered to add one.

: Here's the one I use, the result of  infocmp -C vt320  on my Debian
: GNU/Linux box:
you really should use infocmp -Cr (though this example seems to "work")

--
Thomas E.*ey

http://www.veryComputer.com/

 
 
 

Vt320 support

Post by Christopher Sean Hilt » Sat, 22 Nov 1997 04:00:00




>    [courtesy cc of this posting sent to cited author via email]



>> Hmm, interesting. I didn't need the cap_mkdb. (In fact I had never
>> thought of it until I read your article.) My box seems to run fine
>> with termcap only and no termcap.db.

>Searches through termcap will be faster using cap_mkdb, that the main
>difference.

>> Here's the one I use, the result of  infocmp -C vt320  on my Debian
>> GNU/Linux box:

>Please submit it with the send-pr command, that's the preferred way.

Does the cap_mkdb step happen sometime during the install? I only ask
because I had problems with extremely slow response from tset when my
main machine was a 486. This has largely gone away since I've upgraded
but it would be a good thing to know for the future.

Chris

--
+--------------------------------------------------------------------+
|    __o         "All I was doing was trying to get home from work." |
|  _`\<,_         -Rosa Parks                                        |
+_(*)/_(*)___________________________________________________________+

 
 
 

Vt320 support

Post by J Wuns » Mon, 24 Nov 1997 04:00:00



Quote:> Does the cap_mkdb step happen sometime during the install?

Not sure about which `install' you're talking here.

The .db file is built as part of the normal `make' process for
/usr/src/share/termcap/, and then installed on `make install'.

For a FreeBSD installation, the file is supposed to be installed in
/usr/share/misc/.  Previous releases of FreeBSD gratuitously deleted
the file before bundling the release files, this bug has been fixed
with FreeBSD 2.2.5.

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)