Re: [RFC] Get selection to buffer addition
Russell King (rmk@arm.linux.org.uk)
Wed, 8 Aug 2001 22:21:06 +0100
On Sat, Jan 01, 2000 at 01:24:46AM +0000, Pavel Machek wrote:
> 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...
Umm, silly question, but why not put this stuff into something similar to
gpm, rather than have unswappable kernel memory sucked up just for cut and
paste (possibly very large cut and paste under X).
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/