SCREENDUMP(1) — USER COMMANDS
NAME
screendump − dump frame buffer image
SYNOPSIS
screendump [ −c ] [ −f display ]
DESCRIPTION
Screendump reads out the contents of the console frame buffer (/dev/fb) on any model of Sun Workstation and outputs the display image in Sun standard rasterfile format (see /usr/include/rasterfile.h) on the standard output.
By default, screendump attempts first to output the contents of the console frame buffer. If no console frame buffer is found, screendump attempts to output the contents of a color frame buffer. The −c option selects a color frame buffer directly. Heuristics are applied to locate the color frame buffer the user is most likely interested in. The −f option explicitly sets the name of the desired frame buffer device.
The utility program screenload displays Sun standard rasterfiles on an appropriate Sun Workstation monitor. Output filters exist for printing standard monochrome rasterfiles on Versatec V-80 electrostatic plotters.
OPTIONS
−cDump a color frame buffer without trying the console frame buffer.
−f display
Use display as the device name of the display.
EXAMPLES
tutorial% screendump >save.this.image writes the current contents of the console frame buffer into the file save.this.image.
tutorial% screendump −f /dev/cgone0 >save.color.image writes the current contents of the frame buffer /dev/cgone0 into the file save.color.image. This has the same effect as the −c option for the most common display configuration.
tutorial% screendump | lpr −Pversatec −v sends a rasterfile containing the current frame buffer to the lineprinter, selecting the printer named “versatec” and the “v” output filter (see /etc/printcap).
FILES
/dev/fb Default name of console display frame buffer.
/dev/cgone0Default name of the Sun-1 color display frame buffer.
SEE ALSO
Sun Release 1.4 — Last change: 8 August 1984