[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ncurses: sysmouse support bug/suggestion

From: Travis Poppe
Subject: ncurses: sysmouse support bug/suggestion
Date: Thu, 21 Jul 2005 11:48:33 -0600
User-agent: KMail/1.8.1


I hope I've got the correct e-mail address. Anyway, I've recently tested the 
sysmouse (FreeBSD console) support that comes with ncurses 5.4. It works 
great, other than a minor cosmetic error that, ironically, comes from a 
cosmetic "fix" for FreeBSD 3.x. 

        /* for cosmetic bug in syscons.c on FreeBSD 3.[34] */
        the_mouse.operation = MOUSE_HIDE;
        ioctl(SP->_mouse_fd, CONS_MOUSECTL, &the_mouse);
        the_mouse.operation = MOUSE_SHOW;
        ioctl(SP->_mouse_fd, CONS_MOUSECTL, &the_mouse);

This code causes two issues on my FreeBSD 5.4-RELEASE machine in a high 
resolution VESA console: 

1 - The cursor pulses/blinks rapidly while the mouse cursor is being moved

2 - The mouse leaves traces of itself all over the bottom of the screen if      
the mouse ever touches that region.

I don't know how you'd like to handle this problem. I would think you could 
simply remove the code because it's for a very old version of FreeBSD, or 
place ifdefs around it so that it can only be activated if its specifically 


Travis Poppe
IRC: tlp @ irc.freenode.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]