Gentoo Archives: gentoo-user

From: Willie Wong <wwong@××××××××××××××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [ot General Textmode q]
Date: Wed, 23 Sep 2009 08:22:05
Message-Id: 20090923082257.GB19972@princeton.edu
In Reply to: [gentoo-user] Re: [ot General Textmode q] by Harry Putnam
1 On Tue, Sep 22, 2009 at 08:56:20PM -0500, Penguin Lover Harry Putnam squawked:
2 > No one responded about the possibility of using the keyboard to do the
3 > paste ... and man gpm is silent about it as well, does that mean its
4 > not really possible to copy with mouse and paste with keyboard?
5
6 I am not sure if it is even possible. This will require a server that
7 catches all keystrokes from the keyboard, decide whether the
8 keystrokes are to be sent to the application or to gpm, and act
9 accordingly.
10
11 If you are in a position to select text with your mouse, I think you
12 are usually in a pretty good position to paste text with your mouse.
13 (Even for one button mice, if you read 'info gpm', which has more
14 details, I think it shows you how to rebind a Metakey+mouseclick
15 combo.)
16
17 You can of course do some sort of cut-and-paste on the console using
18 readline. With the history buffer, if you have typed one long command
19 before, you shouldn't need to do it again :)
20
21 Else I'd just use Vim's built-in yank and pop with splitwindows.
22
23 Maybe it is possible to integrate readline with gpm? Never thought of
24 that, and google doesn't show anything useful either.
25
26 W
27 --
28 The longest word in the English language is the one
29 that follows "And now a word from out sponsor."
30 ~Jack Benny
31 Sortir en Pantoufles: up 1020 days, 6:54