~ubuntu-branches/ubuntu/natty/ncurses/natty

« back to all changes in this revision

Viewing changes to man/curs_attr.3x

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-17 09:00:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517090042-86fgxrr6j5jzagot
Tags: 5.6-0ubuntu1
* New upstream version.
  - Remove patches applied upstream: ncurses.upstream, signed-chars.
  - Update patches: debian-backspace.
* Build-depend on g++-multilib instead of lib{32,64}c*-dev-*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
'\" t
2
2
.\"***************************************************************************
3
 
.\" Copyright (c) 1998-2003,2005 Free Software Foundation, Inc.              *
 
3
.\" Copyright (c) 1998-2005,2006 Free Software Foundation, Inc.              *
4
4
.\"                                                                          *
5
5
.\" Permission is hereby granted, free of charge, to any person obtaining a  *
6
6
.\" copy of this software and associated documentation files (the            *
27
27
.\" authorization.                                                           *
28
28
.\"***************************************************************************
29
29
.\"
30
 
.\" $Id: curs_attr.3x,v 1.29 2005/05/15 16:17:25 tom Exp $
 
30
.\" $Id: curs_attr.3x,v 1.30 2006/07/15 18:39:05 tom Exp $
31
31
.TH curs_attr 3X ""
32
32
.na
33
33
.hy 0
159
159
functions, the color argument is a color-pair index (as in the first argument
160
160
of \fIinit_pair\fR, see \fBcurs_color\fR(3X)).  The \fBopts\fR argument is not
161
161
presently used, but is reserved for the future (leave it \fBNULL\fR).
162
 
Note that changing the attributes does not imply
163
 
that a subsequent \fBrefresh\fR will update the screen to match,
164
 
since the character values are not modified.
165
 
Use \fBtouchwin\fR to force the screen to match the updated attributes.
166
162
.SS Attributes
167
163
The following video attributes, defined in \fB<curses.h>\fR, can be passed to
168
164
the routines \fBattron\fR, \fBattroff\fR, and \fBattrset\fR, or OR'd with the
223
219
\fBwattr_get\fR, \fBwattr_set\fR.  These are intended to work with
224
220
a new series of highlight macros prefixed with \fBWA_\fR.
225
221
.PP
 
222
Older versions of this library did not force an update of the screen
 
223
when changing the attributes.
 
224
Use \fBtouchwin\fR to force the screen to match the updated attributes.
 
225
.PP
226
226
.TS
227
227
center ;
228
228
l l .