On Thu, Jun 02, 2005 at 06:08:23AM -0700, Mayuresh Kathe wrote: > Hi, > > Is there something akin to the Linux Framebuffer under OpenBSD? > Something I can write to, to draw graphics on screen without having to > resort to starting up X? > > ~Mayuresh > > PS: > I did google for it, but found only a reference to support being > offered by directfb and running openbsd on an ibook >
a framebuffer is just a "device", you can map frames to it. What linux calles a "framebuffer" is a framebuffer, and thousand other things ;) However, if you want to work in console and start a simple app to display some stuff, svgalibs come to mind (http://www.svgalib.org/) . There is no program yet to display pdf/ps files, but links2 and mplayer can use those. I don't see svgalibs in the ports yet, they are (were?) rather linux- centric. I would like to change that, tho. Another "problem" is that you cannot use svgalibs to change the resolution so that it e.g. displays 132x80 chars instead of 80x25. (is that actually right?) Also, there is no window management so you cannot use it to display more than one "terminal" at a time like you can do with several xterms. I would *love* to write such an application or to change those limitations.

