Frequently Asked Questions for FreeBSD 2.X : Hardware compatibility : Is it possible to make use of a mouse in any way outside the X Window?
Previous: How do I use my PS/2 (``mouse port'' or ``keyboard'') mouse?
Next: How do I cut and paste text with mouse in the text console?

3.9. Is it possible to make use of a mouse in any way outside the X Window?

If you are using the default console driver, syscons, you can use a mouse pointer in text consoles to cut & paste text. Run the mouse daemon, moused, and turn on the mouse pointer in the virtual console:

        moused -p /dev/xxxx -t yyyy 
        vidcontrol -m on
      

Where xxxx is the mouse device name and yyyy is a protocol type for the mouse. See the moused man page for supported protocol types.

You may wish to run the mouse daemon automatically when the system starts. In version 2.2.1, set the following variables in /etc/sysconfig.

	mousedtype="yyyy"
	mousedport="xxxx"
	mousedflags=""
      

In versions 2.2.2 or later, set the following variables in /etc/rc.conf.

	moused_type="yyyy"
	moused_port="xxxx"
	moused_flags=""
      

Staring from FreeBSD 2.2.6, the mouse daemon is capable of determining the correct protocol type automatically unless the mouse is a relatively old serial mouse model. Specify ``auto'' as the protocol to invoke automatic detection.

When the mouse daemon is running, access to the mouse needs to be coordinated between the mouse daemon and other programs such as the X Window. Refer to another section on this issue".


Frequently Asked Questions for FreeBSD 2.X : Hardware compatibility : Is it possible to make use of a mouse in any way outside the X Window?
Previous: How do I use my PS/2 (``mouse port'' or ``keyboard'') mouse?
Next: How do I cut and paste text with mouse in the text console?