zsh-users
 help / color / mirror / code / Atom feed
* cannot find termcap info for xterm-color
@ 2001-03-19 18:41 Jeff Shipman
  2001-03-21  8:54 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Shipman @ 2001-03-19 18:41 UTC (permalink / raw)
  To: zsh-users

I've been using xterm-color for quite awhile with
bash and tcsh, but when I try to set my TERM to
xterm-color under zsh, I get the error:

/u/jeff/.zshrc: can't find termcap info for xterm-color [90]

and my terminal doesn't work properly. The info
for the terminal is located under /usr/share/terminfo/x
so how can I get zsh to find it and use it?

Jeff "Shippy" Shipman     E-Mail: shippy@nmt.edu
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy


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

* Re: cannot find termcap info for xterm-color
  2001-03-19 18:41 cannot find termcap info for xterm-color Jeff Shipman
@ 2001-03-21  8:54 ` Bart Schaefer
  2001-03-22 14:39   ` zsh-3.0.8 on SunOS 5.8 in home dir with terminfo Sven Guckes
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2001-03-21  8:54 UTC (permalink / raw)
  To: zsh-users

On Mar 19, 11:41am, Jeff Shipman wrote:
} Subject: cannot find termcap info for xterm-color
}
} /u/jeff/.zshrc: can't find termcap info for xterm-color [90]
} 
} so how can I get zsh to find it and use it?

First, try using TERM=color_xterm instead, and see if that doesn't fix
you up.  Sometimes /etc/termcap has color_xterm but not xterm-color.

Then, if that works, try to find out why zsh is using termcap when it
ought to be using terminfo.  Did you build zsh yourself, or was it
installed by a sysadmin?

(The error message you quoted always says "termcap" when it can't find a
terminal definition, even when using terminfo.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

* Re: zsh-3.0.8 on SunOS 5.8 in home dir with terminfo
  2001-03-21  8:54 ` Bart Schaefer
@ 2001-03-22 14:39   ` Sven Guckes
  0 siblings, 0 replies; 3+ messages in thread
From: Sven Guckes @ 2001-03-22 14:39 UTC (permalink / raw)
  To: zsh-users

* Bart Schaefer <schaefer@candle.brasslantern.com> [010321 08:55]:
> On Mar 19, 11:41am, Jeff Shipman wrote:
> } Subject: cannot find termcap info for xterm-color
> } /u/jeff/.zshrc: can't find termcap info for xterm-color [90]
> } so how can I get zsh to find it and use it?
> 
> First, try using TERM=color_xterm instead, and see if that doesn't fix
> you up.  Sometimes /etc/termcap has color_xterm but not xterm-color.
> 
> Then, if that works, try to find out why zsh is
> using termcap when it ought to be using terminfo.
> Did you build zsh yourself, or was it installed by a sysadmin?
> 
> (The error message you quoted always says "termcap" when it
> can't find a terminal definition, even when using terminfo.)

Same problem here:

  zsh> TERM=xterm
  zsh> TERM=xterm-color
  (I guess I'm luky here..)
  zsh> TERM=color_xterm
  zsh: can't find termcap info for color_xterm
  zsh> TERM=rxvt
  zsh: can't find termcap info for rxvt

How to make zsh use TERMINFO (on SunOS 5.8)?
Directory /usr/share/lib/terminfo exists
but apparently has NO entry for rxvt.

Mind you, this system has just been installed
and is missing a compiler, an up-to-date vim,
and an up-to-date zsh.  *sigh*

So my goal is to install an up-todate zsh in ~/bin
(which I exec from my /bin/csh login - dont ask)
and then getting it to work with my ~/.terminfo.

Suggestions?

Sven  [on his quest for a working setup on SunOS]

-- 
Sven Guckes guckes-zsh@math.fu-berlin.de |        user: zsh-3.0.8 [000515]
ZSH HomePage: http://www.zsh.org         | development: zsh-3.1.9 [000605]
ZSH Pages:    http://www.math.fu-berlin.de/~guckes/zsh/  Tips and tricks
ZSH Tips:     http://www.math.fu-berlin.de/~guckes/zsh/tips.html


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

end of thread, other threads:[~2001-03-22 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-19 18:41 cannot find termcap info for xterm-color Jeff Shipman
2001-03-21  8:54 ` Bart Schaefer
2001-03-22 14:39   ` zsh-3.0.8 on SunOS 5.8 in home dir with terminfo Sven Guckes

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