Help me please,
I wanna know if it's possible to define in windows the option when somebody starts a telnetsession to a unix machine it automatically logs in with the username and password of this user. Or if there is a possibility to set the username and password to an Icon on the users... (3 Replies)
Could someone show me how to copy the contents of a file to the clipboard automatically without manually selecting its contents? I just want to press the "Paste Key" to show the results. I wish to use this in a ksh script.
I'm using Solaris.
Thanks! (5 Replies)
I will preface this question with it has been a long time since I worked on Solaris and even then I wasn't that good :-)
I have a Solaris server at my fingertips and I would like to test running multiple instances of an open source EMR (Java Swing application) from the server over the WAN. ... (1 Reply)
Hope someone can help. I have 5 Unix Tru64 ver 4.0/5.1B, boxes and I'm trying to connect and run CDE session from my PC. I have tried using Reflections, and Xming with no luck. Can someone tell me what exactly needs to be running on the Tru64 boxes in order for this to work. Along with what or how... (4 Replies)
Hi,
I am trying to figure out how to copy the contents of a file to the clipboard, then paste into a command. i.e copy contents of file /path/filename.txt to <command> <paste text>
Hope that makes sense. Basically tryting to copy the text for use in a command without having to open the... (8 Replies)
Hi,
I can paste what is in the CLIPBOARD but I can't get xterm copy. and in fact I think I'm not able to select well with the cursor (I don't want to use the mouse)...
here is my ~/.Xresources file :
XTerm*highlightSelection: true
XTerm*VT100.translations: #override \n\
None ... (5 Replies)
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Hi,
Some of my backups were running slow, so i decided to use iperf to check network throughput. Between 2 windows systems (on the same switch) i got about 1-2MB. However, when i tried to copy some files from the on windows server to the other i got around 10-12MB. This is over a 1Gig link.
... (1 Reply)
I'm searching a command to copy text to the clipboard.
xclip and xsel are commands which are available on several kind Linux and Unix OS, but is unfortenuately not available on solaris 10.
REF : xpt.sourceforge.net/techdocs/nix/x/general/xwin12-Xclipboard/single/
clipboard of openSolaris is... (9 Replies)
Discussion started by: droopy4u
9 Replies
LEARN ABOUT ULTRIX
dwtstartcopyfromclipboard
DwtStartCopyFromClipboard(3Dwt)DwtStartCopyFromClipboard(3Dwt)Name
DwtStartCopyFromClipboard - Indicates that the application is ready to start copying data from the clipboard and locks the clipboard.
Syntax
int DwtStartCopyFromClipboard(display, window, time)
Display *display;
Window window;
Time time;
Arguments
display Specifies a pointer to the Display structure that was returned in a previous call to XOpenDisplay. For information on XOpenDis-
play and the Display structure, see the Guide to the Xlib Library: C Language Binding.
window Specifies the window ID that relates the application window to the clipboard. The same application instance should pass the same
window ID to each clipboard function that it calls.
time Specifies the timestamping of the event that triggered the copy.
Description
The DwtStartCopyFromClipboard function notifies the cut and paste functions that the application is ready to start copying data from the
clipboard. DwtStartCopyFromClipboard locks the clipboard and remains locked until you call DwtEndCopyFromClipboard.
After calling DwtStartCopyFromClipboard, an application can make multiple calls to DwtCopyFromClipboard requesting data in one or several
formats. You specify the format by setting the format_name argument to DwtCopyFromClipboard. Each call to DwtCopyFromClipboard in a spec-
ified format results in data being incrementally copied from the clipboard until all data with the specified format has been copied. When
all data in a specified format has been successfully copied, DwtCopyFromClipboard returns ClipboardSuccess. When more data remains to be
copied in the specified format, DwtCopyFromClipboard returns ClipboardTruncate. An application can copy data in as many formats as desired
before calling DwtEndCopyFromClipboard.
It is recommended that any calls to inquire routines needed by the application be made between the call to DwtStartCopyFromClipboard and
the call to DwtEndCopyFromClipboard. That way, the application does not need to call DwtClipboardLock and DwtClipboardUnlock.
To perform cut and paste operations between your application and an application using the ICCCM clipboard selection mechanism, you must use
DwtStartCopyToClipboard and provide a timestamping value for time, not a CurrentTime value. Use of the value CurrentTime for time may
cause the ICCCM interface to fail.
Applications do not need to use DwtStartCopyFromClipboard and DwtEndCopyFromClipboard, in which case DwtCopyFromClipboard works as docu-
mented. However, using these two functions allows incremental copying from the clipboard and ensures ICCCM compatibility.
Return Values
This function returns one of these status return constants:
ClipboardSuccess The function is success-
ful.
ClipboardLocked The function failed
because the clipboard was
locked by another appli-
cation. The application
can continue to call the
function with the same
parameters until the
clipboard is unlocked.
Optionally, the applica-
tion can ask if the user
wants to keep trying or
to give up on the opera-
tion.
See AlsoDwtCopyFromClipboard(3Dwt), DwtEndCopyFromClipboard(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtStartCopyFromClipboard(3Dwt)