home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / clipbrd.zip / readme < prev   
Text File  |  1993-10-24  |  3KB  |  84 lines

  1. This archive should contain:
  2.  
  3. makefile        makefile for emx
  4. readme          guess what :-)
  5. clipbrd.c       source for the textmode part; the actual program
  6. pmclip.c        source for the PM server, that actually reads the
  7.                 clipboard and is called by clipbrd.exe
  8. clipbrd.def     definition file for clipbrd.c
  9. pmclip.def      definition file for pmclip.c
  10. emx.dll         emx runtime DLL
  11. clipbrd.exe     textmode part; the actual program
  12. pmclip.exe      PM server for clipbrd.exe
  13. common.h        definitions shared between the two sources
  14.  
  15.  
  16. Requirements: OS/2 2.x and the emx runtime DLLs (available at
  17.               ftp.cdrom.com in the directory */2_x/unix/emx08g)
  18.  
  19. Installation: Put the two executables into the same or two different
  20.               directories listed in the PATH statement of your
  21.               CONFIG.SYS. If you don't have emx.dll already installed
  22.               (if you're not sure, try "emxrev"; if you get a line
  23.               "EMX: revision <number>", you already have emx.dll
  24.               installed), copy emx.dll to a directory listed in the
  25.               LIBPATH statement of your CONFIG.SYS.
  26.  
  27. Usage: Simply call clipbrd without parameters, it should be self
  28.        explaining.
  29.  
  30.  
  31. Some useful examples:
  32.  
  33.  - Suppose you're in
  34.    D:\wow\what\a\really\long\and\complicated\directory\name\this\is
  35.    and want to create a WPS object for foo.exe; now all you have to
  36.    do is call
  37.  
  38.      "dir /fb foo.exe | clipbrd",
  39.  
  40.    drag a new program object from the templates folder and press
  41.    <Shift>-<Ins>. Easy, isnt'it?
  42.  
  43.  - You want to edit all c source files that contain a certain regular
  44.    expression <regexp> with the enhanced editor:
  45.  
  46.      "grep -l <regexp> *.c | tr -f | clipbrd"
  47.  
  48.    puts a blank separated list of the appropriate filenames into the
  49.    clipboard. Now
  50.  
  51.      "clipbrd -p"
  52.  
  53.    and typing "epm <Ctrl>-Z", then
  54.  
  55.      "clipbrd -x"
  56.  
  57.    will do the trick. (tr and grep are available at ftp.cdrom.com
  58.    in the directory */2_x/unix)
  59.  
  60.  
  61. Note: Compiling clipbrd.exe with emx and optimization turned on
  62.       ("-O" or "-O2") causes problems, so I turned it off in the
  63.       makefile.
  64.  
  65.  
  66. Licence: You are free to use and modify this source, as long as you
  67.          make your source freely available according to the usual
  68.          GNU Copyleft license.
  69.  
  70. NO WARRANTY: No guarantee is made as to the proper functioning of the
  71.              software. No liability will be admitted for damage
  72.              resulting from using the software.
  73.  
  74.  
  75. Author: Stefan Gruendel                 (TeX: Stefan Gr\"undel)
  76.         Stresemannstr.5
  77.         97209 Veitshoechheim, Germany   (TeX: Veitsh\"ochheim)
  78.  
  79.         Tel: +49 931 94227
  80.         Fax: +49 931 98219
  81.  
  82.         EMail: Internet:         sgruen@vax.rz.uni-wuerzburg.d400.de
  83.                (german) MausNet: Stefan Gruendel @ WÜ
  84.