* [gentoo-user] [ot General Textmode q]
@ 2009-09-22 21:37 Harry Putnam
2009-09-22 21:57 ` Alex Schuster
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Harry Putnam @ 2009-09-22 21:37 UTC (permalink / raw
To: gentoo-user
I use a laptop with one of those touch pads you use for a mouse where
you drag your finger around on it and have two buttons for left and
right mouse.
Can any one tell me how to copy with mouse (really the left mouse
button provided on the touchpad) but paste from keyboard while in text
(console) mode? Or using the touch pad thing somehow. I've tried
pressing both touchpad buttons at once to emulate middle mouse but it
has no effect.
So I'm thinking there must be a way from the keyboard to release the
copied string.... someway to `paste' whatever is currently in the copy
buffer or clipboard or whatever it is when you hightlight something in
the terminal with left mouse drag.
If I hook a real mouse to the laptop.. I can do the normal linux stuff
all with mouse.. highlight with left mouse button drag (in a terminal)
and paste the highlighted string with middle mouse.
So again, how can I effect the above with only the keyboard for pasting
or alternatively the touchpad? (The touchpad and two button apparatus
built into the laptop)
I notice on a windows OS what ever is highlighted anywhere with the
mouse can be pasted with C-v. Is there a similar keyboard combo in
linux (text) terminal mode?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [ot General Textmode q]
2009-09-22 21:37 [gentoo-user] [ot General Textmode q] Harry Putnam
@ 2009-09-22 21:57 ` Alex Schuster
2009-09-22 23:08 ` [gentoo-user] " Grant Edwards
2009-09-22 22:25 ` [gentoo-user] " James Ausmus
2009-09-22 23:26 ` Willie Wong
2 siblings, 1 reply; 12+ messages in thread
From: Alex Schuster @ 2009-09-22 21:57 UTC (permalink / raw
To: gentoo-user
Harry Putnam writes:
> Can any one tell me how to copy with mouse (really the left mouse
> button provided on the touchpad) but paste from keyboard while in text
> (console) mode? Or using the touch pad thing somehow. I've tried
> pressing both touchpad buttons at once to emulate middle mouse but it
> has no effect.
It should. Do you have 'Option "Emulate3Buttons" "false"' in your xorg.conf?
Also see Option "Emulate3Timeout" (man mousedrv).
Wonko
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [ot General Textmode q]
2009-09-22 21:37 [gentoo-user] [ot General Textmode q] Harry Putnam
2009-09-22 21:57 ` Alex Schuster
@ 2009-09-22 22:25 ` James Ausmus
2009-09-22 23:26 ` Willie Wong
2 siblings, 0 replies; 12+ messages in thread
From: James Ausmus @ 2009-09-22 22:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
On Tue, Sep 22, 2009 at 2:37 PM, Harry Putnam <reader@newsguy.com> wrote:
> I use a laptop with one of those touch pads you use for a mouse where
> you drag your finger around on it and have two buttons for left and
> right mouse.
>
> Can any one tell me how to copy with mouse (really the left mouse
> button provided on the touchpad) but paste from keyboard while in text
> (console) mode? Or using the touch pad thing somehow. I've tried
> pressing both touchpad buttons at once to emulate middle mouse but it
> has no effect.
>
First of all:
man 8 gpm
then edit /etc/conf.d/gpm and add a (or modify an existing uncommented):
APPEND="-2"
And then the right-click should be paste.
HTH-
James
[-- Attachment #2: Type: text/html, Size: 1187 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: [ot General Textmode q]
2009-09-22 21:57 ` Alex Schuster
@ 2009-09-22 23:08 ` Grant Edwards
2009-09-23 1:56 ` Harry Putnam
0 siblings, 1 reply; 12+ messages in thread
From: Grant Edwards @ 2009-09-22 23:08 UTC (permalink / raw
To: gentoo-user
On 2009-09-22, Alex Schuster <wonko@wonkology.org> wrote:
> Harry Putnam writes:
>
>> Can any one tell me how to copy with mouse (really the left mouse
>> button provided on the touchpad) but paste from keyboard while in text
>> (console) mode? Or using the touch pad thing somehow. I've tried
>> pressing both touchpad buttons at once to emulate middle mouse but it
>> has no effect.
>
> It should. Do you have 'Option "Emulate3Buttons" "false"' in your xorg.conf?
> Also see Option "Emulate3Timeout" (man mousedrv).
One assumes that "console mode" means he's not running X.
That said, I presume gpm holds the answer. But, I don't run gpm
and don't know much about it...
--
Grant
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [ot General Textmode q]
2009-09-22 21:37 [gentoo-user] [ot General Textmode q] Harry Putnam
2009-09-22 21:57 ` Alex Schuster
2009-09-22 22:25 ` [gentoo-user] " James Ausmus
@ 2009-09-22 23:26 ` Willie Wong
2009-09-23 6:20 ` Mick
2 siblings, 1 reply; 12+ messages in thread
From: Willie Wong @ 2009-09-22 23:26 UTC (permalink / raw
To: gentoo-user
On Tue, Sep 22, 2009 at 04:37:15PM -0500, Penguin Lover Harry Putnam squawked:
> Can any one tell me how to copy with mouse (really the left mouse
> button provided on the touchpad) but paste from keyboard while in text
> (console) mode? Or using the touch pad thing somehow. I've tried
> pressing both touchpad buttons at once to emulate middle mouse but it
> has no effect.
In console the copy-paste is provided by GPM. And I thought GPM paste
is right mouse key, not middle key. And I am also pretty sure that GPM
does not do third button emulation the way X does.
I think a possibility is that you have plugged in and used a mouse
with three buttons. This forced gpm into 3 button mode, so that the
middle button becomes paste and right button is extend selection. Then
you poor two-button touchpad has no more paste.
To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
to stick with 2-button mode.
HTH
W
--
"Do you all understand? At this point I'll settle for quiet acquiescence."
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 1019 days, 22:12
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: [ot General Textmode q]
2009-09-22 23:08 ` [gentoo-user] " Grant Edwards
@ 2009-09-23 1:56 ` Harry Putnam
2009-09-23 8:22 ` Willie Wong
2009-09-23 15:39 ` Paul Hartman
0 siblings, 2 replies; 12+ messages in thread
From: Harry Putnam @ 2009-09-23 1:56 UTC (permalink / raw
To: gentoo-user
Grant Edwards <grant.b.edwards@gmail.com> writes:
[...]
> One assumes that "console mode" means he's not running X.
>
> That said, I presume gpm holds the answer. But, I don't run gpm
> and don't know much about it...
James Ausmus <james.ausmus@gmail.com> writes:
[...]
> then edit /etc/conf.d/gpm and add a (or modify an existing uncommented):
>
> APPEND="-2"
>
> And then the right-click should be paste.
Willie Wong <wwong@math.princeton.edu> writes:
[...]
> I think a possibility is that you have plugged in and used a mouse
> with three buttons. This forced gpm into 3 button mode, so that the
> middle button becomes paste and right button is extend selection. Then
> you poor two-button touchpad has no more paste.
>
> To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
> to stick with 2-button mode.
Thanks to all for the prompt answers.
That solves the touch pad problem.
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?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [ot General Textmode q]
2009-09-22 23:26 ` Willie Wong
@ 2009-09-23 6:20 ` Mick
2009-09-24 11:38 ` Peter Humphrey
2009-09-24 14:00 ` [gentoo-user] " Harry Putnam
0 siblings, 2 replies; 12+ messages in thread
From: Mick @ 2009-09-23 6:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
On Wednesday 23 September 2009, Willie Wong wrote:
> On Tue, Sep 22, 2009 at 04:37:15PM -0500, Penguin Lover Harry Putnam
squawked:
> > Can any one tell me how to copy with mouse (really the left mouse
> > button provided on the touchpad) but paste from keyboard while in text
> > (console) mode? Or using the touch pad thing somehow. I've tried
> > pressing both touchpad buttons at once to emulate middle mouse but it
> > has no effect.
>
> In console the copy-paste is provided by GPM. And I thought GPM paste
> is right mouse key, not middle key. And I am also pretty sure that GPM
> does not do third button emulation the way X does.
>
> I think a possibility is that you have plugged in and used a mouse
> with three buttons. This forced gpm into 3 button mode, so that the
> middle button becomes paste and right button is extend selection. Then
> you poor two-button touchpad has no more paste.
>
> To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
> to stick with 2-button mode.
I am not running gpm to test; have you tried the obvious 'Insert', or Shift+I,
or Shift+Insert?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: [ot General Textmode q]
2009-09-23 1:56 ` Harry Putnam
@ 2009-09-23 8:22 ` Willie Wong
2009-09-23 15:39 ` Paul Hartman
1 sibling, 0 replies; 12+ messages in thread
From: Willie Wong @ 2009-09-23 8:22 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: [ot General Textmode q]
2009-09-23 1:56 ` Harry Putnam
2009-09-23 8:22 ` Willie Wong
@ 2009-09-23 15:39 ` Paul Hartman
1 sibling, 0 replies; 12+ messages in thread
From: Paul Hartman @ 2009-09-23 15:39 UTC (permalink / raw
To: gentoo-user
On Tue, Sep 22, 2009 at 8:56 PM, Harry Putnam <reader@newsguy.com> wrote:
> 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?
The only way I can think is to use "screen", which has keyboard-based
text selection, copy and paste functionality (including selecting from
the scrollback buffer).
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] [ot General Textmode q]
2009-09-23 6:20 ` Mick
@ 2009-09-24 11:38 ` Peter Humphrey
2009-09-24 14:00 ` [gentoo-user] " Harry Putnam
1 sibling, 0 replies; 12+ messages in thread
From: Peter Humphrey @ 2009-09-24 11:38 UTC (permalink / raw
To: gentoo-user
On Wednesday 23 September 2009 07:20:42 Mick wrote:
> I am not running gpm to test; have you tried the obvious 'Insert', or
> Shift+I, or Shift+Insert?
I think the difficulty is the need to synchronise the two paste buffers:
keyboard and mouse.
--
Rgds
Peter
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: [ot General Textmode q]
2009-09-23 6:20 ` Mick
2009-09-24 11:38 ` Peter Humphrey
@ 2009-09-24 14:00 ` Harry Putnam
2009-09-24 16:25 ` Harry Putnam
1 sibling, 1 reply; 12+ messages in thread
From: Harry Putnam @ 2009-09-24 14:00 UTC (permalink / raw
To: gentoo-user
Mick <michaelkintzios@gmail.com> writes:
> On Wednesday 23 September 2009, Willie Wong wrote:
>> On Tue, Sep 22, 2009 at 04:37:15PM -0500, Penguin Lover Harry Putnam
> squawked:
>> > Can any one tell me how to copy with mouse (really the left mouse
>> > button provided on the touchpad) but paste from keyboard while in text
>> > (console) mode? Or using the touch pad thing somehow. I've tried
>> > pressing both touchpad buttons at once to emulate middle mouse but it
>> > has no effect.
>>
>> In console the copy-paste is provided by GPM. And I thought GPM paste
>> is right mouse key, not middle key. And I am also pretty sure that GPM
>> does not do third button emulation the way X does.
>>
>> I think a possibility is that you have plugged in and used a mouse
>> with three buttons. This forced gpm into 3 button mode, so that the
>> middle button becomes paste and right button is extend selection. Then
>> you poor two-button touchpad has no more paste.
>>
>> To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
>> to stick with 2-button mode.
>
> I am not running gpm to test; have you tried the obvious 'Insert', or Shift+I,
> or Shift+Insert?
None of those do what I'm after here.
Someone answered that screen can do the kind of thing I talked about
... and yet it can.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: [ot General Textmode q]
2009-09-24 14:00 ` [gentoo-user] " Harry Putnam
@ 2009-09-24 16:25 ` Harry Putnam
0 siblings, 0 replies; 12+ messages in thread
From: Harry Putnam @ 2009-09-24 16:25 UTC (permalink / raw
To: gentoo-user
Harry Putnam <reader@newsguy.com> writes:
> Mick <michaelkintzios@gmail.com> writes:
>
>> On Wednesday 23 September 2009, Willie Wong wrote:
>>> On Tue, Sep 22, 2009 at 04:37:15PM -0500, Penguin Lover Harry Putnam
>> squawked:
>>> > Can any one tell me how to copy with mouse (really the left mouse
>>> > button provided on the touchpad) but paste from keyboard while in text
>>> > (console) mode? Or using the touch pad thing somehow. I've tried
>>> > pressing both touchpad buttons at once to emulate middle mouse but it
>>> > has no effect.
>>>
>>> In console the copy-paste is provided by GPM. And I thought GPM paste
>>> is right mouse key, not middle key. And I am also pretty sure that GPM
>>> does not do third button emulation the way X does.
>>>
>>> I think a possibility is that you have plugged in and used a mouse
>>> with three buttons. This forced gpm into 3 button mode, so that the
>>> middle button becomes paste and right button is extend selection. Then
>>> you poor two-button touchpad has no more paste.
>>>
>>> To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
>>> to stick with 2-button mode.
>>
>> I am not running gpm to test; have you tried the obvious 'Insert', or Shift+I,
>> or Shift+Insert?
>
> None of those do what I'm after here.
> Someone answered that screen can do the kind of thing I talked about
> ... and yet it can.
^yes
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-09-24 16:30 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 21:37 [gentoo-user] [ot General Textmode q] Harry Putnam
2009-09-22 21:57 ` Alex Schuster
2009-09-22 23:08 ` [gentoo-user] " Grant Edwards
2009-09-23 1:56 ` Harry Putnam
2009-09-23 8:22 ` Willie Wong
2009-09-23 15:39 ` Paul Hartman
2009-09-22 22:25 ` [gentoo-user] " James Ausmus
2009-09-22 23:26 ` Willie Wong
2009-09-23 6:20 ` Mick
2009-09-24 11:38 ` Peter Humphrey
2009-09-24 14:00 ` [gentoo-user] " Harry Putnam
2009-09-24 16:25 ` Harry Putnam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox