Bug#259080: xserver-xfree86: Please special case mouse setup for GNU/Hurd
On Wed, Jul 14, 2004 at 12:31:06PM -0500, Branden Robinson wrote:
> > Basically, on hurd-i386, the Device should always be "/dev/mouse" and
> > the Protocol be "osmouse". ZAxisMapping should not be set,
> > Emulate3Buttons can be, depending on debconf.
> Yes, this is one of the simpler parts of the problem space.
Great.
> What is the canonical way, from the shell, to determine that I am running
> on a GNU/Hurd system?
Hmm, dpkg-architecture is unfortunately only in dpkg-dev, so I guess
uname is the best bet here. It prints out 'GNU' on GNU/Hurd as opposed
to 'Linux' on GNU/Linux' and (so I've been told) e.g. 'GNU/kFreeBSD' on
GNU/k*BSD.
uname -a yields the following on my Debian GNU/Hurd box:
GNU nighthawk.oase.mhn.de 0.3 GNUmach-1.3/Hurd-0.3 i386-AT386 GNU
Would that suffice?
Michael
Reply to: