summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Etc/MACHINES27
-rw-r--r--zshconfig.ac3
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  <pws@csr.com>
+
+	* 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  <opk@zsh.org>
 
 	* 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