home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / readme / newwait4port.readme < prev    next >
Text File  |  1999-08-24  |  3KB  |  77 lines

  1. Short:    Replacement for WaitForPort command
  2. Author:   jholzammer@bene.baynet.de (Jean Holzammer)
  3. Uploader: jholzammer@bene.baynet.de (Jean Holzammer)
  4. Version:  1.0
  5. Type:     util/rexx
  6. Kurz:     Ersatz für den WaitForPort Befehl
  7.  
  8.  
  9. NewWait4Port is a replacement of the WaitForPort command provided with Amiga-OS.
  10. It waits for a Message Port to appear and then end itself. This is useful for
  11. batch scripts. Here's an example:
  12.  
  13. run <>NIL: Miami:Miami       ;start Miami TCP/IP-Stack as background task
  14. NewWait4Port MIAMI.1         ;wait for its Msg port to appear
  15. rx "ADDRESS MIAMI.1 ONLINE"  ;send a rexx command to this port
  16.  
  17. This script waits till Miami has been started and its ARexx Port is available.
  18. Then it tells Miami to go online. Without NewWait4Port you would try to send a
  19. rexx message before the Port is available as it needs some time for Miami to
  20. start. Of course you could use a simple  @{i}wait 5@{ui}. But you never really
  21. know how long Miami will need to start.
  22.  
  23.  
  24. Features:
  25. ---------
  26.  
  27. The original WaitForPort command of Amiga-OS has two major disadvantages:
  28.  
  29. ·it ends itself if the port isn't available within 10 seconds.
  30.  
  31. ·it uses an endless loop of FindPort() calls resulting in a massive loss of CPU
  32.  performance.
  33.  
  34. NewWait4Port@ waits for the Port to appear even if it has to wait for hours.
  35. It also allows you to define a delay time between FindPort() calls preventing a loss
  36. of CPU performance.
  37.  
  38.  
  39.  
  40. Readme created with ARC 3.2 - Copyright (c)1996-99 by Jens Weyer.
  41.  
  42. ============================= Archive contents =============================
  43. Original  Packed Ratio    Date     Time    Name
  44. -------- ------- ----- --------- --------  -------------
  45.     2273     570 74.9% 14-Aug-99 14:40:58 +Docs.info
  46.     2273     568 75.0% 14-Aug-99 14:40:42 +Guide.info
  47.     4880    2289 53.0% 08-Aug-99 21:13:04 +NewWait4Port.guide
  48.     1392     625 55.1% 14-Aug-99 14:38:30 +NewWait4Port.guide.info
  49.     2273     571 74.8% 14-Aug-99 14:40:44 +HTML.info
  50.      838     307 63.3% 08-Aug-99 21:17:44 +bugs.html
  51.     1614     704 56.3% 08-Aug-99 21:18:02 +contact.html
  52.     1207     496 58.9% 08-Aug-99 21:18:22 +copyright.html
  53.     1254     522 58.3% 08-Aug-99 21:18:42 +features.html
  54.      829     299 63.9% 08-Aug-99 21:19:02 +history.html
  55.      224     224  0.0% 08-Aug-99 17:14:46 +home.gif
  56.      935     356 61.9% 08-Aug-99 21:19:26 +installation.html
  57.     1598     693 56.6% 08-Aug-99 21:19:52 +introduction.html
  58.     1295     558 56.9% 08-Aug-99 17:14:46 +NewWait4Port.html
  59.      578     409 29.2% 08-Aug-99 17:52:18 +NewWait4Port.html.info
  60.      206     206  0.0% 08-Aug-99 17:14:46 +next.gif
  61.      206     206  0.0% 08-Aug-99 17:14:46 +prev.gif
  62.      205     205  0.0% 08-Aug-99 17:14:46 +toc.gif
  63.     1999     893 55.3% 08-Aug-99 21:20:24 +usage.html
  64.     2273     570 74.9% 14-Aug-99 14:40:44 +Postscript.info
  65.    13261    3566 73.1% 08-Aug-99 21:12:16 +NewWait4Port.ps
  66.     2273     570 74.9% 14-Aug-99 14:40:44 +RTF.info
  67.     8890    2594 70.8% 08-Aug-99 21:26:08 +NewWait4Port.rtf
  68.      425     227 46.5% 14-Aug-99 14:39:14 +NewWait4Port.rtf.info
  69.     2273     568 75.0% 14-Aug-99 14:40:44 +Wordworth.info
  70.    11508    4584 60.1% 08-Aug-99 21:15:52 +NewWait4Port.ww7
  71.      425     219 48.4% 14-Aug-99 14:39:32 +NewWait4Port.ww7.info
  72.     1148     877 23.6% 07-Aug-99 21:38:28 +NewWait4Port
  73. -------- ------- ----- --------- --------
  74.    68555   24476 64.2% 14-Aug-99 14:51:16   28 files
  75.  
  76. Operation successful.
  77.