Update Question 11.8:

- Mark up syscons(4), sysmouse(4), moused(8)
- Turn "FreeBSD" into &os;
- Replace old symlink method with devfs(5)

Reviewed by:  trhodes, danger
Approved by:  gabor
This commit is contained in:
Gabor Pali 2008-06-21 07:55:39 +00:00
parent 4a5e725b4e
commit c60f722d32
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32348

View file

@ -6717,13 +6717,13 @@ options SYSVMSG # enable for messaging</programlisting>
</question> </question>
<answer> <answer>
<para>If you are using syscons (the default console driver), <para>If you are using &man.syscons.4; (the default console driver),
you can configure FreeBSD to support a mouse pointer on each you can configure &os; to support a mouse pointer on each
virtual screen. In order to avoid conflicting with X, syscons virtual screen. In order to avoid conflicting with X, &man.syscons.4;
supports a virtual device called supports a virtual device called
<devicename>/dev/sysmouse</devicename>. All mouse events received <devicename>/dev/sysmouse</devicename>. All mouse events received
from the real mouse device are written to the sysmouse device from the real mouse device are written to the &man.sysmouse.4; device
via moused. If you wish to use your mouse on one or more via &man.moused.8;. If you wish to use your mouse on one or more
virtual consoles, <emphasis>and</emphasis> use X, see virtual consoles, <emphasis>and</emphasis> use X, see
<xref linkend="moused" remap="another section"> and set up <xref linkend="moused" remap="another section"> and set up
moused.</para> moused.</para>
@ -6740,11 +6740,18 @@ options SYSVMSG # enable for messaging</programlisting>
<devicename>/dev/mouse</devicename> under X. To make this <devicename>/dev/mouse</devicename> under X. To make this
work, <devicename>/dev/mouse</devicename> should be linked work, <devicename>/dev/mouse</devicename> should be linked
to <devicename>/dev/sysmouse</devicename> (see to <devicename>/dev/sysmouse</devicename> (see
&man.sysmouse.4;):</para> &man.sysmouse.4;) by adding the following line to
<filename>/etc/devfs.conf</filename> (see
&man.devfs.conf.5;):</para>
<programlisting>link sysmouse mouse</programlisting>
<para>This link can be created by restarting &man.devfs.5;
with the following command (as
<username>root</username>):</para>
<screen>&prompt.root; <userinput>/etc/rc.d/devfs restart</userinput></screen>
<screen>&prompt.root; <userinput>cd /dev</userinput>
&prompt.root; <userinput>rm -f mouse</userinput>
&prompt.root; <userinput>ln -s sysmouse mouse</userinput></screen>
</answer> </answer>
</qandaentry> </qandaentry>