TERM and SSH
m.seaman at infracaninophile.co.uk
Fri Jun 11 10:55:26 BST 2004
Content-Type: text/plain; charset=us-ascii
On Thu, Jun 10, 2004 at 11:24:23PM +0100, David Jenkins wrote:
> After reading your advice I found this:
> Which basically says to copy the cons25 terminal descriptions from the=20
> FreeBSD --> Linux box?
> I hope I'm not being too stupid but how exactly would I go about doing=20
> this because after reading /etc/termcap there seem to be an awful lot of=
> references to cons25(*).
> etc ...
> I assume they are all related and that each depends on the other??
Well, they are all related, but a) you probably don't need all of
them, unless you need to support Russian or Greek or other character
sets, or you want to run your FreeBSD console at other than 25x30
You always need the 'cons25w' entry, as everything else is based off
that. You need the 'cons25' entry (which is the default) and that's
probably all you need.
However, it doesn't cost you much to just grab all of the consXXy
entries and run them through captoinfo in one shot.
> Do I need to create a file with all of these in?
Yes. Just take a copy of /etc/termcap and delete everything outside
the section dealing with the cons terminal types. Copy that over to
your Linux box, process it through captoinfo, directing the result to
a file 'cons.tinfo', and install that in the appropriate place in the
terminfo directory and you should be good to go.
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the Ukfreebsd