home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / alpha / alpha.prf < prev    next >
Text File  |  1993-11-15  |  11KB  |  355 lines

  1. * This is the default profile, ALPHA.PRF, for the ALPHA package V1.8.
  2. *
  3. *  ###################################################################
  4. *  # (C) Copyright International Business Machines Corporation 1993. #
  5. *  #                    All rights Reserved.                         #
  6. *  ###################################################################
  7. *
  8. * The case is significant. Invalid records are ignored.
  9. *
  10. * Lionel de Lambert, 12 Dec. 1990
  11. *
  12. * The colours are :-
  13. * BLUE,DARKCYAN,BLACK,DARKBLUE,DARKPINK,DARKGRAY,DARKRED,DARKGREEN,
  14. * BROWN,CYAN,RED,GREEN,PINK,YELLOW,PALEGRAY,DEFAULT,WHITE
  15. * for XGA screens with Alpha2 the following colours may also be used :-
  16. * ORANGE,PURPLE,PALEGREEN,PALEBLUE 
  17. Text_colour=BLUE
  18. * Highlight_colour is used for the isolate function of mouse button 1.
  19. * Default - RED.
  20. Highlight_colour=DARKRED
  21. * Locate_colour is used for the argument for the locate function
  22. * which may be used by mouse button 2.
  23. * Default - GREEN.
  24. Locate_colour=GREEN
  25. * The first comment_colour is used for comment lines beginning, /*, {, *, ;, C
  26. * and for the 'scale' background. The second comment_colour is
  27. * used for the compressed comment line and for the Clipboard highlight
  28. * Default - DARKCYAN,PALEGRAY
  29. Comment_colour=DARKCYAN,PALEGRAY
  30. * Branch_colour is used for 370, 386 branch instructions
  31. * Default - BROWN.
  32. Branch_colour=BROWN
  33. * Expand_colour is used for the text in the label expansion window.
  34. * Default - DARKBLUE.
  35. Expand_colour=DARKBLUE
  36. * Back_ground colour - default - BACKGROUND
  37. Back_ground=BACKGROUND
  38. *
  39. * File_type specifies the File types to be recognized.
  40. * The string must be <=64 characters and terminated by a comma.
  41. * The first 6 types are used for :-
  42. *   1 370 assembler
  43. *   2 386 assembler
  44. *   3 PASCAL, (Ada)
  45. *   4 PL/S, PL/AS, PL/I  etc., (REXX)
  46. *   5 C
  47. *   6 FORTRAN
  48. * For REXX files use :- "A37,ASM,PAS,CMD,C,FOR," and replace the PLS entries
  49. * For Ada  files use :- "A37,ASM,ADA,PLS,C,FOR," and replace the PAS entries
  50. * The default is :- "A37,ASM,PAS,PLS,C,FOR,LST,DOC,"
  51. File_type="A37,ASM,PAS,PLS,C,FOR,LST,DOC,..,"
  52. *
  53. * Comment_start specifies the first two characters of the start of
  54. * a comment. The string must be <=12 characters.
  55. * The 6 pairs are used for :-
  56. *   1 370 assembler
  57. *   2 386 assembler
  58. *   3 PASCAL, for Ada specify Comment_start="* ; --/*/*"
  59. *   4 PL/S, PL/AS etc.
  60. *   5 C
  61. *   6 FORTRAN
  62. * The default is :- "* ; { /*/*C "
  63. Comment_start="* ; { /*/*C "
  64. *
  65. * Comment_end specifies the last two characters of the comment or blank.
  66. * The string must be <=12 characters. The 6 pairs are as for Comment_start.
  67. * The default is :-"    } */*/  "
  68. Comment_end="    } */*/  "
  69. *
  70. * Precedent_C specifies the C language procedure keywords. The string
  71. * must be <=64 characters and terminated by a comma.
  72. Precedent_C="char,extern,far,int,long,pascal,pointer,short,static,void,"
  73. *
  74. * Language_colour - defines the highlight colours for key words
  75. * Up to 128 entries may be defined as follows :-
  76. * file_type,key_word,colour,scan_length
  77. * and are terminated by '.END', invalid entries are ignored.
  78. * The keywords must be <=12 characters.
  79. Language_colour
  80. A37, DFHSTACK ,CYAN,32
  81. A37, USING ,DARKPINK,32
  82. A37, DROP ,DARKPINK,32
  83. A37, SPACE ,PALEGRAY,32
  84. ASM, PROC ,CYAN,32
  85. ASM, SEGMENT ,CYAN,32
  86. ASM, CALL ,PINK,32
  87. ASM, call ,PINK,32
  88. PAS,PROCEDURE ,CYAN,72
  89. PAS,FUNCTION ,CYAN,72
  90. PAS, DO ,DARKCYAN,72
  91. PAS, BEGIN ,DARKCYAN,72
  92. PAS, END,DARKCYAN,72
  93. PAS, FOR ,CYAN,72
  94. PAS, REPEAT ,CYAN,72
  95. PAS, UNTIL ,CYAN,72
  96. PAS, WHILE ,CYAN,72
  97. PAS, CASE ,CYAN,72
  98. PAS, IF ,DARKPINK,72
  99. PAS, THEN ,DARKPINK,72
  100. PAS, ELSE ,DARKPINK,72
  101. PAS, GOTO ,BROWN,72
  102. PAS, OR ,BLACK,72
  103. PAS, AND ,BLACK,72
  104. PAS, RETURN,BROWN,72
  105. PAS, BREAK,BROWN,72
  106. PAS, CYCLE,BROWN,72
  107. * For Ada (.ADA) files replace the PAS entries by the ADA entries
  108. * ADA,procedure ,CYAN,72
  109. * ADA,function ,CYAN,72
  110. * ADA,declare ,PINK,72
  111. * ADA,delay ,GREEN,72
  112. * ADA,subtype ,PINK,72
  113. * ADA,range ,PINK,72
  114. * ADA,case ,PINK,72
  115. * ADA,select ,DARKPINK,72
  116. * ADA,record ,PINK,72
  117. * ADA,begin ,DARKCYAN,72
  118. * ADA,do ,DARKCYAN,72
  119. * ADA,end loop,CYAN,72
  120. * ADA,end if,DARKRED,72
  121. * ADA,end case,PINK,72
  122. * ADA,end select,DARKPINK,72
  123. * ADA,end record,PINK,72
  124. * ADA,end,DARKCYAN,72
  125. * ADA, elsif ,DARKRED,72
  126. * ADA, else ,DARKRED,72
  127. * ADA, if ,DARKRED,72
  128. * ADA,when others ,DARKGREEN,72
  129. * ADA,when ,CYAN,72
  130. * ADA,with ,DARKRED,72
  131. * ADA,for ,CYAN,72
  132. * ADA,loop ,CYAN,72
  133. * ADA,return ,BROWN,72
  134. * ADA,exit when ,BROWN,72
  135. * ADA,exit ,BROWN,72
  136. * ADA,goto ,BROWN,72
  137. * ADA,private ,DARKRED,72
  138. * ADA,type ,DARKRED,72
  139. * ADA,generic ,DARKRED,72
  140. PLS,PROC ,CYAN,72
  141. PLS, BEGIN ,DARKCYAN,72
  142. PLS, END,DARKCYAN,72
  143. PLS, DO ,DARKCYAN,72
  144. PLS, DO;,DARKCYAN,72
  145. PLS, IF ,DARKPINK,72
  146. PLS, THEN ,DARKPINK,72
  147. PLS, ELSE ,DARKPINK,72
  148. PLS, SELECT,CYAN,72
  149. PLS, WHEN,CYAN,72
  150. PLS, UNTIL,CYAN,72
  151. PLS, WHILE,CYAN,72
  152. PLS, RETURN,BROWN,72
  153. PLS, GOTO ,BROWN,72
  154. PLS, GO TO ,BROWN,72
  155. PLS, RETURN,BROWN,72
  156. PLS, LEAVE,BROWN,72
  157. PLS, CALL ,PINK,72
  158. * For REXX (.CMD) files replace the PLS entries by the CMD entries
  159. * CMD,SAY ,DARKCYAN,72
  160. * CMD,PULL ,DARKCYAN,72
  161. * CMD,PARSE ,DARKCYAN,72
  162. * CMD,EXIT ,DARKCYAN,72
  163. * CMD,END,DARKCYAN,72
  164. * CMD,DO ,DARKCYAN,72
  165. * CMD,IF ,DARKPINK,72
  166. * CMD,THEN ,DARKPINK,72
  167. * CMD,ELSE ,DARKPINK,72
  168. * CMD,SELECT,CYAN,72
  169. * CMD,WHEN,CYAN,72
  170. * CMD,UNTIL,CYAN,72
  171. * CMD,WHILE,CYAN,72
  172. * CMD,RETURN,BROWN,72
  173. * CMD,GOTO ,BROWN,72
  174. * CMD,RETURN,BROWN,72
  175. * CMD,LEAVE,BROWN,72
  176. * CMD,CALL ,PINK,72
  177. * CMD,say ,DARKCYAN,72
  178. * CMD,pull ,DARKCYAN,72
  179. * CMD,parse ,DARKCYAN,72
  180. * CMD,exit ,DARKCYAN,72
  181. * CMD,end,DARKCYAN,72
  182. * CMD,do ,DARKCYAN,72
  183. * CMD,if ,DARKPINK,72
  184. * CMD,then ,DARKPINK,72
  185. * CMD,else ,DARKPINK,72
  186. * CMD,select,CYAN,72
  187. * CMD,when,CYAN,72
  188. * CMD,until,CYAN,72
  189. * CMD,while,CYAN,72
  190. * CMD,return,BROWN,72
  191. * CMD,goto ,BROWN,72
  192. * CMD,return,BROWN,72
  193. * CMD,leave,BROWN,72
  194. * CMD,call ,PINK,72
  195. C, if ,DARKCYAN,72
  196. C, else ,DARKCYAN,72
  197. C, while,CYAN,72
  198. C, for ,CYAN,72
  199. C, do ,CYAN,72
  200. C, switch,CYAN,72
  201. C, case,DARKPINK,72
  202. C, goto ,BROWN,72
  203. C, break,BROWN,72
  204. C, continue,BROWN,72
  205. C, return,BROWN,72
  206. C, structure ,DARKGREEN,72
  207. C, union ,DARKGREEN,72
  208. c, int ,DARKGREEN,72
  209. c, char ,DARKGREEN,72
  210. FOR,SUBROUTINE ,PINK,72
  211. FOR,FUNCTION ,PINK,72
  212. FOR,RETURN ,BROWN,72
  213. FOR,GO TO ,BROWN,72
  214. FOR,CALL ,PINK,72
  215. FOR,STOP ,RED,72
  216. FOR,END ,BLACK,72
  217. FOR,DO ,DARKGREEN,72
  218. FOR,CONTINUE ,DARKGREEN,72
  219. LST, ALPHA,RED,80
  220. DOC, Alpha,DARKRED,80
  221. .END
  222. *
  223. * Language_operator - defines the operator keywords for each language.
  224. * The second value indicates how to process the keyword, viz.
  225. * < or > indicate the scan direction from the keyword to locate the label,
  226. * P or C indicates that the keyword specifies an entry point or call,
  227. * : indicates that the label will be followed by a colon,
  228. * 2 indicates that the second label following a , is to be used.
  229. * Up to 32 entries may be defined as follows :-
  230. * file_type,<│>C│P[:][2],keyword
  231. * and are terminated by '.END', invalid entries are ignored.
  232. * The keywords must be <=12 characters. The C-language procedure
  233. * values are supplied on the Precedent_C keyword.
  234. Language_operator
  235. A37,>C,CALL
  236. A37,>C2,BAS
  237. A37,>C2,BAL
  238. A37,>C2,DFHSTACK
  239. ASM,>C,CALL
  240. ASM,<P,PROC
  241. PAS,>P,PROCEDURE
  242. PAS,>P,FUNCTION
  243. PAS,>P,procedure
  244. PAS,>P,function
  245. PLS,<P:,PROC
  246. PLS,<P:,IPROC
  247. PLS,>C,CALL
  248. FOR,>P,SUBROUTINE
  249. FOR,>P,FUNCTION
  250. FOR,>C,CALL
  251. .END
  252. *
  253. * The Font may take the values :-
  254. * Font=Courier|System|Helvetica|Roman|Alpha<,Bold|Italic><,(Point_size)>
  255. * or a face name may be specified e.g. Font="Alpha",(10)
  256. * The default font is 'System Monospaced' unless the
  257. * "Alpha" font is installed.
  258. * The font point sizes (1/72") are :-.
  259. * "Alpha"   - 8,9,10,11,16,20
  260. * Courier   - 8,10,12
  261. * Helvetica - 8,10,12,14,18,24
  262. * Roman     - 8,10,12,14,18,24
  263. * System    - 8,10,12
  264. Font=System,(10)
  265. *
  266. * The character size specifies the (width,height) of the characters.
  267. * The character width is used to select the size of the Font if the
  268. * point size is not specified on the "Font" keyword.
  269. * The default is (8,14) for the Alpha font and (8,16) for the System.
  270. Character_size=(8,16)
  271. *
  272. * Read_file takes the value Yes|No and specifies whether the file
  273. * is to be read in after allocation - default - Yes.
  274. Read_file=Yes
  275. *
  276. * Flow takes the value On|Off - default - On.
  277. Flow=On
  278. *
  279. * Expand takes the value On|Off and specifies that Expand mode will
  280. * be effective once the file is read in.
  281. * Default - Off.
  282. Expand=Off
  283. *
  284. * Marker takes the value On|Off - default - Off.
  285. Marker=Off
  286. *
  287. * Language takes the values :-
  288. * *<,Language> - determine the language from the file suffix.
  289. *    If a Language is also given then this will be the default if the
  290. *    file type can not be found in "File_type", e.g. Language=*,PAS.
  291. * For PL/I use Language=PLS etc.
  292. * A37 - 370 assemble
  293. * ASM - 386 macro assemble
  294. * PAS - Pascal
  295. * PLS - PL/S or PL/AS etc.
  296. * C   - C language
  297. * FOR - FORTRAN
  298. * default - *,LST
  299. Language=*,DOC
  300. *
  301. * Default_chr=(w,h) - specifies the default character width and height
  302. * used for scaling the Allocate and Command dialogue boxes -
  303. * the default value is (10,16), for 8515/8516 screens the default value
  304. * is (14,20)
  305. Default_chr=(10,16)
  306. *
  307. * Window=(x,y,cx,cy) - specifies the initial window position.
  308. * A suitable value for 8515/8516 screens may be - (0,60,800,600).
  309. * If no profile is specified then Window=(0,4h,63.5w,26h) is assumed for
  310. * 8513 screens where w and h are the 'Default_chr' width & height.
  311. * default - (0,60,635,420) for 8513 and (0,120,1020,650) for 8515 screens.
  312. Window=(0,60,635,420)
  313. *
  314. * Quiet=Yes|No - will suppress the beep on completion of file read
  315. * default - Yes.
  316. Quiet=Yes
  317. *
  318. * Record_structure=On|Off - will record the CALL structure for 370
  319. * & 386 assembler, PASCAL PL/AS, C and FORTRAN programmes, as the file is
  320. * read in to memory.
  321. * Default - On.
  322. Record_structure=Off
  323. *
  324. * Tab=On|Off - will use X'09' as tab to n*8 when file is read, default - On
  325. Tab=Off
  326. *
  327. * Proportional=On|Off - will use the Font character spacing rather
  328. * than the Character width to place the characters, default - On
  329. Proportional=On
  330. *
  331. * Keyword=On|Off - will highlight the specified keywords - default - On
  332. Keyword=On
  333. *
  334. * Statement_number sets the display of the statement number On|Off
  335. * default Statement_number=On
  336. Statement_number=Off
  337. *
  338. * Command_pgm specifies the programme name invoked by '<' - default OS2CMD
  339. Command_pgm="OS2CMD"
  340. *
  341. * Transfer_pgm specifies the programme name invoked by '>' -
  342. * default ALMCOPY
  343. Transfer_pgm="ALMCOPY"
  344. *
  345. * End of profile for ALPHA programme
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.