Moused

Mouse daemon on FreeBSD systems

moused is a mouse daemon on FreeBSD systems that works with the console driver to support mouse operations in the text console and user programs.[1] It first appeared in FreeBSD 2.2 and is currently located in /usr/sbin/moused.[2]

Function

The mouse daemon listens to a mouse port (by default, /dev/psm0) and supplies mouse data to a virtual mouse driver, sysmouse(4). A user process that wants to use the mouse simply opens /dev/sysmouse and reads from it like a normal file. This makes it possible for the console and user processes such as the X Window System to share the mouse. PS2 mice will not need configuration while serial-port mice will.[3]

Multiple mice can be used at once by starting multiple moused instances.[4]

See also

  • GPM

References

  1. ^ Gite, Vivek (2006-09-13). "Howto: FreeBSD configure or use mouse to copy and paste at a terminal". cyberciti.biz. Retrieved 2024-06-04.
  2. ^ "moused". man.freebsd.org. 2008-05-15. Retrieved 2024-06-04.
  3. ^ Lehey, Greg (2003-04-29). The Complete FreeBSD: Documentation from the Source. "O'Reilly Media, Inc.". ISBN 978-0-596-00516-0.
  4. ^ Tyler, Chris (2008-02-05). X Power Tools. "O'Reilly Media, Inc.". ISBN 978-0-596-10195-4.

External links

  • moused(8), FreeBSD man page
  • X11 Configuration
  • v
  • t
  • e
  • v
  • t
  • e
The FreeBSD Project
FreeBSD
  • FreeBSD Core Team
  • FreeBSD Documentation License
  • FreeBSD Foundation
  • FreeBSD Ports
  • Version History
  • Kernel Normal Form
Subsystems
Scheduling
  • ALTQ
  • ULE scheduler
Virtualisation
  • chroot
  • jail
  • bhyve
Storage
Networking
Other
People
Derivatives
open-source
proprietary