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

Re: termcap moodule problem on Cygwin



> Cygwin has only static libtermcap. It gets linked twice - into main zsh
> (libzsh to be sure) where term is (re-)initalized and into termcap.dll where
> bin_echotc is defined. Only first one calls tgetent() so every call to `echot
> c
> cap' crashes somewhere in termcap.

It must surely be possible to make sure it is linked in once only, which
would be the right thing to do.  If the worst comes to the worst, get
configure to detect a static termcap and only link it into the main module.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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