vidattr(3cur)vidattr(3cur)Name
vidattr, vidputs - output a string that sets terminal display
Syntax
vidattr(attrs)
vidputs(attrs, putc)
Description
The routine outputs a string that sets the video attributes for the terminal. The characters in the string are passed one at a time to the
routine
The routine is similar, except that the string characters are passed to the routine Video attributes are described in The Guide to X/Open
Curses Screen-Handling
See Alsoputchar(3s)
Guide to X/Open Curses Screen-Handling
vidattr(3cur)
Check Out this Related Man Page
attroff(3cur)attroff(3cur)Name
attroff, attron, attrset, standend, standout, wstandend, wstandout, wattroff, wattron, wattrset - attribute manipulation
Syntax
#include <cursesX.h>
int attroff(attrs)
int attrs;
int wattroff(win, attrs)
WINDOW *win;
int attrs;
int attron(attrs)
int attrs;
int wattron(win, attrs)
WINDOW *win;
int attrs;
int attrset(attrs)
int attrs;
int wattrset(win, attrs)
WINDOW *win;
int attrs;
int standend()
wstandend(win)
WINDOW *win;
int standout()
int wstandout(win)
WINDOW *win;
Description
These routines manipulate the current attributes of a window.
The routine turns off the named attributes (of the default window without turning any other attributes on or off.
The routine turns on the named attributes of the default window without affecting any other attributes.
The routine sets the current attributes of the default window to the named attributes which is of the type and is defined in the header
file.
The routine switches on the best highlighting mode available on the terminal for the default window and it is functionally the same as
The routine switches off all highlighting associated with the default window. It is functionally the same as in that it turns off all
attributes.
The routine switches off the named attributes, for the specified window. Other attributes are not changed.
The routine turns on the named attributes of the specified window without affecting any others.
The routine sets the current attributes of the specified window to
The routine switches on the best highlighting mode available on the terminal for the specified window. Functionally it is the same as
The routine switches off all highlighting associated with the specified window. Functionally it is the same as that is, it turns off all
attributes.
Attributes
Attributes can be any combination of A_STANDOUT, A_REVERSE, A_BOLD, A_DIM, A_BLINK and A_UNDERLINE. These constants are defined in the
header file. They are also described in the Guide to X/Open Curses Screen-Handling. (R)Attributes can be combined with the C language |
operator.
The current attributes of a window are applied to all characters that are written into the window with or Attributes are properties of the
character, and move with the character through any scrolling and insert/delete line/character operations. Within the restrictions set by
the terminal hardware they will be displayed as the graphic rendition of characters put on the screen.
The routines and are macros.
Return Values
The and functions return OK on success and ERR on error.
See Alsoaddch(3cur)
Guide to X/Open Curses Screen-Handling
attroff(3cur)
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)