zsh-workers
 help / color / mirror / code / Atom feed
From: Manish Ahluwalia <manish@cup.hp.com>
To: schaefer@brasslantern.com
Cc: zsh-workers@sunsite.dk, manish@cup.hp.com
Subject: Re: zsh - hpux 11i prompt does not work
Date: Thu, 20 Mar 2003 04:09:58 -0800	[thread overview]
Message-ID: <3E79AF96.EF0D0EEE@cup.hp.com> (raw)
In-Reply-To: <3E77F2B5.E50A6FB@cup.hp.com>

Bart Schaefer wrote:
> 
> On Mar 18,  8:31pm, Manish Ahluwalia wrote:
> }
> } I use zsh on hpux. I have noticed a problem with zsh and hpux version
> } 11i. I have tried zsh versions 3.0.5 and 4.0.4 with the same results.
> 
> Both this and the backspace problem are due to the HP-UX curses
> libraries.
> The latest Etc/MACHINES file says this:
> 
>           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.

Thanks a lot. I didn't see this section in my Etc/MACHINES (4.0.6), but
I tried the suggestion anyway, and it works!

I did not try the configure patch given below, I modified the generated
Makefile.

Is there someway I can help you guys figure out a fix for this that
works (say by trying out the patch?).

Please cc your reply to me as I am not a member of the zsh-workers list.

> 
> The "apparently ineffective" configure patch (actually for the file
> zshconfig.ac) is:
> 
> --- branch/zshconfig.ac      Wed Mar 19 07:51:26 2003
> +++ current/zshconfig.ac     Sat Mar 15 09:29:15 2003
> @@ -556,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
> @@ -566,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
> 
> 
> --
> Bart Schaefer                                 Brass Lantern Enterprises
> http://www.well.com/user/barts              http://www.brasslantern.com
> 
> Zsh: http://www.zsh.org | PHPerl Project:
> http://phperl.sourceforge.net

-- Manish
____________________________________________________________________
Cliches are a dime a dozen -- avoid them like the plague.


  parent reply	other threads:[~2003-03-20 12:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-19  4:31 Manish Ahluwalia
2003-03-19 16:13 ` Bart Schaefer
2003-03-20 12:09 ` Manish Ahluwalia [this message]
2003-03-20 12:35   ` Manish Ahluwalia

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=3E79AF96.EF0D0EEE@cup.hp.com \
    --to=manish@cup.hp.com \
    --cc=schaefer@brasslantern.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).