fbserv — Frame-buffer Server
fbserv
[-h ] [ -s | S
| square_size
] [ -w | W
| width
] [ -n | N
| height
] [-p port_number
] [-F frame_buffer
] [port_number
] [frame_buffer
]
fbserv
opens a framebuffer that may be used by any BRL-CAD routine accessing a framebuffer.
The
-s or -S
options specify that a square framebuffer of the specified size (in pixels) is desired. The
-n or -N
options may be used to indicated the height of the desired framebuffer.
The
-w or -W
options indicate the framebuffer width, and the
-h
option indicates a 1024 X 1024 pixel framebuffer.
The
-p
option supplies a port number and the
-F
option indicates what framebuffer device to use.
The framebuffer device may be included on the command line without the
-F
option if it is the last token on the command line. The port number may
also be specified without the
-p
option. If both the
-F and -p
options are not used, the port number must be followed by the framebuffer
device on the command line. While
fbserv
is running, its port number may then be used in other commands
that access a framebuffer by supplying that port number with the
-F
option for that command. The
fbserv
command may be executed by users at a shell prompt, or it may be used as
an inetd remote framebuffer server by specifying
fbserv
as a server program in
inetd.conf.
fbserv 0 &
This command will start a standalone fbserv daemon. Any access of a framebuffer specifying port 0 will result in opening a new framebuffer.
fbserv -h 0 /dev/sgil &
The above command will open a 1024 X 1024 '/dev/sgil' framebuffer and associate port number 0 with it. Any access of a framebuffer specifying port 0 will use the already opened '/dev/sgil' framebuffer.
bw-fb(1), cat-fb(1), cell-fb(1), cmap-fb(1), gif-fb(1), pix-fb(1), pl-fb(1), polar-fb(1), rle-fb(1), fbcmap(1), fbcmrot(1), fbclear(1), fbcbars(1), fbanin(1), fbcolor(1), fbfade(1), fbframe(1), fbfree(1), fbgamma(1), fbgrid(1), fbhelp(1), fblabel(1), fbline(1), fbpoint(1), fbscanplot(1), fbstretch(1), fbzoom(1).