[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: emacs-w3m fails with exit code 128

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Hi,
>>>>>> In [emacs-w3m : No.05376]
>>>>>>	Gustaf Erikson <gustafe+usenet@openbsd.agero.se> wrote:
>> I'm using NtEmacs on WinXP Pro. I've installed Cygwin and compiled
>> w3m. It works fine from the Cygwin terminal.  When I try to browse
>> using "M-x w3m" I just get "Reading <site>..." and nothing ever gets
>> displayed. In the *Messages* buffer, I get:
>> Reading http://www.google.com...done
>> Cannot retrieve URL: http://www.google.com (exit status: 128)
>> Request sent, waiting for response...done
> I don't know unfortunately how emacs-w3m works under NTEmacs, so
> we need a help from those who use NTEmacs.  But I found a
> Japanese page written by the emacs-w3m and NTEmacs user.  Here's
> a translation:
> http://www.fastwave.gr.jp/diarysrv/yukikaze/200305c.html
>   Emacs doesn't depend on Cygwin.  Therefore w3m will call DLL
>   of Cygwin when emacs-w3m calls w3m.  For that purpose, the
>   `Path' environment variable needs to contain the directory
>   where DLL has been installed.  Otherwise w3m won't work
>   correctly.
> Could it help you?

Yes! It works!

To clarify: I added the "c:\cygwin\bin" directory to Windows %path%
variable. This, in addition to the above settings, mean that w3m now
works perfectly.


Gustaf Erikson <<< mobile: 073-338 76 18 >>> http://stureby.net/gustaf/
"Bewitched" does not promote Satanism.
                                                        -- Bart Simpson