Sponsored Content
Full Discussion: pbpaste
Operating Systems OS X (Apple) pbpaste Post 302590295 by Scott on Sunday 15th of January 2012 03:07:20 PM
Old 01-15-2012
I can't reproduce your problem.

Can you give some details about what you put into the clipboard, and how?

Did you simply type pbpaste at the command line? Which command did you use, exactly?

Thanks.
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

pbpaste and grep with Mac X11

Hello, Here is what I am trying to do: 1) Copy a string to the pasteboard using Command-C 2) Search for the string in a file in X11. Command-C pbaste | grep - filname (does NOT work) What is the correct syntax? Thanks! (4 Replies)
Discussion started by: palex
4 Replies

2. UNIX for Dummies Questions & Answers

pbpaste to application in terminal

Is it possible to execute a pbpaste command to an application or current application in focus? Thanks (0 Replies)
Discussion started by: fhill2
0 Replies

3. OS X (Apple)

Piping to grep with pbpaste

cat file 1 aaa 2 bbb 3 ccc 4 ddd In TextEdit, I then copy the characters “ccc” to the clipboard. The problem is that the following command gives no output: bash-3.2$ pbpaste | grep - file Desired output: 3 ccc What should the syntax be for that command? I am using MacOS El... (3 Replies)
Discussion started by: palex
3 Replies
XmClipboardLock(3X)													       XmClipboardLock(3X)

NAME
XmClipboardLock - A clipboard function that locks the clipboard SYNOPSIS
#include <Xm/Xm.h> #include <Xm/CutPaste.h> int XmClipboardLock (display, window) Display * display; Window window; DESCRIPTION
XmClipboardLock locks the clipboard from access by another application until XmClipboardUnlock is called. All clipboard functions lock and unlock the clipboard to prevent simultaneous access. This function allows the application to keep the clipboard data from changing between calls to Inquire and other clipboard functions. The application does not need to lock the clipboard between calls to XmClipboardStartCopy and XmClipboardEndCopy or to XmClipboardStartRetrieve and XmClipboardEndRetrieve. If the clipboard is already locked by another application, XmClipboardLock returns an error status. Multiple calls to this function by the same application increases the lock level. Specifies a pointer to the Display structure that was returned in a previous call to XOpenDis- play or XtDisplay. 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
XmClipboardEndCopy(3X), XmClipboardEndRetrieve(3X), XmClipboardStartCopy(3X), XmClipboardStartRetrieve(3X), XmClipboardUnlock(3X) XmClipboardLock(3X)
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy