Hello, > >>> Okay, I have a concern this. As far as I can tell, the cookie is > >>> passed to the driver, but I cannot see how the driver can make > >>> sense of it. The cookie that wsdisplay passes seems to be a > >>> struct wsscreen, which is a private structure to wsdisplay(4) -- > >>> it is not declared in any external headers. > >>> > >> struct wsscreen is not really defined anywhere I can see. > >> > > > > Me blind. Fixed that so ->ioctl() and ->mmap() now get > > scr->scr_dconf->emulcookie > > Thanks! That makes *much* more sense. Sorry for the hassle - doing it this way was the intention from the beginning. have fun Michael
Attachment:
pgp792v1X7bVG.pgp
Description: PGP signature