public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nico Schottelius <nicos@pcsystems.de>
To: Martin Mares <mj@ucw.cz>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH]: problem: pc_keyb.h
Date: Sun, 02 Sep 2001 23:06:58 +0200	[thread overview]
Message-ID: <3B929F72.28BAF955@pcsystems.de> (raw)
In-Reply-To: <3B8FE42B.23804609@pcsystems.de> <20010831213050.A3217@albireo.ucw.cz>

Hello Martin!


> > Why can't I include pc_keyb.h directtly into a C program ?
> > I need that for a part of GPM.
>
> pc_keyb.h is a kernel include, thus it uses the kernel set of types
> which unfortunately collides badly with the types used in user space.

Oh, didn't know that.

> The best solution is to create your own include and copy the
> relevant parts of pc_keyb.h there.

hmm.. I just use some definations:

AUX_*

> BTW what exactly do you plan to do? Sending keyboard controller
> or mouse controller commands from user space is probably very
> dangerous as it's going to collide with the commands sent by the
> kernel.

It's gpm what I am working on. I am the current maintainer.
We get the mouse id.

Martin, can't you add the line I sent in the last mail ?
This would make it possible to include
pc_keyb.h into many programs directly.

Nico


  reply	other threads:[~2001-09-02 21:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-31 19:23 [PATCH]: problem: pc_keyb.h Nico Schottelius
2001-08-31 19:30 ` Martin Mares
2001-09-02 21:06   ` Nico Schottelius [this message]
2001-09-05  8:40     ` Martin Mares
2001-09-05 13:47       ` Nico Schottelius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B929F72.28BAF955@pcsystems.de \
    --to=nicos@pcsystems.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mj@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox