HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Problem with ~/.hylarc
I was just messing with the ~/.hylarc file to try and change the output
faxstat to make it easier to parse. However with no luck - it seems to
completely ignore it.
After much digging around in the source, I think I have discovered why:
faxstat calls readConfig(), however it does so *before* opening the
connection to the server. This routine trolls through the config file
calling (eventually) FaxClient::setStatusFormat() which checks it there
is an open connection. If not then it just sets the option locally.
faxstat then opens the connection but never passes over the new format
string (e.g JOBFMT).
I performed a quick fix which was to re-read all the config files
*after* the connection was open. However this means the files get read
twice.
I would really like to be able to set this either using a command line
option or using an environment variable. Any way of doing this at the
moment. Anybody mind if I do some hacking? Does anyone else want this
feature?
Damian
--
______________________________________________________________________
* Damian Ivereigh * || || * Cisco Systems, Inc. *
* MIS Printer Admin * .||||. .||||. * 408-526-4413 *
* Linux Biggot * ..:||||||:..:||||||:.. * 800-800-1180 x64413 *
* damian@cisco.com * cisco Systems, Inc. * Fax: 408-527-2563 *
*______________________________________________________________________*