1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

modified from 18236: HP-UX curses problem latest

This commit is contained in:
Peter Stephenson 2003-02-14 15:56:33 +00:00
parent c1467e410d
commit a7e6deb69e
3 changed files with 24 additions and 8 deletions

View file

@ -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:

View file

@ -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'.
Should build `out-of-the-box', although various problems have
been encountered on HP-UX 11.x:
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.
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.
Compiling with gcc 2.7.1 is known to fail with header file
conflicts on HP-UX 11. Use the HP ANSI C compiler.
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.

View file

@ -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