- People sometimes want to make use of Tk features such as image without having to connect to a graphical display; see, for example, "Image manipulation without Tk". tk-vfb would provide that. Donal Fellows is often heard requesting such a capability.
- By combining tk-vfb with a VNC server extension such as TclRFB, one can construct a thin-client Tk application where the main program runs on a headless server but the graphics display appears on a remote terminal running a VNC client. This gives you the functionality of Klant in a single process and without having to work lots of magic with Xvnc in -inetd mode.
- New tests could be added to the Tk regression test suite that read back raw bytes from the frame buffer and verify that the correct rendering has occurred.
CL has a great appetite for the benefits described above--with which I agree--and mourns the apparent demise of TkGS. I suspect, by the way, that the regression-test opportunity still would depend on local installation of fonts, with all the complications that implies. Ah, well; fonts are in need of rework, anyway ...Richard, it strikes me that such an implementation also offers the advantage of driving a not-virtual-at-all framebuffer. That is, if I understand the description, it gives us Tk on framebuffered hosts, even if they lack X, or their X impairs performance.rdt : Ooh! I sure like this idea. I would like to be able to install using a tcl/tk installer without having all of X needed during the installation. What is the status of this and from where can it be obtained?
Rather than malloc'ing a big chunk of memory to render the widgets, one could make use of the server aspects of TclRFB directly. Steve Landers really didn't speak about the RFB server functionality available in TclRFB, but it is there. Using the RFB protocol, a vfb-enabled application would render each widget upon demand from the RFB client viewer or as each widget is changed by the application. A very basic example of this is the rfbcounter.tcl application that comes with the TclRFB distribution. I would be possible to implement a interface layer between an application an TclRFB to create a Tk-like virtual widget set that would be visualized through an RFB client viewer. The amount of resources required by virtual widget set would be the virtual widget library plus any virtual widgets that are created by the application.- Mac Cody December 9, 2004