On Sat, Jul 18, 2009 at 10:43:49AM +0200, Mark Kettenis wrote: > int newmode, oldmode; > > ioctl(fd, WSDISPLAYIO_GMODE, &oldmode); > newmode = WSDISPLAYIO_MODE_MAPPED; > ioctl(fd, WSDISPLAYIO_SMODE, &newmode); > > ... > > ioctl(fd, WSSDISPLAYIO_SMODE, &oldmode); > > (with proper error checking of course).
OK, I have patched the sources and added error checking. Works fine! Many thanks for the pointer. The port is on po...@. Can I get an OK? -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett
