X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_termattrs.3x.html;h=84f7a15b04e32ce58a1b40c5e09f9ca6761fb8d6;hb=00dd248b527ad47f0fc3b0776a0889da0ac926d0;hp=cafc8c445a7889aca8ae24910ea8020be0e280f8;hpb=ed646e3f683083e787c6ba773364401dc9fa9d40;p=ncurses.git diff --git a/doc/html/man/curs_termattrs.3x.html b/doc/html/man/curs_termattrs.3x.html index cafc8c44..84f7a15b 100644 --- a/doc/html/man/curs_termattrs.3x.html +++ b/doc/html/man/curs_termattrs.3x.html @@ -1,6 +1,7 @@ -
- --curs_termattrs(3x) curs_termattrs(3x) +curs_termattrs(3x) Library calls curs_termattrs(3x)
baudrate, erasechar, erasewchar, has_ic, has_il, killchar, killwchar, - longname, term_attrs, termattrs, termname - curses environment query + longname, term_attrs, termattrs, termname - curses environment query routines @@ -56,11 +57,11 @@ int baudrate(void); char erasechar(void); - int erasewchar(wchar_t *ch); + int erasewchar(wchar_t *wc); bool has_ic(void); bool has_il(void); char killchar(void); - int killwchar(wchar_t *ch); + int killwchar(wchar_t *wc); char *longname(void); attr_t term_attrs(void); chtype termattrs(void); @@ -75,30 +76,30 @@ integer. -
+
The erasechar routine returns the user's current erase character. - The erasewchar routine stores the current erase character in the loca- - tion referenced by ch. If no erase character has been defined, the - routine fails and the location referenced by ch is not changed. + The erasewchar routine stores the current erase character in the + location referenced by wc. If no erase character has been defined, the + routine fails and the location referenced by wc is not changed. -
+
The has_ic routine is true if the terminal has insert- and delete- character capabilities. The has_il routine is true if the terminal has insert- and delete-line capabilities, or can simulate them using scrolling regions. This might be used to determine if it would be appropriate to turn on physical - scrolling using scrollok. + scrolling using scrollok(3x). -
+
The killchar routine returns the user's current line kill character. The killwchar routine stores the current line-kill character in the - location referenced by ch. If no line-kill character has been defined, - the routine fails and the location referenced by ch is not changed. + location referenced by wc. If no line-kill character has been defined, + the routine fails and the location referenced by wc is not changed.
@@ -111,13 +112,14 @@ terminals. -
- If a given terminal does not support a video attribute that an applica- - tion program is trying to use, curses may substitute a different video - attribute for it. The termattrs and term_attrs functions return a log- - ical OR of all video attributes supported by the terminal using A_ and - WA_ constants respectively. This information is useful when a curses - program needs complete control over the appearance of the screen. +
+ If a given terminal does not support a video attribute that an + application program is trying to use, curses may substitute a different + video attribute for it. The termattrs and term_attrs functions return + a logical OR of all video attributes supported by the terminal using A_ + and WA_ constants respectively. This information is useful when a + curses program needs complete control over the appearance of the + screen.
@@ -127,9 +129,9 @@
longname and termname return NULL on error. - Routines that return an integer return ERR upon failure and OK (SVr4 - only specifies "an integer value other than ERR") upon successful com- - pletion. + Routines that return an integer return ERR upon failure and OK (SVr4 + only specifies "an integer value other than ERR") upon successful + completion.
@@ -137,8 +139,8 @@
- The XSI Curses standard, Issue 4 describes these functions. It changes - the return type of termattrs to the new type attr_t. Most versions of + X/Open Curses, Issue 4 describes these functions. It changes the + return type of termattrs to the new type attr_t. Most versions of curses truncate the result returned by termname to 14 characters. @@ -147,7 +149,7 @@ - curs_termattrs(3x) +ncurses 6.4 2024-04-20 curs_termattrs(3x)