[UP]


Manual Reference Pages  - kolor (1)

NAME

kolor(1) - [TERMINAL] set terminal background, foreground, and cursor color (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Variables
Example
Author
License

SYNOPSIS

color [background foreground cursorcolor] [-bg background][-fg foreground][-cr cursorcolor]

DESCRIPTION

Set the background, foreground, and cursor color for terminals and terminal emulators that obey the ANSI in-band signaling control sequences

If you use something that filters stdout such as tmux(1) or screen(1) assign kolor(1) output to the initial stdout before starting the program. For example:

      export OTHERTTY=‘tty‘
      tmux

Color values may be specified by name or hex value "#RRGGBB" or using RGB syntax, eg. rgb:0000/0000/0000 to rgb:ffff/ffff/ffff.

OPTIONS

-bg CNAME
  specify background color
-fg CNAME
  specify foreground color
-cr CNAME
  specify cursor color
--help display help and exit
--version
  display version information and exit

VARIABLES

By default kolor(1) writes output to the current stdout file. The environment variable OTHERTTY can be used to change the default file. This is commonly required before starting programs that filter stdout, such as tmux(1) and screen(1).

      export OTHERTTY=/dev/pts/1

EXAMPLE

Sample usage:

   kolor gray30 white yellow
   kolor -bg brown -fg white -cr red
   kolor -bg ’#ff00ff’
   kolor rgb:0000/8080/0000 rgb:ffff/ffff/ffff rgb:ffff/0000/0000

AUTHOR

John S. Urban

LICENSE

Public Domain


kolor (1) March 11, 2021
Generated by manServer 1.08 from 1f7bdf77-a64d-4f4c-aa6b-8d48cc19eb49 using man macros.