Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: patch to make $TERMINFO special
On Mon, 9 May 2011 10:16:21 -0700
Danek Duvall <duvall@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, May 09, 2011 at 06:02:26PM +0100, Peter Stephenson wrote:
>
> > Hmmm... the code that sets the exported value (that terminfo uses)
> > is probably being set later, in which we do need to fix up
> > exports. I think it should be conditionalised, however...
>
> Okay. FWIW, I'm happy with the TERM=$TERM solution, too.
It's probably worth the effort to make TERMINFO special to avoid needing
people to rummage in the basement. As I said, TERMINFO is a specialised
enough name it's hard to see this causing a problem.
> > +/* Function used when we need to reinitialies the terminal */
>
> "reinitialise"
>
> > +/**/
> > +char *
> > +terminfogetfn(Param pm, char *x)
>
> The second parameter causes the compiler to emit a warning, and the
> first should probably be marked UNUSED().
I've fixed those and commited it.
--
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