Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » copy/paste to AIX clipboard
copy/paste to AIX clipboard [message #436839] Wed, 26 May 2004 06:34 Go to next message
Brian Kozitza is currently offline Brian KozitzaFriend
Messages: 20
Registered: July 2009
Junior Member
I am using M9 on aix/motif and I could not get copy and paste to/from
the aix clipboard to work. Is this supposed to work?
Re: copy/paste to AIX clipboard [message #436846 is a reply to message #436839] Tue, 25 May 2004 20:15 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Yes. Post your code and I will see if I can help you.

Also see:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet94.html

"Brian Kozitza" <kozitza@us.ibm.com> wrote in message
news:c9032k$b1q$1@eclipse.org...
> I am using M9 on aix/motif and I could not get copy and paste to/from
> the aix clipboard to work. Is this supposed to work?
>
Re: copy/paste to AIX clipboard [message #436954 is a reply to message #436846] Wed, 26 May 2004 16:30 Go to previous messageGo to next message
Brian Kozitza is currently offline Brian KozitzaFriend
Messages: 20
Registered: July 2009
Junior Member
Veronika Irvine wrote:
> Yes. Post your code and I will see if I can help you.
>
> Also see:
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet94.html
>
> "Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> news:c9032k$b1q$1@eclipse.org...
>
>>I am using M9 on aix/motif and I could not get copy and paste to/from
>>the aix clipboard to work. Is this supposed to work?
>>
>
>
>

I guess my question was not clear. On Windows I can highlight text in
an swt widget. Then do a copy (CTRL-C) and then do a paste (CTRL-V)
outside of eclipse (like in an external editor) and it works, the data I
highlighted gets copied. It also works going the other way. However,
on aix the function does not work. I suspect that it has something to
do with my key bindings and the fact that aix has its own clipboard. I
have seen other applications where this copy/paste action works and is
very useful.

So is this a function that is suppose to work in the aix/motif version?
Or do I need to implement/enable something to get it to work.

From reading a previous post I found some .Xdefaults settings that seem
to indicate that this should work. But it only seems to work with
copy/paste between widgets inside eclipse.

Here is what I added to my .Xdefaults

! Motif fixes for cut and paste
*XmText.translations: #override\n\
Ctrl<Key>c: copy-clipboard()\n\
Ctrl<Key>v: paste-clipboard()\n\
Ctrl<Key>x: cut-clipboard()\n
*XmTextField.translations: #override\n\
Ctrl<Key>c: copy-clipboard()\n\
Ctrl<Key>v: paste-clipboard()\n\
Ctrl<Key>x: cut-clipboard()\n
Re: copy/paste to AIX clipboard [message #436987 is a reply to message #436954] Thu, 27 May 2004 14:27 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
It should just work. Have you tried CTRL+Insert and SHIFT+Insert?

Please give exact steps of what you are doing including which application
you are pasting into.

"Brian Kozitza" <kozitza@us.ibm.com> wrote in message
news:c92g6t$p4r$1@eclipse.org...
> Veronika Irvine wrote:
> > Yes. Post your code and I will see if I can help you.
> >
> > Also see:
> >
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet94.html
> >
> > "Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> > news:c9032k$b1q$1@eclipse.org...
> >
> >>I am using M9 on aix/motif and I could not get copy and paste to/from
> >>the aix clipboard to work. Is this supposed to work?
> >>
> >
> >
> >
>
> I guess my question was not clear. On Windows I can highlight text in
> an swt widget. Then do a copy (CTRL-C) and then do a paste (CTRL-V)
> outside of eclipse (like in an external editor) and it works, the data I
> highlighted gets copied. It also works going the other way. However,
> on aix the function does not work. I suspect that it has something to
> do with my key bindings and the fact that aix has its own clipboard. I
> have seen other applications where this copy/paste action works and is
> very useful.
>
> So is this a function that is suppose to work in the aix/motif version?
> Or do I need to implement/enable something to get it to work.
>
> From reading a previous post I found some .Xdefaults settings that seem
> to indicate that this should work. But it only seems to work with
> copy/paste between widgets inside eclipse.
>
> Here is what I added to my .Xdefaults
>
> ! Motif fixes for cut and paste
> *XmText.translations: #override\n\
> Ctrl<Key>c: copy-clipboard()\n\
> Ctrl<Key>v: paste-clipboard()\n\
> Ctrl<Key>x: cut-clipboard()\n
> *XmTextField.translations: #override\n\
> Ctrl<Key>c: copy-clipboard()\n\
> Ctrl<Key>v: paste-clipboard()\n\
> Ctrl<Key>x: cut-clipboard()\n
>
Re: copy/paste to AIX clipboard [message #437390 is a reply to message #436987] Thu, 03 June 2004 15:50 Go to previous messageGo to next message
Brian Kozitza is currently offline Brian KozitzaFriend
Messages: 20
Registered: July 2009
Junior Member
with CTRL+c and CTRL+v (or CTRL+Insert and SHIFT+insert) I can copy and
paste inside the eclipse application. What I would like to be able to
do is to copy from something in eclipse and paste it to an external
program, aixterm in my case. For aixterm the past from the clipboard
is done by pressing the middle mouse button. However the copy done
inside eclipse does not put the data on that clipboard so that it can be
pasted in aixterm.


Veronika Irvine wrote:
> It should just work. Have you tried CTRL+Insert and SHIFT+Insert?
>
> Please give exact steps of what you are doing including which application
> you are pasting into.
>
> "Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> news:c92g6t$p4r$1@eclipse.org...
>
>>Veronika Irvine wrote:
>>
>>>Yes. Post your code and I will see if I can help you.
>>>
>>>Also see:
>>>
>
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet94.html
>
>>>"Brian Kozitza" <kozitza@us.ibm.com> wrote in message
>>>news:c9032k$b1q$1@eclipse.org...
>>>
>>>
>>>>I am using M9 on aix/motif and I could not get copy and paste to/from
>>>>the aix clipboard to work. Is this supposed to work?
>>>>
>>>
>>>
>>>
>>I guess my question was not clear. On Windows I can highlight text in
>>an swt widget. Then do a copy (CTRL-C) and then do a paste (CTRL-V)
>>outside of eclipse (like in an external editor) and it works, the data I
>>highlighted gets copied. It also works going the other way. However,
>>on aix the function does not work. I suspect that it has something to
>>do with my key bindings and the fact that aix has its own clipboard. I
>>have seen other applications where this copy/paste action works and is
>>very useful.
>>
>>So is this a function that is suppose to work in the aix/motif version?
>> Or do I need to implement/enable something to get it to work.
>>
>> From reading a previous post I found some .Xdefaults settings that seem
>>to indicate that this should work. But it only seems to work with
>>copy/paste between widgets inside eclipse.
>>
>>Here is what I added to my .Xdefaults
>>
>>! Motif fixes for cut and paste
>>*XmText.translations: #override\n\
>>Ctrl<Key>c: copy-clipboard()\n\
>>Ctrl<Key>v: paste-clipboard()\n\
>>Ctrl<Key>x: cut-clipboard()\n
>>*XmTextField.translations: #override\n\
>>Ctrl<Key>c: copy-clipboard()\n\
>>Ctrl<Key>v: paste-clipboard()\n\
>>Ctrl<Key>x: cut-clipboard()\n
>>
>
>
>
Re: copy/paste to AIX clipboard [message #437404 is a reply to message #437390] Thu, 03 June 2004 20:00 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
That is correct.

See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=6184
https://bugs.eclipse.org/bugs/show_bug.cgi?id=26878

Not implemented in Eclipse 3.0.

"Brian Kozitza" <kozitza@us.ibm.com> wrote in message
news:c9ngmd$kn4$1@eclipse.org...
> with CTRL+c and CTRL+v (or CTRL+Insert and SHIFT+insert) I can copy and
> paste inside the eclipse application. What I would like to be able to
> do is to copy from something in eclipse and paste it to an external
> program, aixterm in my case. For aixterm the past from the clipboard
> is done by pressing the middle mouse button. However the copy done
> inside eclipse does not put the data on that clipboard so that it can be
> pasted in aixterm.
>
>
> Veronika Irvine wrote:
> > It should just work. Have you tried CTRL+Insert and SHIFT+Insert?
> >
> > Please give exact steps of what you are doing including which
application
> > you are pasting into.
> >
> > "Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> > news:c92g6t$p4r$1@eclipse.org...
> >
> >>Veronika Irvine wrote:
> >>
> >>>Yes. Post your code and I will see if I can help you.
> >>>
> >>>Also see:
> >>>
> >
> >
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet94.html
> >
> >>>"Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> >>>news:c9032k$b1q$1@eclipse.org...
> >>>
> >>>
> >>>>I am using M9 on aix/motif and I could not get copy and paste to/from
> >>>>the aix clipboard to work. Is this supposed to work?
> >>>>
> >>>
> >>>
> >>>
> >>I guess my question was not clear. On Windows I can highlight text in
> >>an swt widget. Then do a copy (CTRL-C) and then do a paste (CTRL-V)
> >>outside of eclipse (like in an external editor) and it works, the data I
> >>highlighted gets copied. It also works going the other way. However,
> >>on aix the function does not work. I suspect that it has something to
> >>do with my key bindings and the fact that aix has its own clipboard. I
> >>have seen other applications where this copy/paste action works and is
> >>very useful.
> >>
> >>So is this a function that is suppose to work in the aix/motif version?
> >> Or do I need to implement/enable something to get it to work.
> >>
> >> From reading a previous post I found some .Xdefaults settings that seem
> >>to indicate that this should work. But it only seems to work with
> >>copy/paste between widgets inside eclipse.
> >>
> >>Here is what I added to my .Xdefaults
> >>
> >>! Motif fixes for cut and paste
> >>*XmText.translations: #override\n\
> >>Ctrl<Key>c: copy-clipboard()\n\
> >>Ctrl<Key>v: paste-clipboard()\n\
> >>Ctrl<Key>x: cut-clipboard()\n
> >>*XmTextField.translations: #override\n\
> >>Ctrl<Key>c: copy-clipboard()\n\
> >>Ctrl<Key>v: paste-clipboard()\n\
> >>Ctrl<Key>x: cut-clipboard()\n
> >>
> >
> >
> >
Re: copy/paste to AIX clipboard [message #437405 is a reply to message #437404] Thu, 03 June 2004 20:07 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Note that SHIFT+Insert and CTRL+Insert also work in an aixterm. The middle
mouse button pastes the selection clipboard contents and SHIFT+Insert pastes
the primary clipboard contents - the clipboard supported by SWT. I just
tested this on our AIX machine to make sure I was not lying and it worked
for me.

"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:c9nvic$89k$1@eclipse.org...
> That is correct.
>
> See:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=6184
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=26878
>
> Not implemented in Eclipse 3.0.
>
> "Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> news:c9ngmd$kn4$1@eclipse.org...
> > with CTRL+c and CTRL+v (or CTRL+Insert and SHIFT+insert) I can copy and
> > paste inside the eclipse application. What I would like to be able to
> > do is to copy from something in eclipse and paste it to an external
> > program, aixterm in my case. For aixterm the past from the clipboard
> > is done by pressing the middle mouse button. However the copy done
> > inside eclipse does not put the data on that clipboard so that it can be
> > pasted in aixterm.
> >
> >
> > Veronika Irvine wrote:
> > > It should just work. Have you tried CTRL+Insert and SHIFT+Insert?
> > >
> > > Please give exact steps of what you are doing including which
> application
> > > you are pasting into.
> > >
> > > "Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> > > news:c92g6t$p4r$1@eclipse.org...
> > >
> > >>Veronika Irvine wrote:
> > >>
> > >>>Yes. Post your code and I will see if I can help you.
> > >>>
> > >>>Also see:
> > >>>
> > >
> > >
>
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet94.html
> > >
> > >>>"Brian Kozitza" <kozitza@us.ibm.com> wrote in message
> > >>>news:c9032k$b1q$1@eclipse.org...
> > >>>
> > >>>
> > >>>>I am using M9 on aix/motif and I could not get copy and paste
to/from
> > >>>>the aix clipboard to work. Is this supposed to work?
> > >>>>
> > >>>
> > >>>
> > >>>
> > >>I guess my question was not clear. On Windows I can highlight text in
> > >>an swt widget. Then do a copy (CTRL-C) and then do a paste (CTRL-V)
> > >>outside of eclipse (like in an external editor) and it works, the data
I
> > >>highlighted gets copied. It also works going the other way. However,
> > >>on aix the function does not work. I suspect that it has something to
> > >>do with my key bindings and the fact that aix has its own clipboard.
I
> > >>have seen other applications where this copy/paste action works and is
> > >>very useful.
> > >>
> > >>So is this a function that is suppose to work in the aix/motif
version?
> > >> Or do I need to implement/enable something to get it to work.
> > >>
> > >> From reading a previous post I found some .Xdefaults settings that
seem
> > >>to indicate that this should work. But it only seems to work with
> > >>copy/paste between widgets inside eclipse.
> > >>
> > >>Here is what I added to my .Xdefaults
> > >>
> > >>! Motif fixes for cut and paste
> > >>*XmText.translations: #override\n\
> > >>Ctrl<Key>c: copy-clipboard()\n\
> > >>Ctrl<Key>v: paste-clipboard()\n\
> > >>Ctrl<Key>x: cut-clipboard()\n
> > >>*XmTextField.translations: #override\n\
> > >>Ctrl<Key>c: copy-clipboard()\n\
> > >>Ctrl<Key>v: paste-clipboard()\n\
> > >>Ctrl<Key>x: cut-clipboard()\n
> > >>
> > >
> > >
> > >
>
>
Previous Topic:Embedding Internet Explorer, problems with HTTP post
Next Topic:UI Freezing with Unhandled Exception(?)
Goto Forum:
  


Current Time: Fri Apr 26 07:43:44 GMT 2024

Powered by FUDForum. Page generated in 0.03679 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top