Next: Whois servers, Previous: Site Configuration, Up: Top
The global options of jwhois configure some basic facilities that are to be used for all hosts and queries made.
Note that the cache feature might have been disabled at compile time and
thus not be available on this system.
When querying for `wildebeest.se' for example, jwhois would look for an address se.whois-servers.net and query the appropriate server based on that information.
If you wish to make whois-servers.net-style queries
using another domain name than whois-servers.net, you
can change this option to the domain name you want.
browser-stdarg sets the arguments to pass to the browser in order to have the browser direct its options to the standard output. jwhois catches this information and displays it to the user.
browser-postarg sets the arguments used to enable a processing of POST requests.
post-as-file selects the way POST data is sent to the browser. If set to true, lynx-style processing is enabled, which means that the program, when passed the option specified in browser-postarg, should accept one variable per line of input on standard input, terminated with three dashes. If set to false, w3m-style processing is enabled, which means that the program, when passed this option, should consider the parameter that follows the one specified in browser-postarg as a file name from which to read POST data.
connect-timeout enables a timeout on connects to remote hosts. It should be set to a positive integer value. When the specified number of seconds have elapsed and the remote host hasn't answered, the connection will be aborted. If this option is not set, the default timeout is 75 seconds.
Examples:
cachefile = "/var/lib/jwhois.db";
cacheexpire = 168;
browser-pathname = "/usr/bin/lynx";
browser-stdarg = "-dump";
browser-postarg = "-post_data";
connect-timeout = 3;