Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: patch to make $TERMINFO special
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=...")?
The shell doesn't do that by default and I don't think there's any good
reason to make it do so --- every other variable that needs exporting
you have to mark explicitly for export, unless it was imported.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author