[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/51673: curses: standend() does not turn off A_BOLD
The following reply was made to PR lib/51673; it has been noted by GNATS.
From: Carsten Kunze <carsten.kunze%arcor.de@localhost>
To: christos%zoulas.com@localhost, gnats-bugs%netbsd.org@localhost, lib-bug-people%netbsd.org@localhost,
Subject: Re: lib/51673: curses: standend() does not turn off A_BOLD
Date: Tue, 29 Nov 2016 19:15:09 +0100 (CET)
christos%zoulas.com@localhost (Christos Zoulas) wrote:
> This is a difference between XPG4 curses and BSD curses. I am not sure
> the best way to deal with it.
> http://pubs.opengroup.org/onlinepubs/9693989999/toc.pdf says that
> is equivalent to calling attron(A_NORMAL), whereby our man pages state that
> standend only turns off the standout attribute.
> I think that we should follow suit, but it feels wrong :-)
Sorry, I didn't know, that it is intended. Brett Lymn wrote few days ago, that NetBSD curses follows the spec mentioned above. Because of that I even didn't check the manpage--which clearly states that only A_STANDOUD is cleared. It does not harm to add a attrset(A_NORMAL) in the code which works with ncurses too. Maybe it is better to withdraw this commit. Sorry for the work and confusion :(
Main Index |
Thread Index |