Andrew Piskorski wrote:
Is there any good way to access the command line that AOLserver started with from the context of the nsd.tcl config file? It would be nice to be able to set different config settings based on nsd command line options.
I'm only guessing, but have you tried 'env' variable or command? It should be helpful to pass arguments to the AOLserver.
Also, you could write a config that uses some variables defined in another config. ie set ip 1.2.3.4 set host zoro2.pl source /root/realconfig.tcl where in realconfig.tcl you would do ns_section .../nssock ns_param address $ip -- WK (written at Stardate 56810.9) "Data typing is an illusion. Everything is a sequence of bytes." -Todd Coram