Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 1998 13:50:20 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        CyberPsychotic <fygrave@freenet.bishkek.su>, freebsd-questions@FreeBSD.ORG
Subject:   Re: compatible terminal settings
Message-ID:  <19981003135020.B18810@emsphone.com>
In-Reply-To: <Pine.BSD.4.02.9810031111200.425-100000@freenet.kg>; from "CyberPsychotic" on Sat Oct  3 11:33:38 GMT 1998
References:  <Pine.BSD.4.02.9810031111200.425-100000@freenet.kg>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 03), CyberPsychotic said:
> Hello,
>  I am wondering if anyone faced the problem of incompatible terminals in
> FreeBSD and other Unices. (even BSD clones, such as BSDi). Many Unices
> lack such terminals in its termcap bases as cons25. so far the most
> compatible terminal i found, is pc3. (sometimes It keeps things even
> better than vt100)
> 
>  I wonder If there's possibility to share terms between those boxes. (say
> if I have root on both). I tried just to extract term setting from
> my linux console with infocmp and move to FreeBSD, but FreeBSD doesn't
> quite understand sytaxis which is used by Linux... almost the same story
> is with BSDi.. anyone could give hints how usually terminals are
> transfered from one system to another, and, maybe, if there's a
> possibility to automate this process... (say with script and scp or
> whatever)..

infocmp is a terminfo utliity; FreeBSD doesn't use terminfo, it uses
termcap.

All you should have to do is copy the appropriate entries from the
Linux /etc/termcap file and put them in /usr/share/misc/termcap on your
FreeBSD box.  I've done this to "normalize" the termcap entries on
SunOs, FreeBSD, Linux, OSF/1 and SCO, and haven't had a problem yet.

	-Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981003135020.B18810>