| @@ -1,45 +1,50 @@ | | | @@ -1,45 +1,50 @@ |
1 | .\" $NetBSD: palette.1,v 1.6 2001/04/21 14:30:18 wiz Exp $ | | 1 | .\" $NetBSD: palette.1,v 1.7 2019/09/01 14:34:54 sevan Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" This software is in the Public Domain. | | 3 | .\" This software is in the Public Domain. |
4 | .\" Author: Masaru Oki | | 4 | .\" Author: Masaru Oki |
5 | .\" | | 5 | .\" |
6 | .Dd March 5, 1995 | | 6 | .Dd September 1, 2019 |
7 | .Dt PALETTE 1 x68k | | 7 | .Dt PALETTE 1 x68k |
8 | .Os | | 8 | .Os |
9 | .Sh NAME | | 9 | .Sh NAME |
10 | .Nm palette | | 10 | .Nm palette |
11 | .Nd manipulate the text screen colormap | | 11 | .Nd manipulate the text screen colormap |
12 | .Sh SYNOPSIS | | 12 | .Sh SYNOPSIS |
13 | .Nm palette | | 13 | .Nm palette |
14 | .Op Ar red green blue Op Ar code | | 14 | .Op Ar red green blue Op Ar code |
15 | .Sh DESCRIPTION | | 15 | .Sh DESCRIPTION |
16 | The | | 16 | The |
17 | .Nm | | 17 | .Nm |
18 | utility manipulates the colormap of x68k's console. | | 18 | utility manipulates the colormap of x68k's console. |
19 | The value of the color cell number | | 19 | The value of the color cell number |
20 | .Ar code | | 20 | .Ar code |
21 | is replaced according to the arguments | | 21 | is replaced according to the arguments |
22 | .Ar red, green, blue | | 22 | .Ar red, green, blue |
23 | .Po | | 23 | .Po |
24 | each value is an integer from | | 24 | each value is an integer from |
25 | .Li 0 | | 25 | .Li 0 |
26 | to | | 26 | to |
27 | .Li 31 | | 27 | .Li 31 |
28 | .Pc . | | 28 | .Pc . |
29 | .Pp | | 29 | .Pp |
30 | Each part of the console corresponds to the | | 30 | Each part of the console corresponds to the |
31 | .Ar code : | | 31 | .Ar code : |
32 | .Bl -tag -width "foreground (default)" -compact | | 32 | .Bl -tag -width "foreground (default)" -compact |
33 | .It background | | 33 | .It background |
34 | .Li 0 | | 34 | .Li 0 |
35 | .It cursor | | 35 | .It cursor |
36 | .Li 1 | | 36 | .Li 1 |
37 | .It foreground (default) | | 37 | .It foreground (default) |
38 | .Li 7 | | 38 | .Li 7 |
39 | .El | | 39 | .El |
40 | .Pp | | 40 | .Pp |
41 | If no arguments are supplied, | | 41 | If no arguments are supplied, |
42 | .Nm | | 42 | .Nm |
43 | resets the colormap to the default. | | 43 | resets the colormap to the default. |
| | | 44 | .Sh HISTORY |
| | | 45 | A |
| | | 46 | .Nm |
| | | 47 | utility first appeared in |
| | | 48 | .Nx 1.4 . |
44 | .Sh BUGS | | 49 | .Sh BUGS |
45 | Quite a few. | | 50 | Quite a few. |