home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ST-Computer Leser 2002 January
/
STC_CD_01_2002.iso
/
SYSTEM
/
XAAES936
/
XAAESDBG.CNF
< prev
next >
Wrap
Text File
|
2001-12-27
|
9KB
|
291 lines
# XaAES Startup Configuration file (xaaesdbg.cnf) for the debug
# version.
#--------------------------------------------------------------
#
# '#' is a comment line.
# Commands are not case sensitive (although paths may be,
# depending on your filesystem).
#
# Generally spoken:
# comma is always a infix separators.
# space is always a separator.
# '' and "" are string braces
# !!! () are no more !!!
# any character can be put in a string by catanating
# embraced strings, literal strings and #numbers
string weird = < + '"' + ' ' + "'" + (1) + #39 + ' ' + '"' + > ; yields <" '(1)' ">
#
#
# If a command isn't understood, it gets ignored...
#
# COMMANDS:
# string <identifier> <value> Set jobspace variable.
# int <identifier> <value> Set jobspace variable.
# export <identifier> <value> Set environment variable.
#
# synonym for export is setenv
#
# clipboard <directory> Set location of clipboard (default=c:\clipbrd)
# accpath <directory> Set location of accessories (default=c:\)
# run <program> <parameters....> Launch a GEM program
# debug <file/device|off> Set destination for debugging output, or turn it off (initially)
# The on/off status can be toggled later by CTRL-ALT-D
# (A compile time option can turn all debug output off)
# direct on Turn on direct AES calls (default is off)
# This can cause a substantial speed up, but is not as 'nice'
# Currently (beta7+/5) there seem to be some 'minor' problems
#--------------------------------------------------------------
#
# Extensions by Henk Robbers dec '99
#
# desk <program> <parameters...> Launch specifically the desktop program
# shell is currently same as desk
#
# Any number of white space is accepted
# More elaborate debugging designed to reduce the debug output mass
# Well defined debugpoints are:
# appl, /* includes client pool */
# evnt,
# multi, /* evnt_multi only */
# form,
# fsel,
# graf,
# menu,
# objc,
# rsrc,
# scrp,
# shell,
# wind,
# widg,
# mouse,
# button,
# keybd,
# sema, /* wind_update */
# rect, /* rectangle list code */
# trap, /* just the trap #2, nice to find out what a app actually is doing */
# pipe
#
# The letters a-z are ad hoc debug points.
# You can restrict output to a single program by putting debug statements
# (debug 1, debug all, debugpoint <list>) inside a options block for the program.
#
# Turn on/off the debug output
# 0/off, 1/on = general only, 2 = debugpoints, >2 or all = all
# debugpoint x ; x = one of the above listed debugpoints or a lower case letter
# debug all in combination with debugpoint or except means simply 'all but ...' :-)
# Send debug output to a file
# If debugging is off, regular messages will go to this file
debug xaaes.log
# Send debug to the screen
# debug screen
#debug 1
# Specify the maximum no of debug lines for the debug output file.
# The default is 10000
# Whenever the specified number is reached, XaAES will wrap around
# the debug file.
# This makes it possible to have a very long up time, without the
# danger of filling a partition completely.
# Very inportant to catch very rare crashes.
debug_lines 25000
# Send debug output to a serial port
# debug u:\dev\ttyb
# Send debug output to \dev\null (see also below)
# debug u:\dev\null
# extension since v0.932
# You can influence certain behaviours per application
# But first you must specify the default options:
# Of course when you are happy with the XaAES defaults you can leave
# options default completely out.
# since version 0.936 debug options as well.
options default
{
# show name of window owner in title
# windowner false ; or short or long
# Set window behaviour:
# xa_windows: Set them for modal dialogues that are put in a window by XaAES
# windows: Set them for all original windows.
# nomove: dont move (xa_windows only)
# nohide: dont hide. Non moveable windows are never hidden.
# noleft: inhibits moving windows out of the left side
# of the screen
# thinframe: In colour the light grey outer frame is only 1 line.
# thinwork The colour work area border is only a single black line.
# Some programs suffer rounding problems in colour (Pure C :-)
# live Also live moving and sizing
# xa_windows nomove,nohide ; nomove implies nohide
# windows nohide
windows live
#debug all
#except o,i,s,a,r,k,x
# debugpoint appl,shel,this
}
# Now you can specify a different behaviour for one or more programs:
options PC,Xcontrol
{
windows noleft, thinframe, thinwork
}
options thing
{
debugpoint trap
}
options aICQ ; Hi Joakim :-)
{
windows thinwork
}
options Heden|ik,morgen|gij
{
windowner long
xa_windows nomove,noleft
windows nohide
}
# set the menu behaviour:
# pull: normal; classic GEM is the default.
# push: you have to click on a title, MAC like
# leave: implies pull, in addition you dont have to click on the desktop.
# to cancel a pulled menu, just leave it.
# nolocking Do not lock the screen for poped or pulled menus
# (Not guaranteed to be correct yet!, but you can try
# it for a demonstration)
menu leave
# If you need progdefs run in supervisormode, uncomment:
# superprogdef
# If XaAES is build with fileselector, specify your favourite filters
# The defaults in the resourcefile are already very exhaustive. :-)
filters *, *.[atpg]*, *.[chs]*, *.l*, *.o*
# Specify commonly used texts of cancel buttons.
# these are triggered by pressing UNDO in all dialogues
cancel cancel,abbruch,annuler,avbryt,annuluj,afbryd,undo
# specifies the way window titles are displayed
# faint specified: untopped faint, topped normal
# bold specified: untopped normal, topped bold
# Only used in monochrome.
toppage faint
# Some example variables:
# the below are now truly local variables only (not environment!)
int w = 1280
int h = 1024
int dot = 46
string bslash = \
# Some usefull variables:
string thingv = thing ; or thing109
string root = c:\
string apps = d:\
string gsys = root + gemsys\
string uni = u:\
string widg = gsys + xaaes\widgets\
string tosrun = gsys + xaaes\tw\tw-call.app
string olga = gsys + "olga\olga.app"
string anotherexample = "TEST=rubbish"
# Set the default clipboard path
clipboard root + clipbrd\
# Set the accessory search path
#accpath root
accpath d:\deskacc\
# Set the launcher's initial path & filter
launcher gsys + xaaes\tw\*.[ATPG]*
#launcher apps + thingv + \*.[ATPG]*
# export certain strings to the environment
# NN.BB.! any of these that come after the first run/shell/desk are ignored
# The '=' between the 2 parts is optional
# The variable name will be converted to upper case
export avserver "THING "
export tosrun
export olgamanager olga
export TEST=rub\bish
export SDMASTER=d:\uzytki\shutdown\shutdown.app
export DISPLAY=127.0.0.1:0.0
export anotherexample
setenv tosrun1 = tosrun + 1
setenv PATH root + ; + gsys + xaaes + ; + apps + aaaa
setenv not-an-identifier not-an-identifier
# Optional: specify the names of the resource files
# Widgets in folder widgets
#widgets widg + adam.rsc ; modern art icons (Malewicheds :-) of Adam Klobukowski
#widgets widg + mboxwdg.rsc ; small mono boxchars (12*12 + (4 for 3D))
#widgets widg + mbox1214.rsc ; small mono boxchars (12*14 + (4 for 3D))
#widgets widg + mboxwidg.rsc ; large mono boxchars (16*16 + (4 for 3D)) (Easier to make)
#widgets widg + cboxwdg.rsc ; small colour boxchars (12*12 + (4 for 3D))
#widgets widg + cbox1214.rsc ; small colour boxchars (12*14 + (4 for 3D))
#widgets widg + cboxwidg.rsc ; large colour boxchars (16*16 + (4 for 3D)) (Easier to make)
#widgets widg + gilwidg.rsc ; nice round widgets of 'forgot his name'
#resource xa_mono.rsc ; all colour icons changed to mono icons
#widgets widg + monowidg.rsc ; mono icons (NO 3D widgets!)
# default resource names in XaAES's folder
#widgets xaaeswdg.rsc
#resource xaaes.rsc
# a demonststration: Try it! Just for fun
# popscroll 6
# mintmouse
# set the absoloute priority of XaAES.
# If absent, XaAES lowers its priority by 1
# It is recommended to have this statement before any launches, if it is used.
# priority 5
# Launch the desktop HR: in the future it might be usefull to know the desktops pid,
# so I've given it a seperate command 'shell' or 'desk' :-)
desk apps + thingv + \thing.app
# shell uni + c\gemsys\xaaes\teradesk\desktop.prg
# desk root + ming\Thing.app
# shell root + jinnee\jinnee.app
# desk root + ease\ease.prg
# shell e:\gemini2\Gemini.app
# shell e:\nodesk\noDesk.ovl
# Do some launches
# run aes + mltistrp\mltistrp.app
# run aes + taskbar\taskbar.prg
# run root + boxkite.prg
# run aes + explode.prg
# run root + mint\app\miniwin.app
run tosrun
run 'c:' + bslash + "gemsys\xaaes\explode" + #dot + #112 + 'rg'