[Gpm] increasing the size of the cut/paste bufferR

Alessandro Rubini gpm@lists.prosa.it
Thu, 29 Mar 2001 00:12:12 +0200


> How do I do that?

the selection buffer lives in the kernel. It's allocated as needed
(but allocating too big a buffer is likely to fail: going above
page-size is risky.

While the buffer is malloced, pasting is limited to 4kB at a time, I
think (due to simplified interaction with the tty layers.

Unfortunately, it's not easy to "paste in parts", as the cut buffer is
a single item in the kernel. You only bet is patching the kernel. I
did it once, Linus refused the patch (ok, it was not clean, but
it's difficult to do it cleanly).

hope this helps
/alessandro, not the gpm maintainer
-- 
Quello che scrivo rappresenta solo il mio personale punto di vista,
non rispecchia l'opinione di organizzazioni di cui faccio o ho fatto parte.