Re: Alternate config files

Richard Hamilton <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
Brian,

"If the name of a configuration file given in a CONFIGFILE command 
doesn't include a directory, it will be looked for wherever analog 
expects to find its configuration files. (This location is a 
compile-time option.) For example, in the Windows version it would be in 
the same folder as the analog executable. This applies to the default 
and mandatory configuration files as well. But configuration files given 
with +g (***are relative to the current directory at the time you run 
the program***). "

Perhaps absolute paths are therefore not supported? Assuming you are in 
Linux I suggest you try using the dot dot notation for the parent 
directory. For example:

analog +G -g../lib_analog_config/alt_config.cfg

assuming you have run the executable from 
/usr/local/analog-6.03/lib_analog_config/

If you run it from ./analog-6.03/

on the other hand then you would only need to use 
-g/lib_analog_config/alt_config.cfg

Regards
Richard

Brian Clanton wrote:
> I have an alternate config files that I want analog to use.  
>
>
> analog +G -galt_config.cfg
>
> However, I have multiple config files, so to keep it organized, I have a
> specific directory for them:
>
> /usr/local/analog-6.03/lib_analog_config
>
> I've tried using the directory path in the statement that provides the
> location of the config file, but it doesn't seem to work properly:
>
> analog +G -g/usr/local/analog-6.03/lib_analog_config/alt_config.cfg
>
>
> What is the correct syntax to use to specify alternate config files in other
> directories?
>
> +------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |    http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Analog Documentation: http://analog.cx/docs/Readme.html
> |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> +------------------------------------------------------------------------
>
>   

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.