Previous | Table of Contents | Next

Page 635

Xfd xfd
      Paned pane
           Label fontname
                Box box
                     Command quit
                     Command prev
                     Command next
           Label select
           Label metrics
           Label range
           Label start
Form form
FontGrid grid

FONTGRID RESOURCES

The FontGrid widget is an application-specific widget, and a subclass of the Simple widget in the Athena widget set. The effects and instance names of this widget's resources are given in the "Options" subsection. Capitalize the first letter of the resource instance name to get the corresponding class name.

APPLICATION SPECITIC RESOURCES

The instance names of the application-specific resources are given in the following list. Capitalize the first letter of the resource instance name to get the corresponding class name. These resources are unlikely to be interesting unless you are localizing xfd for a different language.
selectFormat Specifies a printf-style format string used to display information about the selected character. The default is character 0x%02x%02x (%u,%u) (%#o,%#o). The arguments that will come after the format string are char.byte1, char.byte2, char.byte1, char.byte2, char.byte1, char.byte2. char.byte1 is byte 1 of the selected character. char.byte2 is byte 2 of the selected character.
metricsFormat Specifies a printf-style format string used to display character metrics. The default is width %d; left %d, right %d; ascent %d, descent %d (font %d, %d). The arguments that will come after the format string are the character metrics width, lbearing, rbearing, character ascent, character descent, font ascent, and font descent. rangeFormat Specifies a printf-style format string used to display the range of characters currently being displayed. The default is range: 0x%02x%02x (%u,%u) thru 0x%02x%02x (%u,%u). The arguments that will come after the format string are the following fields from the XFontStruct that is returned from opening the font: min_byte1, min_char_or_byte2, min_byte1, min_char_or_byte2, max_byte1, max_char_or_byte2, max_byte1, max_char_or_byte2.
startFormat Specifies a printf-style format string used to display information about the character at the upper left corner of the font grid. The default is upper left: 0x%04x (%d,%d). The arguments that will come after the format string are the new character, the high byte of the new character, and the low byte of the new character.
nocharFormat Specifies a printf-style format string to display when the selected character does not exist. The default is no such character 0x%02x%02x (%u,%u) (%#o,%#o. The arguments that will come after the format string are the same as for the select-Format resource.

Page 636

SEE ALSO

X(1), xlsfonts(1), xrdb(1), xfontsel(1), X Logical Font Description Conventions

BUGS

The program should skip over pages full of nonexistent characters.

AUTHOR

Jim Fulton (MIT X Consortium); previous program of the same name by Mark Lillibridge (MIT Project Athena)

X Version 11 Release 6

XFree86

XFree86—X11R6 for UNIX on x86 platforms

DESCRIPTION

XFree86 is a collection of X servers for UNIX-like OSs on Intel x86 platforms. This work is derived from X386n1.2, which was contributed to X11R5 by Snitily Graphics Consulting Service.

CONFIGURATIONS

XFree86 operates under the following operating systems:

  • SVR3.2: SCO 3.2.2, 3.2.4, ISC 3.x, 4.x
  • SVR4.0: ESIX, Microport, Dell, UHC, Consensys, MST, ISC, AT&T, NCR
  • SVR4.2: Consensys, Univel (UNIXWare)
  • Solaris (x86) 2.1, 2.4
  • FreeBSD 1.1.5, 2.0, 2.0.5, NetBSD 1.0 (i386 port only)
  • BSD/386 version 1.1 and BSD/OS 2.0
  • Mach (from CMU)
  • Linux
  • Amoeba version 5.1
  • Minix-386vm version 1.6.25.1
  • LynxOS AT versions 2.2.1 and 2.3

NETWORK CONNECTIONS

XFree86 supports connections made using the following reliable byte-streams:

Local XFree86 supports local connections via Streams pipe via various mechanisms, using the following paths (n represents the display number):
/dev/X/server.n (SVR3 and SVR4)
/dev/X/Nserver.n (SVR4)
/dev/XnS and /dev/XnR (SCO SVR3)
In SVR4.0.4, if the Advanced Compatibility Package is installed, and in SVR4.2, XFree86 supports local connections from clients for SCO XSight/ODT, and (with modifications to the binary) clients for ISC SVR3.
UNIX Domain XFree86 uses /tmp/.X11-unix/Xn as the filename for the socket, where n is the display number.

Page 637

TCPIP XFree86 listens on port htons (6000+n), where n is the display number.
Amoeba RPC This is the default communication medium used under native Amoeba. Note that under Amoeba, the server should be started with a hostname:displaynumber argument.

ENVIRONMENT VARIABLES

For operating systems that support local connections other than UNIX Domain sockets (SVR3 and SVR4), there is a compiled-in list specifying the order in which local connections should be attempted. This list can be overridden by the XLOCAL environment variable described next. If the display name indicates a best-choice connection should be made (for example, :0.0), each connection mechanism is tried until a connection succeeds or no more mechanisms are available. Note: For these OSs, the UNIX Domain socket connection is treated differently from the other local connection types. To use it the connection must be made to unix:0.0.

The XLOCAL environment variable should contain a list of one more of the following:

NAMED

PTS

SCO

ISC

which represent SVR4 Named Streams pipe, Old-style USL Streams pipe, SCO XSight Streams pipe, and ISC Streams pipe, respectively. You can select a single mechanism (for example, XLOCAL=NAMED), or an ordered list, for example,

XLOCAL="NAMED:PTS:SCO"

This variable overrides the compiled-in defaults. For SVR4 it is recommended that NAMED be the first preference connection. The default setting is

PTS:NAMED:ISC:SCO.

To globally override the compiled-in defaults, you should define (and export if using sh or ksh) XLOCAL globally. If you use startx/xinit, the definition should be at the top of your .xinitrc file. If you use xdm, the definitions should be early on in the <XRoot>/lib/X11/xdm/Xsession script.

OPTIONS

In addition to the normal server options described in the Xserver(1) manual page, XFree86 accepts the following command-line switches:

vtXX XX specifies the Virtual Terminal device number that XFree86 will use. Without this option, XFree86 will pick the first available Virtual Terminal that it can locate. This option applies only to SVR3, SVR4, Linux, and BSD OSs with the syscons or pcvt driver.
_probeonly Causes the server to exit after the device probing stage. The XF86Config file is still used when this option is given, so information that can be auto detected should be commented out.
_quiet Suppresses most informational messages at startup.
_bpp n Set number of bits per pixel. The default is 8. Legal values are 8, 15, 16, 24, 32. Not all servers support all values.
_weight nnn Sets RGB weighting at 16 bpp. The default is 565. This applies only to those servers that support 16 bpp.
_gamma value Sets the gamma correction. value must be between 0.1 and 10. The default is 1.0. This value is applied equally to the R, G, and B values. Not all servers support this.

Previous | Table of Contents | Next

1