* Libraries on HP-UX 10.20
@ 1997-07-10 10:09 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1997-07-10 10:09 UTC (permalink / raw)
To: Zsh hackers list
I can't remember if this has been pointed out before, but it's not in
MACHINES: I just compiled zsh 3.1.2 on a local box running HP-UX
10.20. configure picked -ltermcap for linking, but the resulting zle
behaved very strangely on my xterm. I replaced it with -lcurses,
relinked and everything is fine. (At a guess, since changing TERM
gives `terminal unknown' messages, -ltermcap is trying to use the
rather minimal /etc/termcap instead of using the much larger terminfo
database as the emulation in -lcurses does. Hasn't anybody else seen
this?)
This should presumably be written into termcap_curses_order in
configure.in, where it already changes the order for AIX.
Unfortunately I have no idea which other versions of HP-UX will endure
this behaviour. $host_os in this case is 'hpux10.20'. This patch to
configure.in applies the change for any hpux10.*. (Perhaps better to
change the 10 to 1[[0-9]] for future-proofing.)
*** configure.in~ Thu May 29 06:47:33 1997
--- configure.in Thu Jul 10 12:02:01 1997
***************
*** 417,424 ****
dnl CHECK FOR LIBRARIES
dnl -------------------
dnl Prefer BSD termcap library to SysV curses library, except on certain
! dnl versions of AIX.
! if test `echo $host_os | sed 's/^.*\(aix\)[[1-9]]\.[[0-9]].*$/\1/'` = aix; then
termcap_curses_order="curses ncurses termcap"
else
termcap_curses_order="termcap curses ncurses"
--- 417,425 ----
dnl CHECK FOR LIBRARIES
dnl -------------------
dnl Prefer BSD termcap library to SysV curses library, except on certain
! dnl versions of AIX and HP-UX.
! if test `echo $host_os | sed 's/^.*\(aix\)[[1-9]]\.[[0-9]].*$/\1/'` = aix ||
! test `echo $host_os | sed 's/^.*\(hpux\)10.*$/\1/'` = hpux; then
termcap_curses_order="curses ncurses termcap"
else
termcap_curses_order="termcap curses ncurses"
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-07-10 10:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-10 10:09 Libraries on HP-UX 10.20 Peter Stephenson
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).