From a7e6deb69e0da03d7f4f050ed2eb172c80df0144 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 14 Feb 2003 15:56:33 +0000 Subject: modified from 18236: HP-UX curses problem latest --- ChangeLog | 6 ++++++ Etc/MACHINES | 27 ++++++++++++++++++--------- zshconfig.ac | 3 ++- 3 files changed, 26 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ca20c44d..b1b3f9b8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-02-14 Peter Stephenson + + * modified from 18236: zshconfig.ac, Etc/MACHINES: Attempt to fix + HP-UX problem with curses, which apparently failed; however, it is + documented in MACHINES. + 2003-02-13 Oliver Kiddle * 18238: Config/installfns.sh, Src/Zle/complete.mdd: diff --git a/Etc/MACHINES b/Etc/MACHINES index 07a45c909..17f2a72c6 100644 --- a/Etc/MACHINES +++ b/Etc/MACHINES @@ -69,15 +69,24 @@ FreeBSD: FreeBSD 2.2.7, 3.x, 4.x does not work, but it does with 3.x and 4.x. HP: HP-UX 9, 10.20, 11.0 - Should build `out-of-the-box'. - - Problems with dynamic loading have been reported under 11, but - this should compile using the standard dlopen() function set - (rather than the 10.20 shl_load() function set). More details of - any difficulties would be appreciated. - - Compiling with gcc 2.7.1 is known to fail with header file - conflicts on HP-UX 11. Use the HP ANSI C compiler. + Should build `out-of-the-box', although various problems have + been encountered on HP-UX 11.x: + + Some of the special keys on the keyboard (backspace, delete) + have been found to stop functioning. One suggested fix is + to alter the way the curses library is linked in the Makefile. + Replacing `-lcurses' with `-lHcurses -lcurses' in the libraries + is reported to fix. An attempt to fix this in configure + is apparently ineffective; more information would be appreciated + as the maintainers do not have access to an HP-UX system. + + Problems with dynamic loading have been reported, but + this should compile using the standard dlopen() function set + (rather than the 10.20 shl_load() function set). More details of + any difficulties would be appreciated. + + Compiling with gcc 2.7.1 is known to fail with header file + conflicts. Use the HP ANSI C compiler. IBM: AIX 3.2, 4.x Should build `out-of-the-box', but --enable-zsh-mem will not work. diff --git a/zshconfig.ac b/zshconfig.ac index 266630af2..29dc3103c 100644 --- a/zshconfig.ac +++ b/zshconfig.ac @@ -563,6 +563,7 @@ AC_CHECK_LIB(m, pow) dnl Prefer BSD termcap library to SysV curses library, except on certain dnl SYSV-derived systems. +dnl On HPUX, Hcurses is reported to work better than curses. AC_ARG_WITH(curses-terminfo, [ --with-curses-terminfo use terminfo support from curses library], [if test x$withval = xyes; then @@ -573,7 +574,7 @@ else fi], [case "$host_os" in hpux10.*|hpux11.*|solaris*) - termcap_curses_order="curses ncurses termcap" ;; + termcap_curses_order="Hcurses curses ncurses termcap" ;; *) termcap_curses_order="termcap curses ncurses" ;; esac])dnl -- cgit 1.4.1