zsh-users
 help / color / mirror / code / Atom feed
* zsh 4.0.4 on Solaris 8 termcap problems
@ 2002-08-14 17:37 Arthur Alinovi
  2002-08-14 19:08 ` Phil Pennock
  0 siblings, 1 reply; 2+ messages in thread
From: Arthur Alinovi @ 2002-08-14 17:37 UTC (permalink / raw)
  To: zsh-users

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.

Thanks


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: zsh 4.0.4 on Solaris 8 termcap problems
  2002-08-14 17:37 zsh 4.0.4 on Solaris 8 termcap problems Arthur Alinovi
@ 2002-08-14 19:08 ` Phil Pennock
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Pennock @ 2002-08-14 19:08 UTC (permalink / raw)
  To: Arthur Alinovi; +Cc: zsh-users

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-14 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-14 17:37 zsh 4.0.4 on Solaris 8 termcap problems Arthur Alinovi
2002-08-14 19:08 ` Phil Pennock

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