1*0c3ae37fSLionel Sambuc.\" $NetBSD: curses_standout.3,v 1.6 2012/05/02 04:23:09 agc Exp $ 251ffecc1SBen Gras.\" Copyright (c) 2002 The NetBSD Foundation, Inc. 351ffecc1SBen Gras.\" All rights reserved. 451ffecc1SBen Gras.\" 551ffecc1SBen Gras.\" This code is derived from software contributed to The NetBSD Foundation 651ffecc1SBen Gras.\" by Julian Coleman. 751ffecc1SBen Gras.\" 851ffecc1SBen Gras.\" Redistribution and use in source and binary forms, with or without 951ffecc1SBen Gras.\" modification, are permitted provided that the following conditions 1051ffecc1SBen Gras.\" are met: 1151ffecc1SBen Gras.\" 1. Redistributions of source code must retain the above copyright 1251ffecc1SBen Gras.\" notice, this list of conditions and the following disclaimer. 1351ffecc1SBen Gras.\" 2. Redistributions in binary form must reproduce the above copyright 1451ffecc1SBen Gras.\" notice, this list of conditions and the following disclaimer in the 1551ffecc1SBen Gras.\" documentation and/or other materials provided with the distribution. 1651ffecc1SBen Gras.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 1751ffecc1SBen Gras.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 1851ffecc1SBen Gras.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1951ffecc1SBen Gras.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 2051ffecc1SBen Gras.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2151ffecc1SBen Gras.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2251ffecc1SBen Gras.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2351ffecc1SBen Gras.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2451ffecc1SBen Gras.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2551ffecc1SBen Gras.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2651ffecc1SBen Gras.\" POSSIBILITY OF SUCH DAMAGE. 2751ffecc1SBen Gras.\" 28*0c3ae37fSLionel Sambuc.Dd May 1, 2012 2951ffecc1SBen Gras.Dt CURSES_STANDOUT 3 3051ffecc1SBen Gras.Os 3151ffecc1SBen Gras.Sh NAME 3251ffecc1SBen Gras.Nm curses_standout , 3351ffecc1SBen Gras.Nm standout , 3451ffecc1SBen Gras.Nm standend , 3551ffecc1SBen Gras.Nm wstandout , 3651ffecc1SBen Gras.Nm wstandend 3751ffecc1SBen Gras.Nd curses standout attribute manipulation routines 3851ffecc1SBen Gras.Sh LIBRARY 3951ffecc1SBen Gras.Lb libcurses 4051ffecc1SBen Gras.Sh SYNOPSIS 4151ffecc1SBen Gras.In curses.h 4251ffecc1SBen Gras.Ft int 4351ffecc1SBen Gras.Fn standout void 4451ffecc1SBen Gras.Ft int 4551ffecc1SBen Gras.Fn standend void 4651ffecc1SBen Gras.Ft int 47*0c3ae37fSLionel Sambuc.Fo wstandout 48*0c3ae37fSLionel Sambuc.Fa "WINDOW *win" 49*0c3ae37fSLionel Sambuc.Fc 5051ffecc1SBen Gras.Ft int 51*0c3ae37fSLionel Sambuc.Fo wstandend 52*0c3ae37fSLionel Sambuc.Fa "WINDOW *win" 53*0c3ae37fSLionel Sambuc.Fc 5451ffecc1SBen Gras.Sh DESCRIPTION 5551ffecc1SBen GrasThese functions manipulate the standout attribute on 5651ffecc1SBen Gras.Dv stdscr 5751ffecc1SBen Grasor on the specified window. 5851ffecc1SBen Gras.Pp 5951ffecc1SBen GrasThe 6051ffecc1SBen Gras.Fn standout 6151ffecc1SBen Grasfunction turns on the standout attribute 6251ffecc1SBen Grason 6351ffecc1SBen Gras.Dv stdscr . 6451ffecc1SBen GrasThe 6551ffecc1SBen Gras.Fn standend 6651ffecc1SBen Grasfunction turns off the standout attribute 6751ffecc1SBen Grason 6851ffecc1SBen Gras.Dv stdscr . 6951ffecc1SBen Gras.Pp 7051ffecc1SBen GrasThe 7151ffecc1SBen Gras.Fn wstandout 7251ffecc1SBen Grasand 7351ffecc1SBen Gras.Fn wstandend 7451ffecc1SBen Grasfunctions are equivalent to 7551ffecc1SBen Gras.Fn standout 7651ffecc1SBen Grasand 7751ffecc1SBen Gras.Fn standend , 7851ffecc1SBen Grasrespectively, excepting that the attribute is manipulated on the 7951ffecc1SBen Graswindow specified by 8051ffecc1SBen Gras.Fa win . 8151ffecc1SBen Gras.Pp 8251ffecc1SBen GrasThe 8351ffecc1SBen Gras.Fn standout 8451ffecc1SBen Grasand 8551ffecc1SBen Gras.Fn standend 8651ffecc1SBen Grasfunctions are equivalent to 8751ffecc1SBen Gras.Fn attron A_STANDOUT 8851ffecc1SBen Grasand 8951ffecc1SBen Gras.Fn attroff A_STANDOUT , 9051ffecc1SBen Grasrespectively. 9151ffecc1SBen Gras.Sh RETURN VALUES 9251ffecc1SBen GrasThese functions always return 1. 9351ffecc1SBen Gras.Sh SEE ALSO 9451ffecc1SBen Gras.Xr curses_attributes 3 , 9551ffecc1SBen Gras.Xr curses_underscore 3 9651ffecc1SBen Gras.Sh STANDARDS 9751ffecc1SBen GrasThe 9851ffecc1SBen Gras.Nx 9951ffecc1SBen GrasCurses library complies with the X/Open Curses specification, part of the 10051ffecc1SBen GrasSingle Unix Specification. 10151ffecc1SBen Gras.Sh HISTORY 10251ffecc1SBen GrasThe Curses package appeared in 10351ffecc1SBen Gras.Bx 4.0 . 10451ffecc1SBen Gras.Sh BUGS 10551ffecc1SBen GrasOn modern terminals that support other attributes, there is no difference 10651ffecc1SBen Grasbetween characters displayed with the standout attribute set and those 10751ffecc1SBen Grasdisplayed with one of the other attributes set (usually bold). 10851ffecc1SBen GrasIt is best to avoid using standout if the terminal supports other attributes. 109