SCREENDUMP(1) — USER COMMANDS
NAME
screendump − dump frame buffer image
SYNOPSIS
screendump [ −f display ] [ −e ] [ −t type ] [ output-file ]
DESCRIPTION
Screendump reads out the contents of a frame buffer on any model of Sun Workstation and outputs the display image in Sun standard rasterfile format (see /usr/include/rasterfile.h) on output-file (or on the standard output if output-file is not specified).
By default, screendump attempts to output the contents of the console frame buffer (/dev/fb). 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
−f display
Use display as the device name of the display.
-eShorthand for −t 2.
−t type
Specify the type of the rasterfile to write:
0Old format files compatible with Release 1.1 software.
1Standard format.
2Run-length encoding of bytes.
65535To experiment with private encodings.
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.
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.
/dev/cgtwo0Default name of the Sun-2 color display frame buffer.
/usr/lib/rasfilters/∗Filters for the raster file
SEE ALSO
screenload(1), lpr(1)
pr_dump in Programmer’s Reference Manual for SunWindows
Sun Release 2.0 — Last change: 1 February 1985