1*8d68f886Swiz.\" $NetBSD: iteconfig.8,v 1.12 2003/03/16 20:41:33 wiz Exp $ 218298656Smrg.\" 3a51fab1eSmrg.\" Copyright (c) 1994 Christian E. Hopps 418298656Smrg.\" All rights reserved. 518298656Smrg.\" 618298656Smrg.\" Redistribution and use in source and binary forms, with or without 718298656Smrg.\" modification, are permitted provided that the following conditions 818298656Smrg.\" are met: 918298656Smrg.\" 1. Redistributions of source code must retain the above copyright 1018298656Smrg.\" notice, this list of conditions and the following disclaimer. 1118298656Smrg.\" 2. Redistributions in binary form must reproduce the above copyright 1218298656Smrg.\" notice, this list of conditions and the following disclaimer in the 1318298656Smrg.\" documentation and/or other materials provided with the distribution. 1418298656Smrg.\" 3. All advertising materials mentioning features or use of this software 1518298656Smrg.\" must display the following acknowledgement: 16a51fab1eSmrg.\" This product includes software developed by Christian E. Hopps. 171cd39537Spk.\" 4. The name of the author may not be used to endorse or promote products 18a51fab1eSmrg.\" derived from this software without specific prior written permission 1918298656Smrg.\" 2018298656Smrg.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 2118298656Smrg.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2218298656Smrg.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2318298656Smrg.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24a51fab1eSmrg.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25a51fab1eSmrg.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26a51fab1eSmrg.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27a51fab1eSmrg.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28a51fab1eSmrg.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29a51fab1eSmrg.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30a51fab1eSmrg.\" 31a51fab1eSmrg.\" 32a51fab1eSmrg.Dd February 3, 1994 3318298656Smrg.Dt ITECONFIG 8 34a51fab1eSmrg.Os 3518298656Smrg.Sh NAME 36a51fab1eSmrg.Nm iteconfig 3718298656Smrg.Nd modify console attributes at run time 38a51fab1eSmrg.Sh SYNOPSIS 39ffaa76b3Slukem.Nm 40a51fab1eSmrg.Op Fl i 41a51fab1eSmrg.Op Fl f Ar file 42a51fab1eSmrg.Op Fl v Ar volume 43a51fab1eSmrg.Op Fl p Ar pitch 44a51fab1eSmrg.Op Fl t Ar msec 45a51fab1eSmrg.Op Fl w Ar width 46a51fab1eSmrg.Op Fl h Ar height 47a51fab1eSmrg.Op Fl d Ar depth 48a51fab1eSmrg.Op Fl x Ar offset 49a51fab1eSmrg.Op Fl y Ar offset 50a51fab1eSmrg.Op Ar color ... 51a51fab1eSmrg.Sh DESCRIPTION 52ffaa76b3Slukem.Nm 53a51fab1eSmrgis used to modify or examine the attributes of the 54a51fab1eSmrgconsole bell and bitmapped console display. 55a51fab1eSmrgThe console bell's volume, pitch, and count may be 56a51fab1eSmrgspecified, as well as 57a51fab1eSmrgthe bitmapped display's width, height, horizontal and 58a51fab1eSmrgvertical offset, pixel depth, and color map. 59a51fab1eSmrg.Pp 60a51fab1eSmrgThe following flags are interpreted by 61990562bfSwiz.Nm : 62a51fab1eSmrg.Bl -tag -width indent 63a51fab1eSmrg.It Fl i 64a51fab1eSmrgAfter processing all other arguments, 65a51fab1eSmrgprint information about the console's state. 66a51fab1eSmrg.It Fl f 67a51fab1eSmrgOpen and use the terminal named by 68a51fab1eSmrg.Ar file 69a51fab1eSmrgrather than the default console 70ffaa76b3Slukem.Pa /dev/ttye0 . 71a51fab1eSmrg.It Fl v 72a51fab1eSmrgSet the volume of the console bell to 73a51fab1eSmrg.Ar volume , 74a51fab1eSmrgwhich must be between 0 and 63, inclusive. 75a51fab1eSmrg.It Fl p 76a51fab1eSmrgSet the pitch of the console bell to 77a51fab1eSmrg.Ar pitch , 78a51fab1eSmrgwhich must be between 10 and 1399. 79a51fab1eSmrg.It Fl t 80a51fab1eSmrgSet the duration of the beep to 81a51fab1eSmrg.Ar msec 82a51fab1eSmrgmilliseconds which must be between 1 and 5000 (5 seconds). 83a51fab1eSmrg.It Fl w 84a51fab1eSmrgSet the width of the console display to 85a51fab1eSmrg.Ar width 86a51fab1eSmrgpixel columns. 87a51fab1eSmrg.Ar Width 88a51fab1eSmrgmust be a positive integer. 89a51fab1eSmrg.It Fl h 90a51fab1eSmrgSet the height of the console display to 91a51fab1eSmrg.Ar height 92a51fab1eSmrgpixel rows. 93a51fab1eSmrg.Ar Height 94a51fab1eSmrgmust be a positive integer. 95a51fab1eSmrg.It Fl d 96a51fab1eSmrgSet the number of bitplanes the console view should use to 97a51fab1eSmrg.Ar depth . 98a51fab1eSmrgFor example, if 99a51fab1eSmrg.Ar depth 100a51fab1eSmrgis 3 then 8 colors will be used. 101a51fab1eSmrg.It Fl x 102a51fab1eSmrgSet the horizontal offset of the console view on the monitor to 103a51fab1eSmrg.Ar offset 104a51fab1eSmrgpixel columns. The horizontal offset may be a positive or a 105a51fab1eSmrgnegative integer, positive being an offset to the right, negative 106a51fab1eSmrgto the left. 107a51fab1eSmrg.It Fl y 108a51fab1eSmrgSet the vertical offset of the console view on the monitor to 109a51fab1eSmrg.Ar offset 110a51fab1eSmrgpixel rows. The vertical offset may be a positive or a negative 111a51fab1eSmrginteger, positive being an offset down, negative up. 112a51fab1eSmrg.El 113a51fab1eSmrg.Pp 114a51fab1eSmrgAny additional arguments will be interpreted as colors and will 115a51fab1eSmrgbe used to supply the color values for the console view's 116a51fab1eSmrgcolor map, starting with the first entry in the map. (See the 117a51fab1eSmrg.Sx COLOR SPECIFICATION 118a51fab1eSmrgsection of this manual page for information on how to specify 119a51fab1eSmrgcolors.) 120a51fab1eSmrgIf more colors are supplied than are usable by the console 121a51fab1eSmrgview, a warning is printed and the extra colors are ignored. 122a51fab1eSmrg.Sh COLOR SPECIFICATION 123*8d68f886SwizColors are hexadecimal numbers which have one of the following 124a51fab1eSmrgformats: 125a51fab1eSmrg.Bl -tag -width "0xRRGGBB" 126a51fab1eSmrg.It Ar 0xRRGGBB 127a51fab1eSmrg.Ar RR , 128a51fab1eSmrg.Ar GG , 129a51fab1eSmrgand 130a51fab1eSmrg.Ar BB 131a51fab1eSmrgare taken to be eight-bit values specifying the 132a51fab1eSmrgintensities of the red, green and blue components, respectively, 133a51fab1eSmrgof the color to be used. For example, 134a51fab1eSmrg.Li 0xff0000 135a51fab1eSmrgis bright red, 136a51fab1eSmrg.Li 0xffffff 137a51fab1eSmrgis white, and 138a51fab1eSmrg.Li 0x008080 139a51fab1eSmrgis dark cyan. 140a51fab1eSmrg.It Ar 0xGG 141a51fab1eSmrg.Ar GG 142a51fab1eSmrgis taken to be an eight-bit value specifying the intensity 143a51fab1eSmrgof grey to be used. A value of 144a51fab1eSmrg.Li 0x00 145a51fab1eSmrgis black, a value of 146a51fab1eSmrg.Li 0xff 147a51fab1eSmrgis white, and a value of 148a51fab1eSmrg.Li 0x80 149a51fab1eSmrgis a grey 150a51fab1eSmrgapproximately half way in between. 151a51fab1eSmrg.It Ar 0xM 152a51fab1eSmrg.Ar M 153a51fab1eSmrgis taken to be the one-bit monochrome value to be used. 154a51fab1eSmrgA value of 155a51fab1eSmrg.Li 0x1 156a51fab1eSmrgis black, and a value of 157a51fab1eSmrg.Li 0x0 158a51fab1eSmrgis white. 159a51fab1eSmrg.El 160d784866eSmrg.Sh BUGS 161d784866eSmrgThe 162d784866eSmrg.Nm 163d784866eSmrgcommand is only available on the 164d784866eSmrg.Tn amiga 165d784866eSmrgand 166d784866eSmrg.Tn atari 167d784866eSmrgports. 168