9 More Discussions You Might Find Interesting
1. Solaris
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
2. Shell Programming and Scripting
This tool for access translate.google.com from terminal and English dictionary.
main mirror https://github.com/Anoncheg1/Command-line-translator
mirror Google translate from command line and some more features - Pastebin.com
requirements: bash, cURL, SpiderMonkey, forvo.com account for... (0 Replies)
Discussion started by: 654321
0 Replies
3. UNIX for Dummies Questions & Answers
I mainly use Max/MSP for my audio programming, but today I am working on a project that requires the use of shell. Is it possible to do this?
Retrieve the contents of the clipboard.
Send a keystroke to an application without loosing focus, for example, I want to initiate a paste command (with... (0 Replies)
Discussion started by: fhill2
0 Replies
4. Programming
hi,
I am new in the shell script, and c programming with linux. I am looking to pass the arguments in c program that should be executed by the shell script.
e.g.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv)
{ int i;
for (i=1;i<argc; i++)
{
... (2 Replies)
Discussion started by: sharlin
2 Replies
5. UNIX for Dummies Questions & Answers
hi all,
i am newbie to Unix scripting..
I am writing a script which will have a line of commands, which needs to be copied to clipboard.
Any ideas welcome..
Usage::
I am using the script in this way, The script will have some lines (like below)
export TERM=xterm; cd test_env; TMOUT=0
... (1 Reply)
Discussion started by: gkarthik.gk
1 Replies
6. Shell Programming and Scripting
Hello all,
I've done a bit of clipboard transformation scripting using xclip before, piping contents with " xclip -o -selection clipboard " to grep, sed, awk, then back into the clipboard with " xclip -i -selection clipboard " ... but I am not a fantastically skilled user of either of the three... (4 Replies)
Discussion started by: la2ar0
4 Replies
7. Shell Programming and Scripting
Hi people!
I'm a bit noob at sed so I ask you for some help :(
I'm trying to automatically translate some files of a program, which has some lines of this style:
$string = 'A text line';
For example in this line:
$string = 'The date entered: <strong>$a</strong> does not correspond... (2 Replies)
Discussion started by: pdmiguel
2 Replies
8. UNIX for Dummies Questions & Answers
This maybe the dumpiest question you've ever been asked..but i've been browsing, searching and understanding lots of information that i get from the internet..i'm confused that i might be in the wrong way in understanding it since i have to do a system that count and build up a statistics for a... (5 Replies)
Discussion started by: meggae
5 Replies
9. Shell Programming and Scripting
I have a shell script I want to write in perl, and I want to do the following in perl:
VAR=xdirect_`date +%Y-%b-%d`*
Any ideas how on how to do this? (1 Reply)
Discussion started by: junkmail426
1 Replies
DwtEndCopyFromClipboard(3Dwt) DwtEndCopyFromClipboard(3Dwt)
Name
DwtEndCopyFromClipboard - Notifies the cut and paste functions that the application has completed copying an item from the clipboard and
unlocks the clipboard.
Syntax
int DwtEndCopyFromClipboard(display, window)
Display *display;
Window window;
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.
Description
The DwtEndCopyFromClipboard function unlocks the clipboard when the application has copied all data from the clipboard. If the application
calls DwtStartCopyFromClipboard, it must call DwtEndCopyFromClipboard. These two functions lock and unlock the clipboard and allow the
application to copy data from the clipboard incrementally.
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 Also
DwtCopyFromClipboard(3Dwt), DwtStartCopyFromClipboard(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtEndCopyFromClipboard(3Dwt)