zsh-workers
 help / color / mirror / code / Atom feed
* hp/ux terminfo
       [not found] ` <20010918155339.20305.qmail@web12504.mail.yahoo.com>
@ 2001-09-19 14:17   ` Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2001-09-19 14:17 UTC (permalink / raw)
  To: Vincent Lefevre, ee_in_co; +Cc: zsh-workers

> 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-19 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010918165111.B17411@greux.loria.fr>
     [not found] ` <20010918155339.20305.qmail@web12504.mail.yahoo.com>
2001-09-19 14:17   ` hp/ux terminfo Clint Adams

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).