1998-01-09 11:03:16 +03:00
|
|
|
.\" $NetBSD: palette.1,v 1.3 1998/01/09 08:04:26 perry Exp $
|
|
|
|
.\"
|
1996-05-05 16:17:14 +04:00
|
|
|
.\" This software is in the Public Domain.
|
|
|
|
.\" Author: Masaru Oki
|
|
|
|
.\"
|
|
|
|
.Dd March 5, 1995
|
|
|
|
.Dt PALETTE 1
|
|
|
|
.Os BSD 4
|
|
|
|
.Sh NAME
|
|
|
|
.Nm palette
|
|
|
|
.Nd manipulate the text screen colormap.
|
1997-06-30 19:56:19 +04:00
|
|
|
.Sh SYNOPSIS
|
1996-05-05 16:17:14 +04:00
|
|
|
.Nm palette
|
|
|
|
.Op Ar red green blue Op Ar code
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm Palette
|
|
|
|
utility manipulates the colormap of x68k's console.
|
|
|
|
The value of the color cell number
|
|
|
|
.Ar code
|
|
|
|
is replaced according to the arguments
|
|
|
|
.Ar red, green, blue
|
|
|
|
.Po
|
|
|
|
each value is an integer from
|
|
|
|
.Nm 0
|
|
|
|
to
|
|
|
|
.Nm 31
|
|
|
|
.Pc .
|
|
|
|
|
|
|
|
Each part of the console corresponds to the
|
|
|
|
.Ar code :
|
|
|
|
.Bl -tag -width "foreground (default)" -compact
|
|
|
|
.It background
|
|
|
|
.Nm 0
|
|
|
|
.It cursor
|
|
|
|
.Nm 1
|
|
|
|
.It foreground (default)
|
|
|
|
.Nm 7
|
|
|
|
.El
|
|
|
|
|
|
|
|
If no arguments are supplied,
|
|
|
|
.Nm palette
|
|
|
|
resets the colormap to the default.
|
|
|
|
.Sh BUGS
|
|
|
|
Quite a few.
|