11-24-2008
Quote:
Originally Posted by
herbhopkins
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!
Hi,
I tried the same.But it did not work
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 CENTOS
glutmousefunc
UNTITLED
LOCAL UNTITLED
NAME
glutMouseFunc -- Sets the mouse-button callback for the current window.
LIBRARY
OpenGLUT - input
SYNOPSIS
#include <openglut.h>
void
glutMouseFunc(void( *callback )( int button, int state, int x, int y ));
PARAMETERS
callback Client hook for mouse-buttons.
DESCRIPTION
Whenever a mouse button is pressed or released in an OpenGLUT window, OpenGLUT checks if that window has a mouse-button (Mouse) callback reg-
istered. If so, OpenGLUT gives the event to the handler. button is the button number, starting from 0. state is GLUT_UP or
GLUT_DOWN to indicate the button's new state. The other parameters are the mouse coordinates.
Mouse wheel motion can be reported as buttons. If you do not request otherwise, a wheel spun forward will act like a button clicking down,
immediately followed by clicking up. Spinning the same wheel backward will act like a different button clicking. Mouse wheel pseudo-buttons
are added after all real buttons.
While the button is held and the mouse is dragged, you receive mouse-motion events (glutMotionFunc()), even if the mouse is dragged out of
the window.
This callback is bound to the current window .
CAVEATS
Reporting the wheel as buttons is actually inherited from X. freeglut added code to support this on WIN32. OpenGLUT inherited that support
from freeglut.
Old GLUT defines the symbols GLUT_LEFT_BUTTON, GLUT_RIGHT_BUTTON, and GLUT_MIDDLE_BUTTON. However, mice can have more than 3 buttons,
so these symbols are deprecated.
Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.
SEE ALSO
glutMotionFunc(3) glutPassiveMotionFunc(3) glutMouseWheelFunc(3)
Epoch