Command line Clipboard Access (CCA)

T The Command line Clipboard Access (CCA) programs are a set of shareware programs that allow the OS/2 user to access the OS/2 clipboard from the command line in a full screen or windowed OS/2 session.

These programs do not make any changes to the OS/2 INI files or create any additional files on your hard drives. To install them, just copy the two executable files to a directory in your OS/2 search path.

The access to the OS/2 clipboard is limited to ONE process at a time. Thus you need to make certain that no other program is accessing the clipboard when you run either program. Also, you need to wait until they have completed until you try to access the clipboard with another program.

The shareware version of these programs are fully functional, but they add an identification line to the clipboard text.

When ToClip puts text into the OS/2 clipboard, it first inserts the following line.


 * "CCA Registration removes this line"

When FClip2 gets text from the OS/2 clipboard, it appends the following line to the end of the text.


 * "CCA Registration removes this line"

The registered versions do not add the lines.


 * Program descriptions:

toclip.exe - puts text into the OS/2 clipboard via redirection or a pipe from the command line. If it is executed without any arguments, it assumes you are going to type the text and will accept text until you enter a control-Z and a newline. If you enter a text string as a command line arugment, the string will be copied to the clipboard. If the string contains blanks, you must enclose it in quotation marks. The quotation marks will be stripped before the text is put into the OS/2 clipboard.

toclip2.exe - performs the same function as toclip.exe, but it handles the new line chararacter pair differently. It may function better with some applications.

examples:

dir /b | toclip toclip < file toclip "This line will be put into the OS/2 clipboard"

fclip2.exe - gets text from the command OS/2 clipboard and routes it to stdout. Thus you can redirect or pipe the output of this utility.

examples:

fclip2 > file fclip2 | program