Re: [RFC] Get selection to buffer addition

Pavel Machek
2001-08-08T20:47:59Z

Hi!

> I'm sending this mail again with the patch in plain text and not
> gzip+uuencoded, sorry for any inconvenience.
>
> What I'm looking for:
> I'm looking for comments and approval for a small addition to the console
> driver (drivers/char/console.c).
>
> Small description:
> The included patches adds a couple of new services to the TIOCLINUX ioctl
> call, they are:
>
> 13 (get selection into a buffer): It copies the contents of the selection
> buffer (maintained in kernel space) into a user space provided buffer. Is
> something like "paste to a buffer" instead of just paste to the current
> console.
>
> 14 (get selection length): Returns the length of the selection buffer (0 if
> none selected).

Looks good to me. Now, all I want is utility to share clipboard between
X and text console...
Pavel
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.