Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
hp/ux terminfo
- X-seq: zsh-workers 15845
- From: Clint Adams <clint@xxxxxxx>
- To: Vincent Lefevre <vincent@xxxxxxxxxx>, ee_in_co@xxxxxxxxx
- Subject: hp/ux terminfo
- Date: Wed, 19 Sep 2001 10:17:02 -0400
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20010918155339.20305.qmail@xxxxxxxxxxxxxxxxxxxxxxx>; from ee_in_co@xxxxxxxxx on Tue, Sep 18, 2001 at 08:53:39AM -0700
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010918165111.B17411@xxxxxxxxxxxxxx> <20010918155339.20305.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author