gltextSection: XScreenSaver manual (6)
Updated: 5.04 (13-Nov-2007)
Index Return to Main Contents
NAMEgltext - draws text spinning around in 3D
SYNOPSISgltext [-display host:display.screen] [-window] [-root] [-visual visual] [-delay microseconds] [-text string] [-program command] [-wander] [-no-wander] [-spin axes] [-no-spin] [-front] [-no-front] [-wireframe] [-fps]
DESCRIPTIONThe gltext program draws some text spinning around in 3D, using a font that appears to be made of solid tubes.
OPTIONSgltext accepts the following options:
- Draw on a newly-created window. This is the default.
- Draw on the root window.
- Install a private colormap for the window.
- -visual visual
- Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
- -text string
The text to display. This may contain newlines, but it shouldn't be
very long. The default is to display the machine name and OS version.
gltext -text "%A%n%d %b %Y%n%l:%M:%S %p"
To include a literal `%', you must double it: `%%'.
See the man page for strftime(3) for more details.
- -program command
- The given program is run, and its output is displayed. If specified, this overrides -text. The program will be re-run every 5 seconds to re-generate the text. It should run quickly, and shouldn't generate too much text.
- Move the text around the screen. This is the default.
- Keep the text centered on the screen.
- Which axes around which the text should spin. The default is "XYZ", meaning rotate it freely in space. "-spin Z" would rotate the text in the plane of the screen while not rotating it into or out of the screen; etc.
- Don't spin the text at all: the same as -spin "".
- When spinning, never spin all the way around or upside down: always face mostly forward so that the text is easily readable.
- Allow spins to go all the way around or upside down. This is the default.
- Render in wireframe instead of solid.
- Display a running tally of how many frames per second are being rendered. In conjunction with -delay 0, this can be a useful benchmark of your GL performance.
- to get the default host and display number.
- to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSOX(1), xscreensaver(1)
COPYRIGHTCopyright © 2001-2005 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
AUTHORJamie Zawinski <email@example.com>