11-12-2008
Copy and Paste from Unix to Windows
Hi,
I am not very experienced with Unix, but have been successful in copying and pasting from Unix to Windows from a VNC session:
1) Highlight the text you want to copy by holding down the left mouse button and dragging, just like in Windows. This copies it to the Windows clipboard.
2) Go to your Windows window and paste it from the clipboard as usual.
By the way, to paste it into the Unix window, put your cursor where you want it to go, then click the middle mouse button.
Magic!
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
One of the things that I have learned to take for granted in the Win32 world is the cut, copy and paste hotkeys of ^X, ^C and ^V.
I use these keys all the time under Win32 to copy and paste information from one GUI into another GUI.
My question is, does X have a similiar standard?
... (4 Replies)
Discussion started by: auswipe
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all!
How do I cut, copy and paste under unix??? (2 Replies)
Discussion started by: aitor314
2 Replies
3. Linux
hi,
I am running a VNCserver on my Fedora VMWare virtual machine. I make a VNCViewer connection to that from my Windows XP box. Can I have copy, paste functionality from Fedora to Windows (2 Replies)
Discussion started by: rakeshgupta
2 Replies
4. Shell Programming and Scripting
Can i search in a file for more than one string at a time? And copy the next string after that and paste it in column style? Is it possible? Thanks! (4 Replies)
Discussion started by: kingpeejay
4 Replies
5. Shell Programming and Scripting
Hi everybody,
I have two XML files.
I am working on a script that could copy and paste the contents of the first xml file to the desired location in the second xml file.
Here is my first XML file.
This is the second XML file.
Finaly, I wnat to obtain something like that :
... (2 Replies)
Discussion started by: lsaas
2 Replies
6. Shell Programming and Scripting
Hello,
I have this path and file:
/dir/dir/dir/dir/dir/dir/dir/dir/dir/THIS_SPOT/fle.txt
I want to end up with:
/dir/dir/dir/dir/dir/dir/dir/dir/dir/THIS_SPOT/fle.txtTHIS_SPOT
Take the dir after the 10th slash, add a tab at the end and paste the dir it copied.
Thanks (4 Replies)
Discussion started by: crowman
4 Replies
7. UNIX for Dummies Questions & Answers
I'm having a problem copy/pasting from a txt file in windows to vi. What happens is I copy a chunk of text, go to the putty terminal, go into insert mode, and right click, and it will stop pasting at a random point and freeze up. Nothing I do gets out of it.
This only happens on my account... (1 Reply)
Discussion started by: solidarity
1 Replies
8. Shell Programming and Scripting
Hello,
I am quite new to shell scripting so don't know all the tools available. What I'm trying to do is open a file optimal.txt search for objectiveValue and copy the number in quotes next to it.
e.g.
...
solutionName="incumbent"
solutionIndex="-1"
objectiveValue="13246"
... (6 Replies)
Discussion started by: StephanR
6 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
i have a really strange copy paste problem. When I write some loops in an editor for example:
for j in 1 2 3
do
echo "$j"
done
and I want to paste it to the shell, the result in the shell is:
for j in 1 2 3; do e;
other commands work fine and if a copy paste... (4 Replies)
Discussion started by: creamcheese
4 Replies
10. Shell Programming and Scripting
I need to copy from specified lines and paste the data into several other lines.
XX123450008 xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x
XX123451895 xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x xx.x
......
XX123452012 xx.x xx.x xx.x xx.x xx.x xx.x xx.x... (13 Replies)
Discussion started by: ncwxpanther
13 Replies
LEARN ABOUT OSF1
xmclipboardendretrieve
XmClipboardEndRetrieve(3X) XmClipboardEndRetrieve(3X)
NAME
XmClipboardEndRetrieve - A clipboard function that ends a copy from the clipboard
SYNOPSIS
#include <Xm/Xm.h> #include <Xm/CutPaste.h>
int XmClipboardEndRetrieve (display, window)
Display * display;
Window window;
DESCRIPTION
XmClipboardEndRetrieve suspends copying data incrementally from the clipboard. It tells the clipboard routines that the application is
through copying an item from the clipboard. Until this function is called, data items can be retrieved incrementally from the clipboard by
calling XmClipboardRetrieve. Specifies a pointer to the Display structure that was returned in a previous call to XOpenDisplay or XtDis-
play. Specifies a widget's window ID that relates the application window to the clipboard. The widget's window ID can be obtained by
using XtWindow. The same application instance should pass the same window ID to each of the clipboard functions that it calls.
RETURN VALUE
The function is successful. The function failed because the clipboard was locked by another application. The application can continue to
call the function again with the same parameters until the lock goes away. This gives the application the opportunity to ask if the user
wants to keep trying or to give up on the operation.
SEE ALSO
XmClipboardRetrieve(3X), XmClipboardStartCopy(3X), XmClipboardStartRetrieve(3X)
XmClipboardEndRetrieve(3X)