X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_termattrs.3x;h=e19459fa39b70c509a03c120c56b6adfad0cf10b;hp=1e07307d19c0e2a7043d978b202225ccfc2df77a;hb=9c110809dcc6246cb01544e9cb6c709795697a1a;hpb=3853a8e97d7efa8cb6a3c93c696d2c52895d6a70 diff --git a/man/curs_termattrs.3x b/man/curs_termattrs.3x index 1e07307d..e19459fa 100644 --- a/man/curs_termattrs.3x +++ b/man/curs_termattrs.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2003,2007 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2010,2015 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_termattrs.3x,v 1.10 2007/06/02 20:40:07 tom Exp $ +.\" $Id: curs_termattrs.3x,v 1.13 2015/07/21 00:03:34 tom Exp $ .TH curs_termattrs 3X "" .SH NAME \fBbaudrate\fR, @@ -39,7 +39,7 @@ \fBlongname\fR, \fBterm_attrs\fR, \fBtermattrs\fR, -\fBtermname\fR - \fBcurses\fR environment query routines +\fBtermname\fR \- \fBcurses\fR environment query routines .SH SYNOPSIS \fB#include \fR .PP @@ -66,9 +66,11 @@ \fBchar *termname(void);\fR .br .SH DESCRIPTION +.SS baudrate The \fBbaudrate\fR routine returns the output speed of the terminal. The number returned is in bits per second, for example \fB9600\fR, and is an integer. +.SS erasechar, erasewchar .PP The \fBerasechar\fR routine returns the user's current erase character. .PP @@ -76,6 +78,7 @@ The \fBerasewchar\fR routine stores the current erase character in the location referenced by \fIch\fR. If no erase character has been defined, the routine fails and the location referenced by \fIch\fR is not changed. +.SS has_is, has_il .PP The \fBhas_ic\fR routine is true if the terminal has insert- and delete- character capabilities. @@ -84,6 +87,7 @@ The \fBhas_il\fR 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 \fBscrollok\fR. +.SS killchar, killwchar .PP The \fBkillchar\fR routine returns the user's current line kill character. .PP @@ -91,6 +95,7 @@ The \fBkillwchar\fR routine stores the current line-kill character in the location referenced by \fIch\fR. If no line-kill character has been defined, the routine fails and the location referenced by \fIch\fR is not changed. +.SS longname .PP The \fBlongname\fR routine returns a pointer to a static area containing a verbose description of the current terminal. The maximum @@ -100,6 +105,7 @@ overwritten by each call to \fBnewterm\fR and is not restored by \fBset_term\fR, so the value should be saved between calls to \fBnewterm\fR if \fBlongname\fR is going to be used with multiple terminals. +.SS termattrs, term_attrs .PP If a given terminal does not support a video attribute that an application program is trying to use, \fBcurses\fR may substitute a @@ -109,6 +115,7 @@ return a logical \fBOR\fR of all video attributes supported by the terminal using \fIA_\fR and \fIWA_\fR constants respectively. This information is useful when a \fBcurses\fR program needs complete control over the appearance of the screen. +.SS termname .PP The \fBtermname\fR routine returns the terminal name used by \fBsetupterm\fR. .SH RETURN VALUE @@ -126,9 +133,3 @@ Most versions of curses truncate the result returned by \fBtermname\fR to 14 characters. .SH SEE ALSO \fBcurses\fR(3X), \fBcurs_initscr\fR(3X), \fBcurs_outopts\fR(3X) -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: