zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Vincent Lefevre <vincent@vinc17.org>, ee_in_co@yahoo.com
Cc: zsh-workers@sunsite.dk
Subject: hp/ux terminfo
Date: Wed, 19 Sep 2001 10:17:02 -0400	[thread overview]
Message-ID: <20010919101702.B25501@dman.com> (raw)
In-Reply-To: <20010918155339.20305.qmail@web12504.mail.yahoo.com>; from ee_in_co@yahoo.com on Tue, Sep 18, 2001 at 08:53:39AM -0700

> Under HP-UX, the tgetent return codes recently changed so it
> returns OK (0) for success and ERR (-1) for error.  Hence the
> changes invalidated the code written with the old assumptions.
> 
> I am not sure if HP-UX is following a new POSIX standard or what
> by implementing these changes, but it may be possible that linux
> has made a similar change.

This is actually from X/Open Curses, which doesn't define
specific values for OK and ERR.  The tgetent entry
has been marked "to be withdrawn" in Open Group specs
for many years now.  I'm not sure if this is because
they intend to deprecate the termcap emulation routines
or because of the possible return value inconsistency.

If HP-UX is actually returning 0 instead of merely
documenting the X/Open behavior and implementing the
traditional behavior, we should check for that
at configure-time.


           reply	other threads:[~2001-09-19 14:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20010918155339.20305.qmail@web12504.mail.yahoo.com>]

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=20010919101702.B25501@dman.com \
    --to=clint@zsh.org \
    --cc=ee_in_co@yahoo.com \
    --cc=vincent@vinc17.org \
    --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).