1 .\" $NetBSD: curses_chgat.3,v 1.5 2011/02/10 08:54:12 blymn Exp $
3 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Joerg Sonnenberger.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
38 .Nd curses on-screen attribute manipulation routines
44 .Fn chgat "int n" "attr_t attr" "short color" "const void *opts"
46 .Fn wchgat "WINDOW *win" "int n" "attr_t attr" "short color" \
49 .Fn mvchgat "int y" "int x" "int n" "attr_t attr" "short color" \
52 .Fn mvwchgat "WINDOW *win" "int y" "int x" "int n" "attr_t attr" \
53 "short color" "const void *opts"
55 These functions modify the attributes of the drawn content on stdscr or
56 on the specified window.
60 function sets the attributes of the next
68 is negative or larger than the remainder of the line, it gets truncated.
74 function, excepting that the attributes are changed in the window specified by
81 functions are the same as the
85 functions, respectively, excepting that they operate from the position
90 These functions do not perform wrapping.
91 They do not update the cursor position.
93 The functions that return an int will return one of the following
96 .Bl -tag -width ERR -compact
98 The function completed successfully.
100 An error occurred in the function.
103 .Xr curses_attributes 3
114 The Curses package appeared in