Tool for send/recv clipboard data over tcp/ip for: AOS3, AOS4, AROS, MORPHOS and WinXP.

Date 2010/9/21 20:56:27 | Topic: Software News

Clipo is a tool that works over tcp/ip and allows users to send and receive clipboard data between the following OSes: AOS3, AOS4, MORPHOS, AROS and WinXP.


I start to work on it 6 years ago, when i have a1200/aos3.9 and winxp, and in a way to make life easer when i develop , i write such little tool which do that work for me.

Now i release a new version with native aos4 binary, what can help many developers to work together with all those cross-compilers which they setup on win32 and for all the users who works more than with one computer at time.

So, how it works ?

You just select any part of text data, copy it to clipboard and press "alt+s". The data automatically sends over tcp/ip to the other computers clipboard (which address you setup when running the programm before) and computer will have that data in clipboard already.

To be more understanable, lets take usuall situation. You have 2 computers: one is amiga with AOS4, and other one, are x86 with WinXP. You run on aos4 "clipo" binary, in which you setup local address / local port and remote address /remote port. And you run "clipo" binary on WinXP, which you also setup in correct way. Now, you copy what you want on any machine to clipboard and press "alt+s". And "clipo" send the data from one clipboard, to another. You not need to do anything else. In more easy words: you press on WinXP "alt+s", and your AOS4 clipboard have that data, which have WinXp clipboard. And visa-versa.

At moment clipo have support of those OSes / Clipboards:

Aos3.x (tested on 3.9bb2)
Aos4.x (tested on 4.1 update 2)
Morphos (not native ! use 68k version at moment ! tested on 2.3beta)
Aros-i386 (tested on 2009 build of aros)
Windows (mainly tested on winxp, but should work with any win32 system).
WinUAE,Amithlon,UAE,etc with aos3.x binary.

You can use of course or 2 aos4 machines, or 2 aros machines, or does not matter which ones becuase only matter its to run need it binary, and setup right tcp/ip addresses and ports.

As you can see, for every OS i done native binary , and while for aos3/aos4/aros/mos it was almost the same (with some modifiactions still), for winxp it was of course completely different because of different clipboard structure and os api itself. For the amigaos and amiga-related oses binary works as commoditie, and can be killed/stopped via "exchange", or, if you run it from command line, by classic ctrl+c break. For the WinXP, binary are resident , and you can see it as "process" in task manager and can kill it when you wish.

On all the oses programm use 2 hardcoded keys combo:

alt+s - send data
alt+q - exit/unload


Usage of programm itself are easy. For WinXP you have "clipo.ini" Where you setup ips and ports. For other oses, the syntax is:

shell:> clipo --clip_loop <aos_ip> 100 <morphos_ip> 100

or if you want to run it in the backgorund only (placed in C: and run from User-Startup or similar):

run <>NIL: clipo --clip_loop <aos_ip> 100 <morphos_ip> 100

--clip_loop is the main argument which is used right now.

Other Clipo arguements:

9/0.RAM:clipo/os4> clipo --help

syntax: [options] local_ip port <remote_ip> <port> <filename>

options:

--clip_recv recieve data to clipboard immediately
--clip_send send data from clipboard immediately
--clip_loop send/recieve data to/from clip in loop
--data_recv recieve data to file
--data_send send file
--info some info

9/0.RAM:clipo/os4>

Some functions at moment are unstable and unoptimised, but --clip_loop works and has been widely tested.

Still to be implemented:

1. support unix clipboards (x-window)
2. support macos clipboards
2. add options for your own hotkeys (to allow use with RDesktop for example) and just to make it more user-friendly
3. character conversion (to make possible transfer language specific stuff)
4. tested and fix other argvs (which is easy, but not so usable)
5. make a native morphos binary (just because of have everything native).

If you have any suggestion, questions or bug reports, then write to me at kas1e@yandex.ru

Get it from os4depot ! (for now in upload query)



This article comes from The Amigans website
https://www.amigans.net

The URL for this story is:
https://www.amigans.net/modules/news/article.php?storyid=1233