Problems with OS/2 Clipboard? CCA is the Definitive Solution
CCA is a set utilties that makes it easier to transfer data
to and from the OS/2 clipboard from the OS/2 command line. Programmer Don Hawkinson,
author of CCA, DH-Grep-PM,PMStripper, Pastry Box, and DH_ClipSave/2 teaches here
how to use CCA:
- need to be in the search path. I have a \bin directory that I use for
OS/2 programs that I want to run from the command line, and the CCA
programs are located in that directory.
Since the CCA programs DO NOT modify the WPS or the action of the OS/2
clipboard, there are no installation problems. Nor do they modify any of
the OS2*.INI files!
To get the directory information shown above into the OS/2 clipboard, I
used the following command.
dir *clip* | toclip
The output of DIR was piped into toclip and then toclip placed it into the
OS/2 clipboard. I then pasted the information into this message and edited
it to remove some of the unwanted text.
To get information from the OS/2 clipboard the following command will read
the clipboard and write it to the file output.
fclip2 > output
The utilities do not really supply any new functions, they just eliminate
some steps. You could duplicate their actions by using the OS/2 editor and
cut & paste.