home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
BRIEFINF.ZIP
/
READ.ME
< prev
Wrap
Text File
|
1992-03-16
|
2KB
|
64 lines
This brief macro interfaces into the OS/2 2.0 help system.
While editing a file you may used the Alt-Q (Old quickhelp sequence) to
invoke the PM help subsystem on whatever topic your cursor is on. If you
have a block marked in bried this block will be used instead of where
you cursor is. If you cursor is on blank space then the macro will prompt
you for a topic (This macros orginally was based upon a .M macro I got
from compuserv a long time ago).
To increase the performace of this macro I suggest that after you
invoke the PM help subsystem for the first time, you leave it
running, since this macros will communicate the currently running
instance of the help subsystem. If the help subsystem was originally invoked
via this macro, invoking the macro again will use the currently running
help instance and not invoke another one.
This macro requires that the two environmental variables:
PMREF and PROGREF20 be defined. These are automaticaly setup in your
CONFIG.SYS file when you install the OS/2 2.0 toolkit.
Installation
------------
1. Place the file INFHELP.CB in your BRIEF\MACROS subdirectory.
2. From the BRIEF\MACROS subdirectory type the following command:
CB INFHELP.CB (This will compile the macro)
3. In your brief startup file (your initials).M you need to add the
following lines:
;** Every brief startup file has an initals macro
;** Initials macro
;** Use this macro for additional customization.'
(macro <your initials would be here>
(
;** Put your changes here.
;**----------------------------------------------------------------
;** This is the part you must add. These lines...
;** PM INF Macro
(load_macro "infhelp" )
(assign_to_key "<Alt-q>" "do_infhelp")
;** End of INF Macro
;**----------------------------------------------------------------
(return)
)
)
4. Recompile your initals macro with the folloing command:
CM (your initials).M
5. All Done