AminetAminet
Search:
84510 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/ClipRW.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Two CLI programs to display & write text from/to any clipboard unit.
Author:Jody Tierney
Uploader:102673 1743 compuserve com (Gregory Donner)
Type:util/cli
Requires:WB 2.04 or higher
Architecture:m68k-amigaos
Date:1996-05-17
Download:http://aminet.net/util/cli/ClipRW.lha - View contents
Readme:http://aminet.net/util/cli/ClipRW.readme
Downloads:558

ClipRead
-======-
  A CLI program to display the text in any clipboard unit.

  Usage:  ClipRead [U=UNIT <n>] [LF=LFATEND]

          - UNIT <n> - Where <n> is the clipboard unit (0-255) to read.
                       Defaults to PRIMARY_CLIP (currently 0).

          - LFATEND  - Supply a linefeed ($0A) if the string doesn't end with
                       one.  By default, the string is printed exactly as it
                       exists in the clipboard (i.e. it may or may not end
                       with a linefeed).

ClipWrite
-=======-
  A CLI program to write text to any clipboard unit.

  Usage:  ClipWrite [U=UNIT <n>] [NP=NOPARSE] [TEXT] <text>

    - UNIT <n> - Where <n> is the clipboard unit (0-255) to write to.
                 Defaults to PRIMARY_CLIP (currently 0).

    - NOPARSE  - Ignore any format commands (see below) in the text.

    - <text>   - The text to store in the clipboard.  The text may contain
                special format commands, which begin with a backslash ("\"),
                listed below.

      - Text format commands:
        \t     A tab (ASCII 9).
        \n     A linefeed (LF) (ASCII 10).
        \r     A carriage return (CR) (ACSII 13).
        \e     An ESC (ASCII 27).
        \q     A quote mark:  " (ASCII 34).
        \\     A backslash:  \ (ASCII 92).
        \#<n>  Where <n> is the number (0-255) of an ASCII character to
               insert.
                 Examples:  \#169  The copyright character:  ©.

                            \#$A9  Still the copyright character, only this
                                   time we specified it using a hex number.

                            \#%10101001  Yep, copyright again in binary.


Contents of util/cli/ClipRW.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  588    1233  47.7% -lh5- 7264 May 11  1996 ClipRW.info
[generic]                 1445    2308  62.6% -lh5- 1f0b Feb 15  1996 cliprw/ClipRead
[generic]                 1958    4387  44.6% -lh5- c108 May 11  1996 cliprw/ClipReadWrite.doc
[generic]                 1911    3032  63.0% -lh5- a9fa Feb 15  1996 cliprw/ClipWrite
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    5902   10960  53.9%            May 17  1996

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>