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".