zsh-users
 help / color / mirror / code / Atom feed
From: Phil Pennock <Phil.Pennock@globnix.org>
To: Arthur Alinovi <aalinovi@panix.com>
Cc: zsh-users@sunsite.dk
Subject: Re: zsh 4.0.4 on Solaris 8 termcap problems
Date: Wed, 14 Aug 2002 21:08:47 +0200	[thread overview]
Message-ID: <20020814210847.A6002@globnix.org> (raw)
In-Reply-To: <3D5A9577.nailHV81CFD7D@panix.com>; from aalinovi@panix.com on Wed, Aug 14, 2002 at 01:37:59PM -0400

[-- Attachment #1: Type: text/plain, Size: 1681 bytes --]

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:
 <URL:http://www.zsh.org/mla/users/2001/msg00137.html>

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
entry.

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 #2: Type: application/pgp-signature, Size: 187 bytes --]

      reply	other threads:[~2002-08-14 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-14 17:37 Arthur Alinovi
2002-08-14 19:08 ` Phil Pennock [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020814210847.A6002@globnix.org \
    --to=phil.pennock@globnix.org \
    --cc=aalinovi@panix.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).