Re: [RFC] Get selection to buffer addition

salvador (salvador@inti.gov.ar)
Thu, 09 Aug 2001 15:53:28 -0300


Russell King wrote:

> On Sat, Jan 01, 2000 at 01:24:46AM +0000, Pavel Machek wrote:

[snip]

> > > What I'm looking for:
> > > I'm looking for comments and approval for a small addition to the console
> > > driver (drivers/char/console.c).

[snip]

> > 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).

According to James Simmons (he is maintaining a console development CVS tree in
Sourge Force) the selection stuff will go away in 2.5.x series and the code will
be moved to user space (gpm) as Russell sugest.
As things will be changing in 2.5.x I don't think we should introduce my change.
My idea was towards what Pavel says: adding some kind of clipboard facility, after
all it was already there but not accesible. I sent this patch first and already
designed the IOCTL calls for the reverse: set the selection buffer.
When I started it I thinked this was part of gpm. I was very surprised when I
discovered the kernel was doing the real job.
As the 2.5.x code will remove it I don't know if we should add features that will
go away. The only problem for me is how many time I'll must wait before 2.6.x is
released and the users of my text editor will enjoy this facility (a clipboard
between consoles and different applications).

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft@bigfoot.com set@computer.org
                    set@ieee.org
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013

- 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/