TERM and SSH
m.seaman at infracaninophile.co.uk
Sat Jun 12 19:01:46 BST 2004
Content-Type: text/plain; charset=us-ascii
On Sat, Jun 12, 2004 at 06:26:05PM +0100, David Jenkins wrote:
> Matthew Seaman wrote:
> >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.
> Thanks for the reply Matthew. I have tried what you suggested but=20
> something seemed to go wrong when running captoinfo.
> I removed all non cons25 references from my copy of /etc/termcap - I=20
> left *all* of the cons25 and variations of in there.
> I copied this to my Linux machine, called it termcap and ran
> $ captoinfo termcap > cons25.tinfo
> This give a lot of errors to stdout and also created a *text file*=20
> called cons25.tinfo
Hmmm... those looked mostly like warnings to me. The .tinfo file
you've generated seems reasonable enough, not that I have a huge
degree of familiarity with the terminfo data format.
> I checked the other files in /etc/terminfo and these appear to be binary=
> files, so I've obviously done something wrong :-(
Ah. No -- you haven't gone wrong. It's just that there is another
stage or processing, something I missed at first. The last step is to
run tic(1M) on the .tinfo file:
# tic cons25.tinfo
-- that should compile the terminfo source and install the compiled
date under /usr/share/terminfo. See=20
for more details.
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