Hello folks, I just made the following patch for -CURRENT. I did some tests to see whether it works, but I'd rather send to to hackers_at_ to see whether it introduces any regressions: http://80386.nl/pub/syscons.diff What this patch does: right now /dev/consolectl is a TTY that isn't really useful right now. When you write data to it, it just appears on the first window and when you read data from it, it will block indefinitely. The only reason it exists, is because we want to have this administrative syscons device that can be used by applications to call various ioctls. This is also the device node that is used by moused to deliver mouse events. So this patch turns /dev/consolectl into a regular device node that can only process the ioctl events. The advantage is that we don't allocate a TTY (including buffers) just to process some ioctl events. After you've applied this patch, `pstat -t' should no longer list consolectl. I'd love to have some reports of people running X11 to know whether their mouse still works. Unfortunately I don't have a FreeBSD -CURRENT system running X11 at the moment. Just let me know if it breaks stuff. Thanks! -- Ed Schouten <ed_at_80386.nl> WWW: http://80386.nl/
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC