2 USING AND CONFIGURING THE INSTALLED BINARIES

Contents of this section

By default, the CMU BINARY DISTRIBUTION obtained via sup is installed in /usr/X11R6 make sure you have enough room for it (about 45Meg). The previous server for XFree86 2.1 was installed in /usr/misc/.X11; thus you can easily keep both servers around.

Mouse selection for Mach is different from that described in the XF86Config manual entry. The Pointer Device entry in XF86Config is ignored. The mouse device is always /dev/mouse.

Mach supports several kinds of external mice, the logitech three button mouse, the microsoft two button mouse, the PS2 mouse, and the logitech mouseman mouse. We do not support any kind of bus mouse. The way you indicate the mouse type and com port is with the mouse device minor. The value you set the minor to is computed by the formula:

< type > * 8 + < com port >
< com port > is 0, or 1 or ... depending on which com port you plug your mouse into. (Some architectures prefer to make com0 the modem line.)

< type > is:

0 for logitech mouse

1 for microsoft mouse

2 for ps2 mouse

3 for no real mouse at all

4 for logitech mouse man (M+ or V type)

We have implemented a neat hack for notebooks so that they don't have to be saddled with a HUGE external mouse. Scroll lock toggles a mode wherein "seldom used 'function keys'" are used to represent mouse actions. F1, F2, F3 are the left, middle, and right mouse. The first key stroke represents a down click and the second key stroke represents an up click for the mouse button. Then the up down, right, left, arrow keys actually move the mouse AND if you have a standard pad with home, pageup, end, and pagedown filling in the square around the up, down, right, and left arrow keys then the former set do the obvious and move the mouse along the diagonals. Try it ... Note: whereas most notebooks these days do have an integral mouse, they typically provide only two buttons. Thus this feature still is useful for just using F1, F2, and F3 for accessing three mouse buttons.

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter