From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Cc: Nathan Peirce <nathan@fc.hp.com>, Matt Lovell <lovell@fc.hp.com>
Subject: Re: Zsh doesn't compile correctly out of the box for HPUX
Date: Thu, 13 Feb 2003 10:55:21 +0000 [thread overview]
Message-ID: <14405.1045133721@csr.com> (raw)
In-Reply-To: "Nathan Peirce"'s message of "Wed, 12 Feb 2003 10:14:59 MST." <15946.33043.268273.403941@hpesnhp.fc.hp.com>
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@csr.com> 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.
**********************************************************************
prev parent reply other threads:[~2003-02-13 10:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-12 1:22 Nathan Peirce
2003-02-12 11:15 ` Peter Stephenson
2003-02-12 17:14 ` Nathan Peirce
2003-02-13 10:55 ` Peter Stephenson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14405.1045133721@csr.com \
--to=pws@csr.com \
--cc=lovell@fc.hp.com \
--cc=nathan@fc.hp.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).