>>>> "Andy" == Andy Piper <andyp(a)bea.com>
writes:
Andy> At 10:27 AM 10/16/01 +0100, Philip Aston wrote:
> Andy Piper writes:
> > This makes the cygwin version do the right thing.
> >
> > 2001-10-14 Andy Piper <andy(a)xemacs.org>
> >
> > * browse-url.el (browse-url-browser-function): do the windows
> > thing for cygwin.
>
>
> Hmmm.. not for me. I always get "file not found" from
> browse-url-default-windows-browser.
Andy> RIght. It requires a C-code change in XEmacs becuase
Andy> mswindows-shell-execute was broken under cygwin.
Andy your C code change from
2001-10-25 Andy Piper <andy(a)xemacs.org>
(Fmswindows_shell_execute): fix cygwin handling of URLs.
(syms_of_win32): add new function.
for cygwin handling of URL's doesn't seem to do the right thing here:
For example if calling mswindows-shell-execute with
http://xemacs.org/Documentation/index.html
I get the following in my running Netscape
http://xemacs.org\Documentation\index.html/
which results in a error message about Illegal Characters in Request.
My `browse-url-browser-function' is set to
Value: (("^mailto:" . browse-url-mail) ("." .
browse-url-default-windows-browser))
Here a couple of more examples:
(mswindows-shell-execute "open" "http://xemacs.org") OK
(mswindows-shell-execute "open" "http://xemacs.org/")
broken
->
http://xemacs.org\/ (in Netscape)
(mswindows-shell-execute "open"
"http://xemacs.org/Documentation/index.html/") broken
->
http://xemacs.org\Documentation\index.html\/ (in Netscape)
(mswindows-shell-execute "open" "file:///") OK
(mswindows-shell-execute "open" "file://e:/temp/") OK
(mswindows-shell-execute "open" "file:///temp/") OK
(mswindows-shell-execute "open" "file:///dev/c/temp/") OK
(mswindows-shell-execute "open" "file:///c/temp/") OK
(mswindows-shell-execute "open" "file://c:/temp/") OK
(mswindows-shell-execute "open" "ftp://vzell@vzell/temp")
broken
-> ftp://vzell@vzell\temp (in Netscape)
Following my Mount-table:
mount
C:\gnu on /gnu type system (binmode)
D:\bin on /usr/bin type system (binmode)
D:\lib on /usr/lib type system (binmode)
C: on /dev/c type system (binmode)
D: on / type system (binmode)
e: on /e type system (binmode,noumount)
f: on /f type system (binmode,noumount)
h: on /h type system (binmode,noumount)
mount -p
Prefix Type Flags
/ system binmode
By the way all the functions in JDE which use browse-url seem to work OK.
Andy> andy
Ciao
Volker