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

Re: [PATCH] make TERMINFO_DIRS variable special



On Wed, 9 Nov 2016 15:47:10 +0100
"Guillaume Maudoux (Layus)" <layus.on@xxxxxxxxx> wrote:
> The general idea is that terminfo look for these varibales via getenv(),
> To pass them correctly, we need to export them to our own environment.
> The term update is just a nice extra feature avoiding the TERM=$TERM trick.
>
> I am not aware of the review/accept policy for patches.
> Could you tell me if this one has any chance to get merged ?

Can't see any problem generally, given it's exactly parellel to the
TERMINFO trick.

Usually you just need to post it (without the "> " and by any mechanism
that doesn't cause line wrap or other modifications) and wait for people
to comment.

One issue is that the doc implies (and people would probably expect)
that TERMINFO_DIRS is a tied variable with a terminfo_dirs array
equivalent. This doesn't exist.  This would need accessors along the
lines of the contents of colonarr_gsu for the colon-separated version
and vararray_gsu for the array version.  Possibly only the setters are
different.

pws



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