2001-04-21 18:30:18 +04:00
|
|
|
.\" $NetBSD: palette.1,v 1.6 2001/04/21 14:30:18 wiz Exp $
|
1998-01-09 11:03:16 +03:00
|
|
|
.\"
|
1996-05-05 16:17:14 +04:00
|
|
|
.\" This software is in the Public Domain.
|
|
|
|
.\" Author: Masaru Oki
|
|
|
|
.\"
|
|
|
|
.Dd March 5, 1995
|
2001-04-21 18:30:18 +04:00
|
|
|
.Dt PALETTE 1 x68k
|
1999-03-15 11:22:20 +03:00
|
|
|
.Os
|
1996-05-05 16:17:14 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm palette
|
2001-04-21 18:30:18 +04:00
|
|
|
.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
|
2000-11-07 09:43:24 +03:00
|
|
|
The
|
|
|
|
.Nm
|
1996-05-05 16:17:14 +04:00
|
|
|
utility manipulates the colormap of x68k's console.
|
|
|
|
The value of the color cell number
|
|
|
|
.Ar code
|
|
|
|
is replaced according to the arguments
|
2001-04-21 18:30:18 +04:00
|
|
|
.Ar red, green, blue
|
1996-05-05 16:17:14 +04:00
|
|
|
.Po
|
|
|
|
each value is an integer from
|
2000-11-07 09:43:24 +03:00
|
|
|
.Li 0
|
1996-05-05 16:17:14 +04:00
|
|
|
to
|
2000-11-07 09:43:24 +03:00
|
|
|
.Li 31
|
1996-05-05 16:17:14 +04:00
|
|
|
.Pc .
|
2000-11-07 09:43:24 +03:00
|
|
|
.Pp
|
1996-05-05 16:17:14 +04:00
|
|
|
Each part of the console corresponds to the
|
|
|
|
.Ar code :
|
|
|
|
.Bl -tag -width "foreground (default)" -compact
|
|
|
|
.It background
|
2000-11-07 09:43:24 +03:00
|
|
|
.Li 0
|
1996-05-05 16:17:14 +04:00
|
|
|
.It cursor
|
2000-11-07 09:43:24 +03:00
|
|
|
.Li 1
|
1996-05-05 16:17:14 +04:00
|
|
|
.It foreground (default)
|
2000-11-07 09:43:24 +03:00
|
|
|
.Li 7
|
1996-05-05 16:17:14 +04:00
|
|
|
.El
|
2000-11-07 09:43:24 +03:00
|
|
|
.Pp
|
1996-05-05 16:17:14 +04:00
|
|
|
If no arguments are supplied,
|
2000-11-07 09:43:24 +03:00
|
|
|
.Nm
|
1996-05-05 16:17:14 +04:00
|
|
|
resets the colormap to the default.
|
|
|
|
.Sh BUGS
|
|
|
|
Quite a few.
|