From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
The configuration file /etc/jwhois.conf uses lynx as default
browser-pathname, however lynx is no longer included in the distribution.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. jwhois redhat.se
Actual Results: [Querying
[HTTP: Unable to run web browser: No such file or directory]
Expected Results: Information about the redhat.se domain
Easily fixed by changing browser-pathname to /usr/bin/elinks in
/etc/jwhois.conf. Should be in the RPM though
* elinks doesn't support POST requests at all
* curl supports POST, but not in a format supported by jwhois
* w3m is not shipped in RHEL
I wrote a libcurl version of http whois fetching for jwhois, it uses
the configured browser to format the html. It also supports https and
sending multiple http requests to the same host (required for .fi
RPMS (source and fedora core 1) available from
The patch also fixes a segmentation fault when a configuration file is
Created attachment 103741 [details]
Backward-compatible internal libcurl support (POST only)
Created attachment 103742 [details]
Other features from jwhois-3.2.1-4os1, not included above
Thanks for your patch.
How about these two patches instead?
Unlike your original code this should be backward-compatible.
(The "extra" patch implements your features which will probably
not go in RHEL3; note that they both require setting "post-internal".)
I was not able to reproduce the segmentation fault.
If this looks fine, we should think about getting this accepted upstream.
This will probably require assignment to the FSF (i.e. removing
your and Red Hat copyright notices). Is it okay with you?
Your patches look good, and I think we should try to get them accepted
upstream. I already contacted the jwhois maintainer, Jonas Ãberg, a
few days ago and while he was intrested in applying the patch, he said
"Unfortunately, I don't have a lot of time to work on jwhois now, so I
don't know when a new version might be forthcoming."
Assigning copyrights to FSF is okay with me.
lynx was added in RHEL 3 update releases; on existing systems it can be installed
using up2date. Therefore the default jwhois configuration so this should no longer
be an issue.
The patches for using libcurl should not be needed anymore; I have sent them
upstream and if the upstream developer responds, I'll work with him to get them
Thanks again for your patches.