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

Re: patch to make $TERMINFO special



On Mon, May 09, 2011 at 05:20:14PM +0100, Peter Stephenson wrote:

> On Mon, 9 May 2011 08:51:38 -0700
> Danek Duvall <duvall@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > > What problem is the addenv() call trying to fix?
> > 
> > It didn't actually seem that TERMINFO was being set in my shell if I
> > didn't do that.  In fact, I got the message
> > 
> >     can't find terminal definition for xterm-256color
> > 
> > when I change $TERMINFO, and I get that with your patch as well.  It
> > also just doesn't work -- colors are wrong, tput colors comes back
> > empty, as does echoti colors, and the terminal handling is absolutely
> > awful, just as if nothing had happened.
> 
> You are remembering to export it from the shell ("export TERMINFO=...")?

Yes:

    export TERMINFO=/var/tmp/dduvall/.terminfo

Danek



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