fb-cmap — read a colormap from a framebuffer
fb-cmap reads a colormap from a framebuffer. A colormap filename into which to write the data can be given, otherwise the data will appear on standard output. The format of the colormap output is described in cmap(5).
By default, the display is assumed to be 512x512 pixels;
by specifying the
flag, the size is changed to 1024x1024.
This size distinction is important for devices like the Adage
framebuffers which have different operating modes based on the
The message "can't read colormap" occurs if the read failed. No output will be produced. This usually means that the currently selected framebuffer either does not have, or can not support, a colormap. This will usually be the case, for example, with a disk file "framebuffer".
This software is Copyright (c) 1987-2016 by the United States Government as represented by U.S. Army Research Laboratory.