/[emacs]/emacs/lispref/frames.texi
ViewVC logotype

Diff of /emacs/lispref/frames.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by eliz, Mon Jan 14 13:55:40 2002 UTC revision 1.53 by eliz, Fri Jan 25 13:53:56 2002 UTC
# Line 1551  and that name is still supported as an a Line 1551  and that name is still supported as an a
1551  @cindex colors on text-only terminals  @cindex colors on text-only terminals
1552    
1553    Emacs can display color on text-only terminals, starting with version    Emacs can display color on text-only terminals, starting with version
1554  21.  These terminals support only a small number of colors, and the  21.  These terminals usually support only a small number of colors, and
1555  computer uses small integers to select colors on the terminal.  This  the computer uses small integers to select colors on the terminal.  This
1556  means that the computer cannot reliably tell what the selected color  means that the computer cannot reliably tell what the selected color
1557  looks like; instead, you have to inform your application which small  looks like; instead, you have to inform your application which small
1558  integers correspond to which colors.  However, Emacs does know the  integers correspond to which colors.  However, Emacs does know the
1559  standard set of colors and will try to use them automatically.  standard set of colors and will try to use them automatically.
1560    
1561      The functions described in this section control how terminal colors
1562    are used by Emacs.
1563    
1564  @cindex rgb value  @cindex rgb value
1565    Several of these functions use or return @dfn{rgb values}.  An rgb    Several of these functions use or return @dfn{rgb values}.  An rgb
1566  value is a list of three integers, which give the amount of red, the  value is a list of three integers, which give the amount of red, the
# Line 1572  will specify which terminal to operate o Line 1575  will specify which terminal to operate o
1575  selected frame's terminal; @pxref{Input Focus}).  At present, though,  selected frame's terminal; @pxref{Input Focus}).  At present, though,
1576  the @var{display} argument has no effect.  the @var{display} argument has no effect.
1577    
1578    @defun tty-display-color-cells &optional display
1579    This function returns the number of distinct colors supported for
1580    @var{display}.
1581    @end defun
1582    
1583  @defun tty-color-define name number &optional rgb display  @defun tty-color-define name number &optional rgb display
1584  @tindex tty-color-define  @tindex tty-color-define
1585  This function associates the color name @var{name} with  This function associates the color name @var{name} with

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26