home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / BRIEFINF.ZIP / READ.ME < prev   
Text File  |  1992-03-16  |  2KB  |  64 lines

  1. This brief macro interfaces into the OS/2 2.0 help system. 
  2.  
  3. While editing a file you may used the Alt-Q (Old quickhelp sequence) to
  4. invoke the PM help subsystem on whatever topic your cursor is on. If you
  5. have a block marked in bried this block will be used instead of where
  6. you cursor is. If you cursor is on blank space then the macro will prompt
  7. you for a topic (This macros orginally was based upon a .M macro I got
  8. from compuserv a long time ago).
  9.  
  10. To increase the performace of this macro I suggest that after you
  11. invoke the PM help subsystem for the first time, you leave it
  12. running, since this macros will communicate the currently running
  13. instance of the help subsystem. If the help subsystem was originally invoked
  14. via this macro, invoking the macro again will use the currently running
  15. help instance and not invoke another one.
  16.  
  17. This macro requires that the two environmental variables:
  18.  
  19. PMREF and PROGREF20 be defined. These are automaticaly setup in your
  20. CONFIG.SYS file when you install the OS/2 2.0 toolkit.
  21.  
  22.  
  23.  
  24. Installation
  25. ------------
  26.  
  27. 1.  Place the file INFHELP.CB in your BRIEF\MACROS subdirectory.
  28.  
  29. 2.  From the BRIEF\MACROS subdirectory type the following command:
  30.         CB INFHELP.CB (This will compile the macro)
  31.  
  32. 3.  In your brief startup file  (your initials).M you need to add the
  33.     following lines:
  34.  
  35.  
  36. ;**     Every brief startup file has an initals macro
  37. ;**    Initials macro
  38. ;**    Use this macro for additional customization.'
  39.  
  40. (macro <your initials would be here>
  41.    (
  42.       ;**    Put your changes here.
  43.  
  44.       ;**----------------------------------------------------------------
  45.       ;**     This is the part you must add. These lines...
  46.       ;**     PM INF Macro
  47.  
  48.       (load_macro "infhelp" )
  49.       (assign_to_key "<Alt-q>" "do_infhelp")
  50.  
  51.       ;**     End of INF Macro
  52.       ;**----------------------------------------------------------------
  53.                          
  54.       (return)
  55.    )
  56. )
  57.  
  58.  
  59. 4.  Recompile your initals macro with the folloing command:
  60.         CM (your initials).M
  61.  
  62. 5.  All Done     
  63.  
  64.