man-pages/man1/setvtrgb.1.html
2021-03-31 01:06:50 +01:00

92 lines
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SETVTRGB</TITLE>
</HEAD><BODY>
<H1>SETVTRGB</H1>
Section: User Commands (1)<BR>Updated: July 2011<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
setvtrgb - customize the console color map
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>setvtrgb</B> vga
<P>
<B>setvtrgb</B> <I>FILE</I>|-
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>setvtrgb</B>
sets the console color map in all virtual terminals according to custom
values specified in a file or standard input. With the `vga' parameter,
it can also be used to restore the settings built into the kernel.
<P>
When invoked with a filename or `-',
<B>setvtrgb</B>
expects input as follows:
<P>
<BR>&nbsp;&nbsp;color0_r,color1_r,...,color15_r
<BR>&nbsp;&nbsp;color0_g,color1_g,...,color15_g
<BR>&nbsp;&nbsp;color0_b,color1_b,...,color15_b
<P>
where colorN_{r,g,b} is the red/green/blue portion of the respective
color in decimal notation in the 0..255 range. To pre-seed a file in
the correct format, you can use
<P>
<BR>&nbsp;&nbsp;cat&nbsp;/sys/module/vt/parameters/default_{red,grn,blu}
<P>
The meanings of the color values are defined as follows:
<P>
<BR>&nbsp;&nbsp;+--------+--------+---------+
<BR>&nbsp;&nbsp;|&nbsp;Normal&nbsp;|&nbsp;Bright&nbsp;|&nbsp;Color&nbsp;&nbsp;&nbsp;|
<BR>&nbsp;&nbsp;+--------+--------+---------+
<BR>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8&nbsp;|&nbsp;Black&nbsp;&nbsp;&nbsp;|
<BR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kov.alexey@gmail.com</A>&gt;, with portions by Dustin Kirkland
&lt;<A HREF="mailto:kirkland@canonical.com">kirkland@canonical.com</A>&gt; and Seth Forshee &lt;<A HREF="mailto:seth.forshee@canonical.com">seth.forshee@canonical.com</A>&gt;
at Canonical Ltd.
<P>
This manual page was written by Michael Schutte &lt;<A HREF="mailto:michi@debian.org">michi@debian.org</A>&gt; for
the Debian GNU/Linux system (but may be used by others).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:27 GMT, March 31, 2021
</BODY>
</HTML>