On Tue, Sep 22, 2009 at 08:56:20PM -0500, Penguin Lover Harry Putnam squawked:
> No one responded about the possibility of using the keyboard to do the
> paste ... and man gpm is silent about it as well, does that mean its
> not really possible to copy with mouse and paste with keyboard?
I am not sure if it is even possible. This will require a server that
catches all keystrokes from the keyboard, decide whether the
keystrokes are to be sent to the application or to gpm, and act
accordingly.
If you are in a position to select text with your mouse, I think you
are usually in a pretty good position to paste text with your mouse.
(Even for one button mice, if you read 'info gpm', which has more
details, I think it shows you how to rebind a Metakey+mouseclick
combo.)
You can of course do some sort of cut-and-paste on the console using
readline. With the history buffer, if you have typed one long command
before, you shouldn't need to do it again :)
Else I'd just use Vim's built-in yank and pop with splitwindows.
Maybe it is possible to integrate readline with gpm? Never thought of
that, and google doesn't show anything useful either.
W
--
The longest word in the English language is the one
that follows "And now a word from out sponsor."
~Jack Benny
Sortir en Pantoufles: up 1020 days, 6:54