Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 4.0.4 on Solaris 8 termcap problems

On 2002-08-14 at 13:37 -0400, Arthur Alinovi wrote:
> Back around March 22 of 2001, several people were having
> terminfo/termcap problems with zsh 3.08.  I'm referring specifically to
> message 3721 where setting TERM=rxvt or TERM=xterm-color results in an
> error message "Can't find termcap info..."
> I'm having the same problem with zsh 4.0.4 on 2 Ultra Sparc 10's, one
> running Solaris 7 and the other running Solaris 8.
> Has anyone discovered a fix or work around for this problem as I don't
> see anything further in the archives.

Message 3721:

In that report, there wasn't an entry for the term type in terminfo.  If
that is the cause of the problem, then it's not really a zsh issue,
beyond the compilation picking up the termcap compatibility stuff for
the interface.  Well, okay, it's a zsh issue, and it's an issue with
every other tool which tries to do terminal handling.

So you need to populate the database of known terminal types with a new

My approach is generally to take an xterm-color termcap entry from
something like a FreeBSD box, copy it to the Solaris box, convert it
using cap2info(1M) and then run tic(1M) on the result, to install it.

This generally makes the Solaris 2.5.1 boxes issue some warnings about
unsupported attributes and name-lengths.  But it does add in recognition
of the term-type and make the box usable without having to mess around
any further.

I also add the raw entries from FreeBSD into /usr/share/lib/termcap.

Does this fix things for you?
Some mornings it's just not worth chewing through the leather straps.

Attachment: pgp4u1JBNeSIU.pgp
Description: PGP signature

Messages sorted by: Reverse Date, Date, Thread, Author