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

Re: zsh-2.6-beta14 on AIX with login shell problem



>>>>> "Jos" == Jos Backus <jos@xxxxxx> writes:

    Jos> Fyi, as of beta14 configure still finds '-ltermcap' instead
    Jos> of '-lcurses' on AIX. You can try relinking with curses and
    Jos> see if that helps...

Aha!  That did it!  It seems that when zsh uses -lcurses it works
correctly.  Maybe the 'configure.in' file should be changed to prefer
SysV curses library over the BSD termcap library.  Hint,
hint.. Richard how do you feel about making this change?

Here's the patch for making zsh check for curses before termcap:

--- configure.in.orig   Mon Apr 15 01:32:58 1996
+++ configure.in        Tue Apr 23 11:28:34 1996
@@ -217,8 +217,8 @@
 dnl -------------------
 dnl CHECK FOR LIBRARIES
 dnl -------------------
-dnl Prefer BSD termcap library to SysV curses library.
-for lib in termcap curses ncurses; do
+dnl Prefer SysV curses library to BSD termcap library.
+for lib in curses ncurses termcap; do
   AC_CHECK_LIB($lib, tgetent, [LIBS="$LIBS -l$lib"; break])
 done

Mike




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