Operating System - HP-UX
1846744 Members
5573 Online
110256 Solutions
New Discussion

Re: Copy and paste using CDE

 
SOLVED
Go to solution
Russell Gould
Advisor

Copy and paste using CDE

Hi all,

When we were using VUE, I could highlight a line of text from a window with my left button, and then use right click to retrieve the output. This would be extremely useful.

Now we are on CDE. You can highlight some text with my left button and click the middle button in a different window, which works fine. However, if you highlight some text, and then say - vi a file in the same window (ie - the highlighted text is no longer on the screen), middle click - it does not retreive the text.

I really don't want to be having to right click and, select edit blah blah if I can help it.

Any ideas ?

We are running HPUX 11.00 and CDE which use dtterm windows.

Thanks in advance.
It's not a problem, it's an opportunity !
8 REPLIES 8
Peter Kloetgen
Esteemed Contributor

Re: Copy and paste using CDE

Hi Russel,

you can simply select the text to be remembered, and then use both mouse buttons to put it anywhere or the middle mouse button if you have a three button mouse.

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
MANOJ SRIVASTAVA
Honored Contributor

Re: Copy and paste using CDE

Hi Russel

If you are copying a selected data from the buffer in vi mode then you need to do like this :

1. Highlight ie select the data.
2.vi a file name
3. go to insert mode ie press i
4. presee the center button , this will apstet he data.


Manoj Srivastava
Jeff Schussele
Honored Contributor

Re: Copy and paste using CDE

Hi Russell,

When vi loads it clears the screen - selected text & all. The way I get around this is to use an intermediary window to drop the selected text into. Then I can retrieve it from there, whenever.
I believe you run into the same thing when the screen scrolls a certain # of lines as well - you'll lose the selected text.
AFAIK, there's no way around the screen clearing.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sridhar Bhaskarla
Honored Contributor

Re: Copy and paste using CDE

Hi,

You may like xcb.

http://hpux.cs.utah.edu/hppd/hpux/X11/Misc/xcb-2.3i/

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
V. V. Ravi Kumar_1
Respected Contributor

Re: Copy and paste using CDE

hi,

select the text, hold both right and left buttons then place it whreever u want.

regds
Never Say No
Russell Gould
Advisor

Re: Copy and paste using CDE

Thanks chaps but I am saying that this DOES NOT WORK ...

You can highlight some text with the left button and click the middle button in a different window, which works fine. However, if you highlight some text, and then say - vi a file in the same window (ie - THE HIGHLIGHTED TEXT IS NO LONGER ON THE SCREEN)
, middle click - it does not retreive the text

or is it just me ???
It's not a problem, it's an opportunity !
Jeff Schussele
Honored Contributor

Re: Copy and paste using CDE

I should clarify.....
Drop the text in the other window BEFORE you open the vi session.
Else you could scroll down just far enough to get the selected text out of the window before you start vi, as it will only clear the current screen.

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Darrell Allen
Honored Contributor
Solution

Re: Copy and paste using CDE

Hi Russell,

That bugs me too. However, if you choose to use dtterm sessions instead of hpterm, you get a menu bar with an Edit option. This contains a drop down menu with copy and paste options. You can also use + to copy and + to paste.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)