From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4277 invoked from network); 13 Feb 2003 10:55:46 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Feb 2003 10:55:46 -0000 Received: (qmail 14319 invoked by alias); 13 Feb 2003 10:55:37 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18236 Received: (qmail 14311 invoked from network); 13 Feb 2003 10:55:36 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Feb 2003 10:55:36 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Feb 2003 10:55:36 -0000 Received: from exchange01.csr.com (unverified) by (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Thu, 13 Feb 2003 11:02:09 +0000 Received: from csr.com (tinky-winky.csr.com [192.168.144.127]) by exchange01.csr.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id DQ47MQBQ; Thu, 13 Feb 2003 10:56:06 -0000 To: zsh-workers@sunsite.dk cc: Nathan Peirce , Matt Lovell Subject: Re: Zsh doesn't compile correctly out of the box for HPUX In-reply-to: "Nathan Peirce"'s message of "Wed, 12 Feb 2003 10:14:59 MST." <15946.33043.268273.403941@hpesnhp.fc.hp.com> Date: Thu, 13 Feb 2003 10:55:21 +0000 Message-ID: <14405.1045133721@csr.com> From: Peter Stephenson 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 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. **********************************************************************