clipcast -- a multiplatform network clipboard tool
clipcast -hnpw -d file -P password -l localip:port remoteip:port ...
clipcast links the cut-and-paste functions of two or more workstations together. Start clipcast on each workstation with the name of the other workstations(s) as argument. When you paste something into the clipcast icon, it is immediately transferred to the clipboard of all connected workstations.
You can optionally give a password to encrypt the transferred data. This is highly recommended! The following options are available:
- Usage message
- -d 'file'
Display debug output to file. file may be '-' for stderr. -l 'ip:port' Listen on local IP and port combination. The ip part can be empty, clipcast then listens on all local interfaces. Default listens on port 3274 on all interfaces (-l :3274).
- Do not listen on any interface.
- Read password from stdin. For security reasons this is the preferred
method to feed a passwort into clipcast.
- -P 'password'
- Read password from the command line. This method is deprecated, because every local user can examine the password in the process list.
- Integrate into windowing system.
Windows: Show the clipcast icon in the Taskbar Notification Area (left of the clock) instead of on the desktop.
Native X11: none
If you neither give -p or -P, a default password is chosen. It is sensible to assume that every person knows this password.
You want to connect the clipboards between computer A which has the IP 10.2.0.11 and computer B which has 10.2.0.12. The password you choose is 'hk78s./h'.
On computer A you type echo hk78s./h|clipcast -p 10.2.0.12 and on B you type echo hk78s./h|clipcast -p 10.2.0.11.
On each desktop appears a tiny window with the clipcast icon.
You can now paste test into the icon on A and this text immediately appears in the clipboard of B. And vice versa.
For maximum security you will need the OpenSSL crypto library, if you build clipcast for yourself. The windows binary already includes OpenSSL.
Clipcast exits 0 on success, and 1 if an error ocurrs.
There is a Sourceforge project page at http://sourceforge.net/projects/clipcast
There are several other programs available, that perform a similar task.
If you want to use the -d option, it should be the first option.
KDE regularly polls the X clipboard. If clipcast is called with the -d option, the logfile fills up quickly.
You cannot close the X11 window. Use the command xkill instead.
Clipcast is copyright (c) 2004-2005 Derik van Zuetphen <[email@example.com]>. All rights reserved.