Previous | Table of Contents | Next

Page 632

OPTIONS

In addition to the normal server options described in the Xserver(1) manual page, XF86_VGA16 accepts some more command-line switches, as described in the XFree86(1) man page.

SETUP

XFree86 uses a configuration file called XF86Config for its initial setup.

See the XF86Config(4/5) man page for general details. Here, only the XF86_VGA16 specific parts are explained.

The Driver entry in the Screen section of the XF86Config file should be set to vga16.To run in dual-headed configuration, there should also be a Screen section with the Driver entry set to mono.

Entries for the Device section in the XF86Config file include the following:
chipset "name" Specifies a chipset so the correct driver can be used. Possible chipsets are
ATI               vgawonder
Tseng             et4000, et4000w32, et4000w32i, et4000w32p
Trident           tvga8800cs, tvga8900b,tvga8900c,
                  tvga8900cl, tvga9000
Cirrus            cl6410, cl6412, cl6420, cl6440
Oak               oti067, oti077, oti087
Generic VGA       generic
Option "optionstring"
Allows the user to select certain options provided by the drivers. Currently, the following strings are recognized: legend—For Sigma Legend ET4000-based boards. This option enables a special clock-selection algorithm used on Legend boards, and MUST be specified for these boards to function correctly. hibit_low, hibit_high—For Tseng ET4000 chipsets. With some ET4000 cards, the server has difficulty getting the state of the high-order clocks select bit right when started from a high-resolution text mode. These options allow the correct initial state of that bit to be specified. To find out what the correct initial state is, start the server from an 80¥25 text mode. This option is only needed if the clocks reported by the server when started from a high-resolution text mode differ from those reported when it is started from an 80¥25 text mode. power_saver—This option enables the server to use the power saving features of VESA DPMS-compatible monitors. The suspend level is currently not supported. Refer to the XF86Config(4/5) manual page for details of how to set the time-outs for the different levels of operation. This option is experimental.

Note that XFree86 has some internal capabilities to determine what hardware it is running on. Thus normally the keywords chipset, clocks, and videoram don't have to be specified. But there may be occasions when this autodetection mechanism fails, (for example, too high a load on the machine when you start the server). For cases like this, you should first run XF86 VGA16 on an unloaded machine, look at the results of the autodetection (that are printed out during server startup), and then explicitly specify these parameters in the configuration file. It is recommended that all parameters, especially Clock values, be specified in the XF86Config file.

Page 633

FILES

<XRoot>/bin/XF86 VGA16 The 16-color X server
/etc/XF86Config Server configuration file
<XRoot>/lib/X11/XF86Config Server configuration file

Note: <XRoot> refers to the root of the X11 install tree.

SEE ALSO

X(1), Xserver(1), XFree86(1), XF86Config(4/5), XF86 Mono(1), xf86config(1), xvidtune(1), xdm(1), xinit(1)

CONTACT INFO

XFree86 source is available from the FTP server ftp.XFree86.org.

Send e-mail to XFree86@XFree86.org for details.

AUTHORS

The primary developer of this server is Gertjan Akkerman (akkerman@dutiba.twi.tudelft.nl).

See also the XFree86(1) manual page.

XFree86 Version 3.1.2

xf86config

xf86config—Generate an XF86Config file

SYNOPSIS

xf86config

DESCRIPTION

xf86config is an interactive program for generating an XF86Configfile for use with XFree86 X servers.

FILES

<xroot>/lib/X11/Cards Video cards database

SEE ALSO

XFree86(1), XF86Config(4/5), reconfig(1)

AUTHOR

Harm Hanemaayer

XFree86 Version 3.1.1

xfd

xfd—Display all the characters in an X font

SYNOPSIS

xfd [_options ...] _fn fontname

Page 634

DESCRIPTION

The xfd utility creates a window containing the name of the font being displayed, a row of command buttons, several lines of text for displaying character metrics, and a grid containing one glyph per cell. The characters are shown in increasing order from left to right, top to bottom. The first character displayed at the top left will be character number 0 unless the _start option has been supplied, in which case the character with the number given in the _start option will be used.

The characters are displayed in a grid of boxes, each large enough to hold any single character in the font. Each character glyph is drawn using the PolyText16 request (used by the Xlib routine XDrawString16). If the _box option is given, a rectangle will be drawn around each character, showing where an ImageText16 request (used by the Xlib routine XDrawImageString16) would cause background color to be displayed.

The origin of each glyph is normally set so that the character is drawn in the upper left corner of the grid cell. However, if a glyph has a negative left bearing or an unusually large ascent, descent, or right bearing (as is the case with cursor font), some characters may not appear in their own grid cells. The _center option may be used to force all glyphs to be centered in their respective cells.

All the characters in the font may not fit in the window at once. To see the next page of glyphs, press the Next button at the top of the window. To see the previous page, press Prev. To exit xfd, press Quit.

Individual character metrics (index, width, bearings, ascent, and descent) can be displayed at the top of the window by clicking on the desired character.

The font name displayed at the top of the window is the full name of the font, as determined by the server. See xlsfonts for ways to generate lists of fonts, as well as more detailed summaries of their metrics and properties.

OPTIONS

xfd accepts all of the standard toolkit command-line options along with the following additional options:

_fn font This option specifies the font to be displayed. This can also be set with the FontGrid font resource. A font must be specified.
_box This option indicates that a box should be displayed outlining the area that would be filled with background color by an ImageText request. This can also be set with the FontGrid boxChars resource. The default is False.
_center This option indicates that each glyph should be centered in its grid. This can also be set with the FontGrid centerChars resource. The default is False.
_start number This option specifies the glyph index of the upper left corner of the grid. This is used to view characters at arbitrary locations in the font. This can also be set with the FontGrid startChar resource. The default is 0.
_bc color This option specifies the color to be used if ImageText boxes are drawn. This can also be set with the FontGrid boxColor resource.
_rows numrows This option specifies the number of rows in the grid. This can also be set with the FontGrid cellRows resource.
_columns numcols This option specifies the number of columns in the grid. This can also be set with the FontGrid cellColumns resource.

WIDGETS

In order to specify resources, it is useful to know the widgets that compose xfd. In the notation below, indentation indicates hierarchical structure. The widget class name is given first, followed by the widget instance name. The application class name is Xfd.

Previous | Table of Contents | Next

1