Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ attroff(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

standend(3X)

curses(5)

attroff(3X)                                                     attroff(3X)

NAME
     attroff, attron, attrset, wattroff, wattron, wattrset - restricted
     window attribute control functions

SYNOPSIS
     cc [flag ...] file ... -lcurses [library ...]

     #include <curses.h>

     int attroff(int attrs);

     int attron(int attrs);

     int attrset(int attrs);

     int wattroff(WINDOW *win, int attrs);

     int wattron(WINDOW *win, int attrs);

     int wattrset(WINDOW *win, int attrs);

DESCRIPTION
     These functions manipulate the window attributes of the current or
     specified window.

     The attroff() and wattroff() functions turn off attrs in the current
     or specified window without affecting any others.

     The attron() and wattron() functions turn on attrs in the current or
     specified window without affecting any others.

     The attrset() and wattrset() functions set the background attributes
     of the current or specified window to attrs.

     It is unspecified whether these functions can be used to manipulate
     attributes other than ABLINK, ABOLD, ADIM, AREVERSE, ASTANDOUT
     and AUNDERLINE.

RETURN VALUE
     These functions always return either OK or 1.

ERRORS
     No errors are defined.

SEE ALSO
     attrget(3X), curses(3X), standend(3X), curses(5).









Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026