|
From: David K. <dvd...@gm...> - 2011-01-09 11:26:09
|
Hi, I've been working on an graphics-capable GNUplot port for OpenWrt [1], for use with the open-hardware NanoNote "PDA" [2]. The NanoNote only has 32MB RAM so the OpenWrt image we use does not come with an X-Server, insead everything is directly drawn onto the framebuffer (Gtk and Qt can work this way). For GNUplot I had to fall back on using a port of SVGAlib that uses the Framebuffer for text/graphics mode switching to reliably work without messing up console input. The first attached single-line patch makes Gnuplot's 'linux.trm' driver work with all SVGAlib video modes, not only 16 and 256-color modes (the NanoNote only supports G320x240x16M32). The second patch fixes selection of the terminal type when svgalib support is compiled in. Currently it wrongly selects 'vgagl' over 'linux' even when 'vgagl' driver is not compiled in due to missing lib3dkit. cheers, David [1] http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/gnuplot-gfx [2] http://en.qi-hardware.com/wiki/Ben_NanoNote -- GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40 |