* RE: 1.3.2: Gnu Emacs Ange Ftp Fails
@ 2001-08-02 8:57 Robinow, David
2001-08-03 5:23 ` Ayamico Hamasaki
0 siblings, 1 reply; 4+ messages in thread
From: Robinow, David @ 2001-08-02 8:57 UTC (permalink / raw)
To: 'Ayamico Hamasaki', cygwin
> -----Original Message-----
> From: Ayamico Hamasaki [ mailto:ayamico@yahoo.com ]
> Subject: 1.3.2: Gnu Emacs Ange Ftp Fails
> I am using Gnu Emacs on Windows NT, using Ange-ftp to
> access remote Sun workstations. It used to be working.
Please note that Gnu Emacs is not a cygwin program
> But after I have upgraded cygwin recently, 2 August
> 2001, it no longer works. Whenever I am trying to
> access a remote file in the remote Sun Workstation, it
> just hang. I have to press control-G kill the ange ftp
> command.
>
> Milliken, Peter has isolated the problem to be in the
> cygwin package. I have gone a step further. It is
> because of the cygwin1.dll in version 1.3.2-1. If I
> replace the dll with the one in version 1.3.1-1, the
> problem goes away.
>
> Anyone has any clue ??
I have no clue. Maybe I would if you supplied some information as to how
cygwin might be involved. Obviously you and Peter are telling ange-ftp to
use cygwin. How?
Hint: post the "relevant" lines from your ~/.emacs
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: 1.3.2: Gnu Emacs Ange Ftp Fails
2001-08-02 8:57 1.3.2: Gnu Emacs Ange Ftp Fails Robinow, David
@ 2001-08-03 5:23 ` Ayamico Hamasaki
2001-08-03 6:03 ` Steven Whatley
0 siblings, 1 reply; 4+ messages in thread
From: Ayamico Hamasaki @ 2001-08-03 5:23 UTC (permalink / raw)
To: Robinow, David, cygwin
Hi,
I have done some more study on problem.
The Gnu Emacs Ange-ftp is using the cygwin FTP to
access a remote file. I have compared the behaviours
of both cygwin FTP 1.3.1-1 and FTP 1.3.2-1 using in
the cygwin bash shell running within GNU Emacs. I have
notice some subtle differences. With that I am able to
get around the problem by adding a line in my .emacs
file temporarily.
----------------------
When I am using cygwin FTP 1.3.1-1, the following is
what I see.
% ftp -i -n -g -v
open 180.8.33.125
Connected to 180.8.33.125.
220 sgsun325 FTP server (SunOS 5.6) ready.
Remote system type is UNIX.
Using binary mode to transfer files.
user fsng228
331 Password required for fsng228.
Password:
230 User fsng228 logged in.
ls
200 PORT command successful.
150 ASCII data connection for /bin/ls
(180.8.27.15,4025) (0 bytes).
total 37703
drwxr-xr-x 20 fsng228 sfw 1024 Aug 2 19:10
.
----------------------
When I am using cygwin FTP 1.3.2-1, the following is
what I see.
% ftp -i -n -g -v
open 180.8.33.125
Connected to 180.8.33.125.
220 sgsun325 FTP server (SunOS 5.6) ready.
user fsng228
Remote system type is UNIX.
Using binary mode to transfer files.
331 Password required for fsng228.
Password:
230 User fsng228 logged in.
ls
200 PORT command successful.
150 ASCII data connection for /bin/ls
(180.8.27.15,4661) (0 bytes).
total 37719
drwxr-xr-x 20 fsng228 sfw 1024 Aug 3 18:02
.
----------------------
The interesting thing is cygwin FTP 1.3.2-1 does not
flushed out all the ftp server responses to a non tty
terminal (bash shell running within GNU Emacs in this
case), whereas cygwin FTP 1.3.1-1 does. The line
"Remote system type is UNIX" should appear before
"user fsng228" which I entered.
I do not know why is there a difference between the
two versions. But with that knowledge, I can get
around the problem by adding this line in my .emacs
file.
(setq ange-ftp-ftp-program-args (list "-i" "-n" "-g"
"-v" "--prompt" ""))
The above line set the ftp prompt to be a null string
which will indirectly cause cygwin FTP 1.3.2-1 to
flush out all the ftp server responses it received
immediately.
Best Regards,
Ayamico Hamasaki
--- "Robinow, David" <drobinow@dayton.adroit.com>
wrote:
>
>
> > -----Original Message-----
> > From: Ayamico Hamasaki [ mailto:ayamico@yahoo.com ]
> > Subject: 1.3.2: Gnu Emacs Ange Ftp Fails
> > I am using Gnu Emacs on Windows NT, using Ange-ftp
> to
> > access remote Sun workstations. It used to be
> working.
> Please note that Gnu Emacs is not a cygwin program
>
> > But after I have upgraded cygwin recently, 2
> August
> > 2001, it no longer works. Whenever I am trying to
> > access a remote file in the remote Sun
> Workstation, it
> > just hang. I have to press control-G kill the ange
> ftp
> > command.
> >
> > Milliken, Peter has isolated the problem to be in
> the
> > cygwin package. I have gone a step further. It is
> > because of the cygwin1.dll in version 1.3.2-1. If
> I
> > replace the dll with the one in version 1.3.1-1,
> the
> > problem goes away.
> >
> > Anyone has any clue ??
> I have no clue. Maybe I would if you supplied some
> information as to how
> cygwin might be involved. Obviously you and Peter
> are telling ange-ftp to
> use cygwin. How?
> Hint: post the "relevant" lines from your ~/.emacs
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: 1.3.2: Gnu Emacs Ange Ftp Fails
2001-08-03 5:23 ` Ayamico Hamasaki
@ 2001-08-03 6:03 ` Steven Whatley
0 siblings, 0 replies; 4+ messages in thread
From: Steven Whatley @ 2001-08-03 6:03 UTC (permalink / raw)
To: Ayamico Hamasaki; +Cc: Robinow, David, cygwin
Ayamico,
Is the ange-ftp problem occurring with the native Win32 build of GNU
Emacs? It has been my experience using XEmacs Win32 native build that it
can't use the Cygwin ftp.exe but needs to use the MS Windows FTP.EXE.
I've had to rename the Cygwin ftp.exe to somthing like ftp.cyg so as to
not confuse XEmacs.
Later,
Steven
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* 1.3.2: Gnu Emacs Ange Ftp Fails
@ 2001-08-02 8:18 Ayamico Hamasaki
0 siblings, 0 replies; 4+ messages in thread
From: Ayamico Hamasaki @ 2001-08-02 8:18 UTC (permalink / raw)
To: cygwin
This problem has been reported by Milliken, Peter.
I am using Gnu Emacs on Windows NT, using Ange-ftp to
access remote Sun workstations. It used to be working.
But after I have upgraded cygwin recently, 2 August
2001, it no longer works. Whenever I am trying to
access a remote file in the remote Sun Workstation, it
just hang. I have to press control-G kill the ange ftp
command.
Milliken, Peter has isolated the problem to be in the
cygwin package. I have gone a step further. It is
because of the cygwin1.dll in version 1.3.2-1. If I
replace the dll with the one in version 1.3.1-1, the
problem goes away.
Anyone has any clue ??
Best Regards,
Ayamico
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-08-03 6:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-02 8:57 1.3.2: Gnu Emacs Ange Ftp Fails Robinow, David
2001-08-03 5:23 ` Ayamico Hamasaki
2001-08-03 6:03 ` Steven Whatley
-- strict thread matches above, loose matches on Subject: below --
2001-08-02 8:18 Ayamico Hamasaki
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).