home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser 2002 January / STC_CD_01_2002.iso / SYSTEM / XAAES936 / XAAESDBG.CNF < prev    next >
Text File  |  2001-12-27  |  9KB  |  291 lines

  1. # XaAES Startup Configuration file (xaaesdbg.cnf) for the debug
  2. #       version.
  3. #--------------------------------------------------------------
  4. #
  5. # '#' is a comment line.
  6. # Commands are not case sensitive (although paths may be,
  7. #  depending on your filesystem).
  8. #
  9. # Generally spoken:
  10. # comma is always a infix separators.
  11. # space is always a separator.
  12. # '' and  ""  are string braces
  13. # !!! () are no more !!!
  14. # any character can be put in a string by catanating
  15. # embraced strings, literal strings and #numbers
  16. string weird =  < + '"' + ' ' + "'" + (1) + #39 + ' ' + '"' + > ; yields <" '(1)' ">
  17. #
  18. #
  19. # If a command isn't understood, it gets ignored...
  20. #
  21. # COMMANDS:
  22. #  string <identifier> <value>        Set jobspace variable.
  23. #  int    <identifier> <value>        Set jobspace variable.
  24. #  export <identifier> <value>        Set environment variable.
  25. #
  26. #  synonym for export is setenv
  27. #
  28. #  clipboard <directory>              Set location of clipboard (default=c:\clipbrd)
  29. #  accpath <directory>                Set location of accessories (default=c:\)
  30. #  run <program> <parameters....>     Launch a GEM program
  31. #  debug <file/device|off>            Set destination for debugging output, or turn it off (initially)
  32. #                                     The on/off status can be toggled later by CTRL-ALT-D
  33. #                                     (A compile time option can turn all debug output off)
  34. #  direct on                          Turn on direct AES calls (default is off)
  35. #                                     This can cause a substantial speed up, but is not as 'nice'
  36. #                                     Currently (beta7+/5) there seem to be some 'minor' problems
  37. #--------------------------------------------------------------
  38. #
  39. # Extensions by Henk Robbers dec '99
  40. #
  41. #  desk <program> <parameters...>     Launch specifically the desktop program
  42. #                                     shell is currently same as desk
  43. #
  44. #   Any number of white space is accepted
  45. #   More elaborate debugging designed to reduce the debug output mass
  46. #   Well defined debugpoints are:
  47. #          appl,        /* includes client pool */
  48. #          evnt,
  49. #          multi,    /* evnt_multi only */
  50. #          form,
  51. #          fsel,
  52. #          graf,
  53. #          menu,
  54. #          objc,
  55. #          rsrc,
  56. #          scrp,
  57. #          shell,
  58. #          wind,
  59. #          widg,
  60. #          mouse,
  61. #         button,
  62. #          keybd,
  63. #          sema,        /* wind_update */
  64. #          rect,        /* rectangle list code */
  65. #          trap,        /* just the trap #2, nice to find out what a app actually is doing */
  66. #          pipe
  67. #
  68. #    The letters a-z are ad hoc debug points.
  69. #    You can restrict output to a single program by putting debug statements
  70. #       (debug 1, debug all, debugpoint <list>) inside a options block for the program.
  71. #
  72. # Turn on/off the debug output
  73. # 0/off, 1/on = general only, 2 = debugpoints, >2 or all = all
  74. # debugpoint x    ; x = one of the above listed debugpoints or a lower case letter
  75. # debug all in combination with debugpoint or except means simply 'all but ...' :-)
  76.  
  77.     # Send debug output to a file
  78.     # If debugging is off, regular messages will go to this file
  79.  
  80. debug xaaes.log
  81.  
  82.     # Send debug to the screen
  83.  
  84. # debug screen
  85.  
  86.  
  87. #debug 1
  88.  
  89.     # Specify the maximum no of debug lines for the debug output file.
  90.     # The default is 10000
  91.     # Whenever the specified number is reached, XaAES will wrap around
  92.     # the debug file.
  93.     # This makes it possible to have a very long up time, without the
  94.     # danger of filling a partition completely.
  95.     # Very inportant to catch very rare crashes.
  96.  
  97. debug_lines 25000
  98.  
  99.     # Send debug output to a serial port
  100. # debug u:\dev\ttyb
  101.  
  102.     # Send debug output to \dev\null   (see also below)
  103. # debug u:\dev\null
  104.  
  105.     # extension since v0.932
  106.     # You can influence certain behaviours per application
  107.     # But first you must specify the default options:
  108.     # Of course when you are happy with the XaAES defaults you can leave
  109.     #    options default completely out.
  110.     # since version 0.936 debug options as well.
  111.  
  112. options default
  113. {
  114.     # show name of window owner in title
  115.     # windowner false                ; or short or long
  116.  
  117.     # Set window behaviour:
  118.     # xa_windows: Set them for modal dialogues that are put in a window by XaAES
  119.     # windows:    Set them for all original windows.
  120.     #    nomove:     dont move (xa_windows only)
  121.     #    nohide:     dont hide. Non moveable windows are never hidden.
  122.     #    noleft:     inhibits moving windows out of the left side
  123.     #                of the screen
  124.     #    thinframe:  In colour the light grey outer frame is only 1 line.
  125.     #   thinwork    The colour work area border is only a single black line.
  126.     #             Some programs suffer rounding problems in colour (Pure C :-)
  127.     #   live        Also live moving and sizing
  128.  
  129.     # xa_windows nomove,nohide        ; nomove implies nohide
  130.     # windows    nohide
  131.     windows        live
  132.     #debug all
  133.     #except o,i,s,a,r,k,x
  134. #    debugpoint appl,shel,this
  135. }
  136.  
  137. # Now you can specify a different behaviour for one or more programs:
  138. options PC,Xcontrol
  139. {
  140.     windows     noleft, thinframe, thinwork
  141. }
  142.  
  143. options thing
  144. {
  145.     debugpoint trap
  146. }
  147.  
  148. options aICQ            ; Hi Joakim :-)
  149. {
  150.     windows thinwork
  151. }
  152.  
  153.  
  154. options Heden|ik,morgen|gij
  155. {
  156.     windowner long
  157.     xa_windows nomove,noleft
  158.     windows nohide
  159. }
  160.  
  161.     # set the menu behaviour:
  162.     # pull: normal; classic GEM is the default.
  163.     # push: you have to click on a title, MAC like
  164.     # leave: implies pull, in addition you dont have to click on the desktop.
  165.     #        to cancel a pulled menu, just leave it.
  166.     # nolocking   Do not lock the screen for poped or pulled menus
  167.     #             (Not guaranteed to be correct yet!, but you can try
  168.     #              it for a demonstration)
  169.                
  170.  
  171. menu leave
  172.  
  173.  
  174.     # If you need progdefs run in supervisormode, uncomment:
  175. # superprogdef
  176.  
  177.     # If XaAES is build with fileselector, specify your favourite filters
  178.     # The defaults in the resourcefile are already very exhaustive. :-)
  179. filters *, *.[atpg]*, *.[chs]*, *.l*, *.o*
  180.  
  181.     # Specify commonly used texts of cancel buttons.
  182.     # these are triggered by pressing UNDO in all dialogues
  183.  
  184. cancel cancel,abbruch,annuler,avbryt,annuluj,afbryd,undo
  185.  
  186.     # specifies the way window titles are displayed
  187.     # faint specified: untopped faint,  topped normal
  188.     # bold  specified: untopped normal, topped bold
  189.     # Only used in monochrome.
  190.  
  191. toppage faint
  192.  
  193.     # Some example variables:
  194.     # the below are now truly local variables only (not environment!)
  195. int w = 1280
  196. int h = 1024
  197. int dot = 46
  198. string bslash = \
  199.  
  200.     # Some usefull variables:
  201. string thingv = thing                ; or thing109
  202. string root = c:\
  203. string apps = d:\
  204. string gsys = root + gemsys\
  205. string uni  = u:\
  206. string widg = gsys + xaaes\widgets\
  207. string tosrun = gsys + xaaes\tw\tw-call.app
  208. string olga   = gsys + "olga\olga.app"
  209. string anotherexample = "TEST=rubbish"
  210.  
  211.     # Set the default clipboard path
  212.  
  213. clipboard root + clipbrd\
  214.  
  215.     # Set the accessory search path
  216.  
  217. #accpath root
  218. accpath d:\deskacc\
  219.  
  220.     # Set the launcher's initial path & filter
  221.  
  222. launcher gsys + xaaes\tw\*.[ATPG]*
  223. #launcher apps + thingv + \*.[ATPG]*
  224.  
  225.     # export certain strings to the environment
  226.     # NN.BB.! any of these that come after the first run/shell/desk are ignored
  227.     # The '=' between the 2 parts is optional
  228.     # The variable name will be converted to upper case
  229.  
  230. export avserver "THING   "
  231. export tosrun
  232. export olgamanager olga
  233. export TEST=rub\bish
  234. export          SDMASTER=d:\uzytki\shutdown\shutdown.app
  235. export          DISPLAY=127.0.0.1:0.0
  236. export anotherexample
  237.  
  238. setenv tosrun1 = tosrun + 1
  239. setenv PATH root + ; + gsys + xaaes + ; + apps + aaaa
  240. setenv not-an-identifier not-an-identifier 
  241.  
  242.     # Optional: specify the names of the resource files
  243.     # Widgets in folder widgets
  244. #widgets widg + adam.rsc        ; modern art icons (Malewicheds :-) of Adam Klobukowski
  245. #widgets widg + mboxwdg.rsc        ; small mono boxchars (12*12 + (4 for 3D))
  246. #widgets widg + mbox1214.rsc    ; small mono boxchars (12*14 + (4 for 3D))
  247. #widgets widg + mboxwidg.rsc    ; large mono boxchars (16*16 + (4 for 3D)) (Easier to make)
  248. #widgets widg + cboxwdg.rsc        ; small colour boxchars (12*12 + (4 for 3D))
  249. #widgets widg + cbox1214.rsc    ; small colour boxchars (12*14 + (4 for 3D))
  250. #widgets widg + cboxwidg.rsc    ; large colour boxchars (16*16 + (4 for 3D)) (Easier to make)
  251. #widgets widg + gilwidg.rsc        ; nice round widgets of 'forgot his name'
  252. #resource xa_mono.rsc            ; all colour icons changed to mono icons
  253. #widgets widg + monowidg.rsc    ; mono icons (NO 3D widgets!)
  254.  
  255.     # default resource names in XaAES's folder
  256. #widgets xaaeswdg.rsc
  257. #resource xaaes.rsc
  258.  
  259. # a demonststration:  Try it! Just for fun
  260.     # popscroll 6
  261.  
  262. # mintmouse
  263.  
  264.     # set the absoloute priority of XaAES.
  265.     # If absent, XaAES lowers its priority by 1
  266.     # It is recommended to have this statement before any launches, if it is used.
  267.  
  268. # priority 5
  269.  
  270.     # Launch the desktop   HR: in the future it might be usefull to know the desktops pid,
  271.     # so I've given it a seperate command 'shell' or 'desk'  :-)
  272.  
  273. desk apps + thingv + \thing.app
  274.  
  275. # shell  uni + c\gemsys\xaaes\teradesk\desktop.prg
  276. # desk  root + ming\Thing.app
  277. # shell root + jinnee\jinnee.app
  278. # desk  root + ease\ease.prg
  279. # shell e:\gemini2\Gemini.app
  280. # shell e:\nodesk\noDesk.ovl
  281.  
  282.     # Do some launches
  283.  
  284. # run aes + mltistrp\mltistrp.app
  285. # run aes + taskbar\taskbar.prg
  286. # run root + boxkite.prg
  287. # run aes + explode.prg
  288. # run root + mint\app\miniwin.app
  289. run        tosrun
  290. run        'c:' + bslash + "gemsys\xaaes\explode" + #dot + #112 + 'rg'
  291.