home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / varia / mmbs / mmbs.doc < prev    next >
Text File  |  1977-12-31  |  4KB  |  91 lines

  1.  
  2.                    MBBS - Middle Mouse Button Switch V2.0
  3.                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. ===============================================================================
  5.  Disclaimer
  6. ===============================================================================
  7.  
  8. Copyright: © 1994-1996 BLOODROCK/(tRSi/F-Innovation); all rights reserved.
  9.  
  10. MMBS may be freely distributed as long as both program and manual (this text
  11. document) are included in unmodified state, except crunching/packing.
  12.  
  13. ===============================================================================
  14.  Description
  15. ===============================================================================
  16.  
  17. MMBS is another little utility for your middle mouse button.
  18.  
  19. Once started, MMBS activates the last active window on every Screen which pops
  20. to front by any reason. In detail: MMBS handles a small list of Screens (up to
  21. 50 simultaneously opened Screens) with their last active windows. If a Screen
  22. pops to front, the list is examined for this Screen. If this Screen wasn't
  23. found (if a new Screen was opened instead of bringing a Screen to front), the
  24. Screen's frontmost window is activated.
  25.  
  26. In addition, you may shuffle Screens using your middle mouse button (MMB).
  27. Every time you hit the MMB, the frontmost Screen is put to back.
  28.  
  29. ===============================================================================
  30.  System Requirements
  31. ===============================================================================
  32.  
  33. System:        - any Amiga
  34.  
  35. Hardware:    - none
  36.  
  37. Memory:         - program size + the usual Amiga internals
  38.  
  39.         - Stack size (4096 bytes)
  40.  
  41. Harddisk space: - about 5 KB
  42.  
  43. External files:    - none
  44.  
  45. ===============================================================================
  46.  Usage
  47. ===============================================================================
  48.  
  49. MMBS is started from Shell or WorkBench without any arguments or tool types.
  50.  
  51. MMBS does not return once it was started from a Shell or a script, as long
  52. as you don't send a break signal (by hitting Control-c in the output window),
  53. which will quit MMBS.
  54.  
  55. If you want to launch MMBS from within your user-startup, use the RUN command
  56. to detach it from it's CLI process, for example:
  57.  
  58.                   run <>nil: MMBS
  59.  
  60. That's all.
  61.  
  62. ===============================================================================
  63.  Techno
  64. ===============================================================================
  65.  
  66. MMBS uses a task priority of 9, because it's sleeping all the time until a
  67. Screen pops to front or the MMB was pressed. After an event is processed,
  68. it directly falls back to sleep mode. With a low priority (i.e. 0 or 1),
  69. another standard task (i.e. a cruncher) may cause unpleasant delays.
  70.  
  71. Note that MMBS is not a commodity. MMBS is forced to install a small VBlank
  72. interrupt server in order to monitor all possible ScreenToFront events, because
  73. Intuition currently doesn't call it's own Screen depth arrangement functions
  74. the standard way when depth-arranging Screens; so there was no other way to
  75. catch all events. Since the interrupt was needed anyway, it's also used to
  76. check for MMB hits the hardcore way by monitoring bit 8 of POTINP. The VBlank
  77. server has a priority of 0 and doesn't affect Input Events anyway.
  78.  
  79. ==============================================================================
  80.  History
  81. ==============================================================================
  82.  
  83. V2.0:
  84. -----
  85.  
  86. Re-written from scratch (everyone has started small.. :^)
  87.  
  88. ===============================================================================
  89.  End Of File.                        @ BLOODROCK/(tRSi/F-Innovation)
  90. ===============================================================================
  91.