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

RE: TERMCAP problem.



>
> It's changed since then.  If you have HAVE_PUTENV defined in config.h, try
> undefining it for something a bit more like (but not identical to) the old
> behaviour to see if that makes a difference.
>

I believe, I know what happens. When zsh creates parameters from environment,
it splits env string in-place; when tgetent is called (from init_term from
termsetfn), envronment string for TERM looks like

TERM\0xterm

Obviously, tgetent (or some functions called from it) does not like this. But
it was there for at least half an year already. I am not sure, but I think, it
was there before my patch as well.

I'll send a patch later, hopefully today.

-andrej



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