C Library Functions - xterm_pencolor (3)
NAME
xterm_pencolor(3f) - [M_xterm] set xterm(1) color by number using escape sequences
(LICENSE:MIT)
CONTENTS
Synopsis
Description
Options
See Also
Example
Author
License
SYNOPSIS
subroutine xterm_pencolor(pennum,color)
integer,intent(in) :: pennum
character(len=*),intent(in) :: color
DESCRIPTION
Set the color of a pen of an xterm(1) window.
OPTIONS
|
pennum |
which pen color to set. Typically, allowed
values are from 0 to at least 15.
|
|
color |
A string specifying a color. Value may
be a name or a HEX value string of the form
#RRGGBB, or of the form rgb:RR/GG/BB
|
|
SEE ALSO
showrgb(1) shows known named X11 Windows colors
EXAMPLE
A sample program:
program demo_xterm_pencolor
use M_xterm, only : xterm_pencolor
call xterm_pencolor(0,gray)
call xterm_pencolor(1,rgb:000/fff/000)
call xterm_pencolor(2,#FF00FF)
end program demo_xterm_pencolor
AUTHOR
John S. Urban
LICENSE
MIT
| Nemo Release 3.1 | xterm_pencolor (3) | June 29, 2025 |
Generated by manServer 1.08 from 2fa3a5a4-9f72-45a2-ad4a-0ba64b9673ce using man macros.