[gpm]gpmselection

Grzegorz Adam Hankiewicz gradha@terra.es
Sun, 7 Apr 2002 23:14:44 +0200


On Sun, Apr 07, 2002 at 09:57:03PM +0100, Jiri Mencak wrote:
> Do you know any program or even better a gpm feature via which I could 
> access GPM selection? Say I wanted to select text `Hello World!' on 
> a text console using GPM and then this program (let's call it 
> `gpmselection') would output to stdout:
> 
> % gpmselection
> Hello World!

In fact it would be great if programs could access it internally like
gpm_get_selection, which returns a const char * to the text buffer of gpm.

-- 
 Grzegorz Adam Hankiewicz   gradha@terra.es   http://gradha.infierno.org/