[ overview : containers : components : style : config : functions ]
Biggles looks for two configuration files when it loads: the site-wide config.ini (located in the same directory as the Biggles source files), and per-user ~/.biggles. User trumps site.
The format should be clear from looking at config.ini, and you can get all the details here.
For example, here's my .biggles file:
% cat ~/.biggles [default] fontface = HersheySerif [printer] command = lpr -Plaser
You can set these parameters interactively as well, using the configure() function. For instance, to change the default printer command in the middle of a script, you would say
biggles.configure( 'printer', 'command', 'lpr -Plaser' )
The first argument is the section name, the second the parameter name, and the third the parameter's value. If you omit the first argument the section name is taken to be default, i.e.
is equivalent tobiggles.configure( 'fontface', 'HersheySerif' )
biggles.configure( 'default', 'fontface', 'HersheySerif' )
There are quite a few parameters in config.ini, but most don't need to be changed. Here are a few which users might want to override:
[ home ] [ last modified Nov 06 2001 ]