source: general/graphlib/svgalib.xml@ 8e855fc4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8e855fc4 was 5cd0959d, checked in by Archaic <archaic@…>, 20 years ago

Resetting keywords

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2592 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY SVGAlib-download-http "http://www.svgalib.org/svgalib-&SVGAlib-version;.tar.gz">
8<!ENTITY SVGAlib-download-ftp " ">
9<!ENTITY SVGAlib-size "827 KB">
10<!ENTITY SVGAlib-buildsize "9.7 MB">
11<!ENTITY SVGAlib-time "0.20 SBU">
12
13]>
14
15<sect1 id="SVGAlib" xreflabel="SVGAlib-&SVGAlib-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="SVGAlib.html"?>
21<title>SVGAlib-&SVGAlib-version;</title>
22
23<sect2>
24<title>Introduction to <application>SVGAlib</application></title>
25
26<para><application>SVGAlib</application> is a low-level graphics library
27that provides <acronym>VGA</acronym> and <acronym>SVGA</acronym>
28modes in a console. This is useful for programs running on a console
29that require graphics capabilities.</para>
30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink url="&SVGAlib-download-http;"/></para></listitem>
34<listitem><para>Download (FTP): <ulink url="&SVGAlib-download-ftp;"/></para></listitem>
35<listitem><para>Download size: &SVGAlib-size;</para></listitem>
36<listitem><para>Estimated Disk space required: &SVGAlib-buildsize;</para></listitem>
37<listitem><para>Estimated build time: &SVGAlib-time;</para></listitem></itemizedlist>
38</sect3>
39
40<sect3><title>Additional downloads</title>
41<itemizedlist spacing='compact'>
42<listitem><para>Required Patch: <ulink
43url="&patch-root;/svgalib-&SVGAlib-version;-gcc3-1.patch"/></para></listitem>
44</itemizedlist></sect3>
45
46</sect2>
47
48<sect2>
49<title>Installation of <application>SVGAlib</application></title>
50
51<note><para>You must compile and install as root. If you don't, certain tools
52won't be able to become <acronym>SUID</acronym> root which is required for
53proper operation. However, this raises a risk of exposing your system to any
54holes in those tools that might be used to gain root access, so use with
55caution.</para></note>
56
57<para>Install <application>SVGAlib</application> by running the following
58commands:</para>
59
60<screen><userinput><command>patch -Np1 -i ../svgalib-&SVGAlib-version;-gcc3-1.patch &amp;&amp;
61make prefix=/usr install &amp;&amp;
62cd doc &amp;&amp;
63for dir in man?; do for file in $dir/*; do \
64gunzip /usr/share/man/$file; done; done</command></userinput></screen>
65
66</sect2>
67
68<sect2>
69<title>Command explanations</title>
70
71<para><command>cd doc &amp;&amp; for dir in man?; do for file in $dir/*; do
72gunzip /usr/share/man/$file; done; done</command>:
73<application>SVGAlib</application> installs its man pages in compressed format
74so we uncompress them.</para>
75
76</sect2>
77
78<sect2>
79<title>Configuring SVGAlib</title>
80
81<sect3><title>Config files</title>
82
83<para><filename>/etc/vga/libvga.config</filename>,
84<filename>~/.svgalibrc</filename></para>
85</sect3>
86
87<sect3><title>Configuration information</title>
88
89<para>You must edit the config file to set the monitor and mouse type.
90Depending on your hardware, other setup might be required.</para>
91
92<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
93
94</sect3>
95
96</sect2>
97
98<sect2>
99<title>Contents</title>
100
101<para>The SVGAlib package contains <filename class="libraryfile">libvga</filename>
102and <filename class="libraryfile">libvgagl</filename> libraries,
103<command>dumpreg</command>, <command>mode3</command>, <command>restorefont</command>,
104<command>restorepalette</command>, <command>restoretextmode</command>,
105<command>savetextmode</command>, <command>textmode</command> and
106<command>svgakeymap</command>.</para>
107
108</sect2>
109
110<sect2><title>Description</title>
111
112<sect3><title>libvga library</title>
113<para><filename class="libraryfile">libvga</filename> is a low-level
114graphics library.</para></sect3>
115
116<sect3><title>libvgagl library</title>
117<para><filename class="libraryfile">libvgagl</filename> is a fast
118frame buffer level graphics library based on libvga.</para></sect3>
119
120<sect3><title>dumpreg</title>
121<para><command>dumpreg</command> dumps the state of the card as the
122svgalib chipset driver sees it.</para></sect3>
123
124<sect3><title>mode3</title>
125<para><command>mode3</command> sets a <acronym>VESA</acronym> mode.</para></sect3>
126
127<sect3><title>restorefont</title>
128<para><command>restorefont</command> saves or restores the
129<acronym>SVGA</acronym> font for textmode.</para></sect3>
130
131<sect3><title>restorepalette</title>
132<para><command>restorepalette</command> sets the color palette for
133textmode.</para></sect3>
134
135<sect3><title>restoretextmode</title>
136<para><command>restoretextmode</command> saves or restores the
137<acronym>SVGA</acronym> registers for textmode.</para></sect3>
138
139<sect3><title>savetextmode, textmode</title>
140<para><command>savetextmode</command> and <command>textmode</command> save or
141restore the complete <acronym>SVGA</acronym> status for textmode.</para></sect3>
142
143<sect3><title>svgakeymap</title>
144<para><command>svgakeymap</command> generates keymaps for svgalib.</para></sect3>
145
146</sect2>
147
148</sect1>
Note: See TracBrowser for help on using the repository browser.