unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* fix for ange-ftp with VAX
@ 2006-08-12  9:49 Dean Kolosiek
  2006-08-31  7:33 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Dean Kolosiek @ 2006-08-12  9:49 UTC (permalink / raw)



I have a fix for lisp/net/ange-ftp.el with a VAX. The VAX has OpenVMS 
V6.2, and Multinet V4.1(16). This ftp server does not handle the 
'-al' part of the ls command. ange-ftp gives the ls -al command on 
the directory before determining that the host is vms. The result is 
that the first attempt to open a file fails. The problem repeats when 
the server times out the connection and ange-ftp connects again.

I am using Emacs 21.3 on Windows, and ange-ftp.el seems to be the 
same in 21.4. The change I made was to line 3094 in defun 
ange-ftp-file-name-as-directory:

original:

			     (ange-ftp-host-type (car parsed))

update:

			     (ange-ftp-host-type (car parsed) (nth 1 parsed))

This change passes the user name into ange-ftp-host-type so that it 
can ftp to the host to determine what the host type is, figures out 
it is vms, and uses DIR instead of ls -al. Without this change it 
just guesses that the host type is unix.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fix for ange-ftp with VAX
  2006-08-12  9:49 fix for ange-ftp with VAX Dean Kolosiek
@ 2006-08-31  7:33 ` Richard Stallman
  2006-08-31  8:25   ` Dean Kolosiek
       [not found]   ` <mailman.6091.1157039231.9609.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Richard Stallman @ 2006-08-31  7:33 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Would you like to try the latest development Emacs,
from CVS on savannah.gnu.org, and see if it has the same problem?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fix for ange-ftp with VAX
  2006-08-31  7:33 ` Richard Stallman
@ 2006-08-31  8:25   ` Dean Kolosiek
       [not found]   ` <mailman.6091.1157039231.9609.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Dean Kolosiek @ 2006-08-31  8:25 UTC (permalink / raw)
  Cc: bug-gnu-emacs


OK. It looks like the latest Windows build is 21.3, so I suspect I'll 
have to build the whole thing, rather than just trying ange-ftp.el

At 12:33 AM 8/31/2006, Richard Stallman wrote:
>Would you like to try the latest development Emacs,
>from CVS on savannah.gnu.org, and see if it has the same problem?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: fix for ange-ftp with VAX
       [not found]   ` <mailman.6091.1157039231.9609.bug-gnu-emacs@gnu.org>
@ 2006-08-31 19:30     ` martin
  0 siblings, 0 replies; 4+ messages in thread
From: martin @ 2006-08-31 19:30 UTC (permalink / raw)



>>>>> Dean Kolosiek <kolosiek@qwest.net> writes:
 >  OK. It looks like the latest Windows build is 21.3, so I suspect
 > I'll have to build the whole thing, rather than just trying
 > ange-ftp.el

Hi,

there are rather new builds on http://ntemacs.sourceforge.net/:
ntemacs23-bin-20060731.exe and ntemacs22-bin-20060731.exe

Cheers

Martin
-- 
parozusa at web dot de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-31 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-12  9:49 fix for ange-ftp with VAX Dean Kolosiek
2006-08-31  7:33 ` Richard Stallman
2006-08-31  8:25   ` Dean Kolosiek
     [not found]   ` <mailman.6091.1157039231.9609.bug-gnu-emacs@gnu.org>
2006-08-31 19:30     ` martin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).