Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh doesn't compile correctly out of the box for HPUX
- X-seq: zsh-workers 18236
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Zsh doesn't compile correctly out of the box for HPUX
- Date: Thu, 13 Feb 2003 10:55:21 +0000
- Cc: Nathan Peirce <nathan@xxxxxxxxx>, Matt Lovell <lovell@xxxxxxxxx>
- In-reply-to: "Nathan Peirce"'s message of "Wed, 12 Feb 2003 10:14:59 MST." <15946.33043.268273.403941@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Nathan Peirce wrote:
> But whoever is compiling the regular X/Open cursese for HPUX is doing it
> wrong because it has the backspace problem. So as long as Hcurses is
> available, its use is a good workaround to the backspace problem.
Here's a patch to the latest source; it's in a different file in 4.0 but
the patch itself should be similar. Again, I'm assuming that -lHcurses
can replace -lcurses or we need to be cleverer.
The MACHINES entry includes some relevant stuff I was already
accumulating, I can't remember if I posted it.
Index: zshconfig.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/zshconfig.ac,v
retrieving revision 1.30
diff -u -r1.30 zshconfig.ac
--- zshconfig.ac 30 Jan 2003 15:30:52 -0000 1.30
+++ zshconfig.ac 13 Feb 2003 10:53:20 -0000
@@ -563,6 +563,7 @@
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 @@
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
Index: Etc/MACHINES
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/MACHINES,v
retrieving revision 1.16
diff -u -r1.16 MACHINES
--- Etc/MACHINES 25 Jul 2002 13:27:21 -0000 1.16
+++ Etc/MACHINES 13 Feb 2003 10:53:20 -0000
@@ -69,15 +69,22 @@
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.
+ This should now be done by default if you do *not* explicitly
+ specify --with-curses-terminfo.
- 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.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author