home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l291 / 3.ddi / TOOLS.PR$ / TOOLS.bin
Encoding:
INI File  |  1991-02-11  |  4.8 KB  |  168 lines

  1. [pwb]
  2. ;
  3. ; To use any of these examples, remove the leading semicolon and include it
  4. ; in your tools.ini file.
  5. ;
  6. ; Predefined and example Programmer's Work Bench Macros
  7. ;
  8. ; assignments
  9. ; Displays the current assignments pseudo-file. (Formerly called "help").
  10. ;
  11. ;    assignments:=arg "?" assign <
  12. ;    assignments:f10
  13. ;
  14. ; rawoutput
  15. ; Switches the current window to the compile log to view the raw compile
  16. ; output.
  17. ;
  18. ;    rawoutput:=arg "<compile>" setfile
  19. ;    rawoutput:alt+F3
  20. ;
  21. ; spell
  22. ; Invokes the Microsoft Word 4.0 spelling checker on the current file. (Only
  23. ; available under DOS).
  24. ;
  25. ;    spell:=arg "spell-am " curfile shell
  26. ;    spell:ctrl+f7
  27. ;
  28. ; undotoggle
  29. ; Toggling undo. Repeatedly executing this macro undoes and redoes the most
  30. ; recent editing change.
  31. ;
  32. ;    undotoggle:=meta undo +> undo
  33. ;    undotoggle:ctrl+bksp
  34. ;
  35. ;
  36. ; build switch examples
  37. ;
  38. ; The following are examples of error strings.  If messages output to the
  39. ; compile window match these strings, they will be counted and found by
  40. ; nextmsg (Search.Next Error, etc.).  The compiler and utility messages 
  41. ; will be added by the extensions.  If you do not load the extensions,
  42. ; but want to match these messages in the compile window, add these to 
  43. ; your tools.ini.
  44. ;
  45. ;
  46. ; pwbrmake
  47. ;    build: message "^pwbrmake: [^U]+U[124]"
  48. ; bind
  49. ;    build: message "^BIND : [^U]+U[124]"
  50. ; C
  51. ;    build: message "^\\(\\:p\\)(\\(\\:z\\)) : [^C]+C[124]" file line
  52. ;    build: message "^[^C]+C[124][0-9]+: "
  53. ; C or FORTRAN
  54. ;    build: message "^[^D]+D[124][0-9]+ : "
  55. ; FORTRAN
  56. ;    build: message "^\\(\\:p\\)(\\(\\:z\\)) : [^F]+F[124]" file line
  57. ;    build: message "^[^F]+F[1234][0-9]+: "
  58. ; BASIC
  59. ;    build: message "^\\(\\:p\\)([ \t]*\\(\\:z\\),[ \t]*\\(\\:z\\)) : " file line col
  60. ; MASM
  61. ;    build: message "^\\(\\:p\\)(\\([0-9]+\\))[ \t]*:[ \t]*[^A]+A[12456]" file line
  62. ; H2INC
  63. ;    build: message "^\\(\\:p\\)(\\(\\:z\\)) : [^H]+HI[124]" file line
  64. ;    build: message "^[^H]+HI[124][0-9]+: "
  65. ; general
  66. ;    build: message "^fatal error"
  67. ; generic OS/2 system messages (SYS and NET are already in defaults)
  68. ;    build: message "^[A-Z][A-Z][A-Z]\\:d\\:d\\:d\\:d:\\:b"
  69. ;
  70. ;
  71. ;   Default colors.
  72. ;
  73. ; The following are the color settings that the PWB uses by default.  On
  74. ; some hardware configurations, the PWB may incorrectly identify your
  75. ; monochrome video as color (or vice-versa).  If the PWB screen looks
  76. ; wrong, try using the color set appropriate for your hardware
  77. ;
  78. ; Colors for a Color system
  79. ;
  80. ;    color:        background 07
  81. ;    color:        hilitectrl 07
  82. ;    color:            greyed 78
  83. ;    color:           enabled 70
  84. ;    color:          disabled 78
  85. ;    color:             alert 70
  86. ;    color:         dialogbox 70
  87. ;    color:        pushbutton 70
  88. ;    color:        buttondown 07
  89. ;    color:           listbox 70
  90. ;    color:         scrollbar 70
  91. ;    color:          elevator 07
  92. ;    color:           menubox 70
  93. ;    color:              menu 70
  94. ;    color:          menuselected 07
  95. ;    color:        menuhilite 7f
  96. ;    color:         menuhilitesel 0f
  97. ;    color:         itemhilitesel 0f
  98. ;    color:           dialogaccel 7f
  99. ;    color:        dialogaccelbor 7f
  100. ;    color:            shadow 08
  101. ;    color:              text 17
  102. ;    color:         highlight 1f
  103. ;    color:              info 3f
  104. ;    color:         selection 71
  105. ;    color:            border 07
  106. ;    color:            status 70
  107. ;    color:           scratch 07
  108. ;
  109. ;
  110. ; Colors for a Monochrome system
  111. ;
  112. ;    color:        background 07
  113. ;    color:        hilitectrl 07
  114. ;    color:            greyed 70
  115. ;    color:           enabled 70
  116. ;    color:          disabled 70
  117. ;    color:             alert 70
  118. ;    color:         dialogbox 70
  119. ;    color:        pushbutton 70
  120. ;    color:        buttondown 07
  121. ;    color:           listbox 70
  122. ;    color:         scrollbar 70
  123. ;    color:          elevator 07
  124. ;    color:           menubox 70
  125. ;    color:              menu 70
  126. ;    color:          menuselected 07
  127. ;    color:        menuhilite 7f
  128. ;    color:         menuhilitesel 0f
  129. ;    color:         itemhilitesel 0f
  130. ;    color:           dialogaccel 7f
  131. ;    color:        dialogaccelbor 7f
  132. ;    color:            shadow 07
  133. ;    color:              text 07
  134. ;    color:         highlight 0f
  135. ;    color:              info 70
  136. ;    color:         selection 70
  137. ;    color:            border 07
  138. ;    color:            status 70
  139. ;    color:           scratch 07
  140. [pwb-.for]
  141. ;
  142. ; FORTRAN files
  143. ;
  144. realtabs : no
  145. entab : 0
  146. col7 := meta begline right right right right right right
  147. past7 := left left left left left left
  148. fortab := savecur past7 ->goto7 restcur "    " +> :>goto7 restcur col7
  149. fortab : tab
  150. fordetab := arg left left left left ldelete
  151. fordetab : shift+tab
  152. [pwb-pwbfort]
  153. ;
  154. ; FORTRAN Extension Information
  155. ; these switches are set assuming that you picked the default library
  156. ; names for the DOS libraries during setup.  If you picked explicit
  157. ; library names for the DOS libraries, for_doslibs below should be
  158. ; changed to explicit.  Similarly if you picked to default names for
  159. ; the os2 libraries, the for_os2libs should be adjusted accordingly.
  160. ; The other library switches can best be left as explicit.
  161. ;
  162. ;for_doslibs:default
  163. ;for_os2libs:explicit
  164. ;for_winlibs:explicit
  165. ;for_windlllibs:explicit
  166. ;for_mtlibs:explicit
  167. ;for_dlllibs:explicit
  168.