4.4.1. | Is it possible to use a mouse in any way outside the X Window system? |
If you are using the default console driver, syscons(4), you can use a mouse pointer in text consoles to cut & paste text. Run the mouse daemon, moused(8), and turn on the mouse pointer in the virtual console: # moused -p /dev/
# vidcontrol -m on Where If you have a PS/2 mouse, just add
When the mouse daemon is running, access to the mouse must be coordinated between the mouse daemon and other programs such as X Windows. Refer to the FAQ Why does my mouse not work with X? for more details on this issue. | |
4.4.2. | How do I cut and paste text with a mouse in the text console? |
It is not possible to remove data using the mouse. However, it is possible to “copy and paste”. Once you get the mouse daemon running (see the previous question) hold down button 1 (left button) and move the mouse to select a region of text. Then, press button 2 (middle button) to paste it at the text cursor. Pressing button 3 (right button) will “extend” the selected region of text. If your mouse does not have a middle button, you may wish to emulate one or remap buttons using mouse daemon options. See the moused(8) manual page for details. | |
4.4.3. | My mouse has a fancy wheel and buttons. Can I use them in FreeBSD? |
The answer is, unfortunately, “It depends”. These mice with additional features require specialized driver in most cases. Unless the mouse device driver or the user program has specific support for the mouse, it will act just like a standard two, or three button mouse. For the possible usage of wheels in the X Window environment, refer to that section. | |
4.4.4. | How do I use my delete key in |
For the Bourne Shell, add
the following lines to your bind ^? ed-delete-next-char # for console
bind ^[[3~ ed-delete-next-char # for xterm For the C Shell, add the
following lines to your bindkey ^? delete-char # for console
bindkey ^[[3~ delete-char # for xterm For more information, see this page. |
This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/
For questions about FreeBSD, read the
documentation before
contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.