Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Termcap saga
- X-seq: zsh-workers 14193
- From: "F. G. Marx" <fmarx@xxxxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Termcap saga
- Date: Wed, 2 May 2001 01:22:37 -0400
- Cc: Peter Stephenson <pws@xxxxxxx>, zsh-workers@xxxxxxxxxx (Zsh hackers list)
- In-reply-to: <1010501150227.ZM6942@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Tc0a88d015341106398@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1010501150227.ZM6942@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: fmarx@xxxxxxxxxxxxxx
I made clean, Util/preconfig'ed, and configure'd --with-curses-terminfo,
and -ltermcap, which had been being included along with -l(n)curses for a
while (linux), was dropped from the link line.
Test ./C02cond.ztst failed: bad status 1, expected 0 from:
[[ -r zerolength && ! -r unmodish ]]
was the only fail.
Bart Schaefer writes:
> On May 1, 1:58pm, Peter Stephenson wrote:
> }
> } What's supposed to happen after the last set of changes?
>
> The trouble is that configure's -lcurses vs. -ltermcap decision is based
> on linking to tgetent, but term{cap,info}.c's decision of which headers
> to included is based only on whether those headers are present. So it
> includes headers it doesn't need, and (for the same reason that Andrej
> was having trouble with the stat module -- the Cygwin folks are getting
> overzealous with `const') it ends up declaring global variables it won't
> need.
>
> Since nobody has howled about 14177 changing the configure messages, I'll
> commit it and then look at moving the checks for curses.h and term.h into
> the section for --with-curses-terminfo so they'll be checked for only if
> they're going to be needed.
>
> --
> Bart Schaefer Brass Lantern Enterprises
> http://www.well.com/user/barts http://www.brasslantern.com
>
> Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author