From owner-ntemacs-users@june  Tue Aug 27 15:02:26 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "27" "August" "1996" "17:19:29" "-0400" "Daniel Zen" "DanielZ@mamamedia.com" nil "25" "ANGE-FTP hostname completion" "^From:" nil nil "8" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id PAA15094 for <voelker@june.cs.washington.edu>; Tue, 27 Aug 1996 15:02:26 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id PAA41758 for <voelker@joker.cs.washington.edu>; Tue, 27 Aug 1996 15:02:25 -0700
Received: from park.interport.net (park.interport.net [199.184.165.2]) by june.cs.washington.edu (8.7.5/7.2ju) with ESMTP id OAA10453; Tue, 27 Aug 1996 14:19:35 -0700
Received: from interport.net (root@madison.nfs.interport.net [205.161.144.1]) by park.interport.net (8.7.3/8.7.3) with ESMTP id RAA09522; Tue, 27 Aug 1996 17:19:33 -0400 (EDT)
Received: from prophet.MaMaMedia.com ([206.98.237.35]) by interport.net (8.7.5/8.7.3) with SMTP id RAA00306; Tue, 27 Aug 1996 17:19:30 -0400 (EDT)
Message-Id: <1.5.4.32.19960827211929.006ae97c@interport.net>
X-Sender: danielz@interport.net
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
From: Daniel Zen <DanielZ@MaMaMedia.com>
To: ntemacs-users@cs.washington.edu
Cc: szurgot@itribe.net, voelker@cs.washington.edu
Subject: ANGE-FTP hostname completion
Date: Tue, 27 Aug 1996 17:19:29 -0400

Whoops:

(setq
 ange-ftp-tmp-name-template (concat (getenv "TEMP") "/ange-ftp")
 ange-ftp-gateway-tmp-name-template (concat (getenv "TEMP") "/ange-ftp")
)

should be:

(setq
 ange-ftp-tmp-name-template (concat (expand-file-name
				     (getenv "TEMP")) "/ange-ftp")
 ange-ftp-gateway-tmp-name-template (concat (expand-file-name
					     (getenv "TEMP")) "/ange-ftp")
)

so that references to /tmp/ are eliminated.

Apologies....

Daniel Zen			  MaMaMedia Digital Entertainment 
Creative Director                 The Soho Building
Multimedia Software Engineering   110 Greene Street, Suite 805
http://www.zzz.net		  New York, NY 10012
212-334-3277			  212-334-3276 (fax)

From owner-ntemacs-users@june  Tue Sep 17 13:43:21 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "17" "September" "1996" "15:00:32" "-0500" "Gamble Scott-G" "g10517@namerica.mot.com" nil "19" "ange-ftp and nt" "^From:" nil nil "9" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id NAA01077 for <voelker@june.cs.washington.edu>; Tue, 17 Sep 1996 13:43:20 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id NAA21635 for <voelker@joker.cs.washington.edu>; Tue, 17 Sep 1996 13:43:18 -0700
Received: from motgate2.mot.com (motgate2.mot.com [129.188.136.20]) by june.cs.washington.edu (8.7.5/7.2ju) with ESMTP id NAA25356 for <ntemacs-users@cs.washington.edu>; Tue, 17 Sep 1996 13:01:04 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate2.mot.com (8.7.3/8.6.10/MOT-3.8) with ESMTP id TAA04469 for <ntemacs-users@cs.washington.edu>; Tue, 17 Sep 1996 19:57:16 GMT
Received: from ilbd.mot.com (ilbd.mot.com [129.188.137.182]) by pobox.mot.com (8.7.3/8.6.10/MOT-3.8) with SMTP id PAA09024 for <ntemacs-users@cs.washington.edu>; Tue, 17 Sep 1996 15:00:39 -0500 (CDT)
Received: from s-il06-x.corp.mot.com by ilbd.mot.com with SMTP 	(1.38.193.5/16.2) id AA12419; Tue, 17 Sep 1996 15:00:18 -0500
Received: by s-il06-x.corp.mot.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5) 	id <01BBA4A8.F9EADB80@s-il06-x.corp.mot.com>; Tue, 17 Sep 1996 15:00:33 -0500
Message-Id: <c=US%a=_%p=mot%l=S-IL06-X-960917200032Z-10028@s-il06-x.corp.mot.com>
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
From: Gamble Scott-G10517 <g10517@NAmerica.mot.com>
To: "'ntemacs users'" <ntemacs-users@cs.washington.edu>
Subject: ange-ftp and nt
Date: Tue, 17 Sep 1996 15:00:32 -0500


   I am having a problem with ange-ftp.  

     If I do the following  

         C-x C-f   /foo@bar:some path

     the : between bar and some path gets interprted as c:/.
I did take the ange-ftp.el, and the ftp from the site as well.

Anyone know how to solve this problem????

************************************************************************
*
Scott Gamble                     HRIS Foundation
847-576-4899 
g10517@email.mot.com
************************************************************************
*

From owner-ntemacs-users@june  Thu Sep 19 11:37:22 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "19" "September" "1996" "13:52:52" "-0400" "David Biesack" "sasdjb@unx.sas.com" nil "43" "ange ftp and Microsoft Peer Web Services FTP server" "^From:" nil nil "9" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id LAA11913 for <voelker@june.cs.washington.edu>; Thu, 19 Sep 1996 11:37:22 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id LAA21196 for <voelker@joker.cs.washington.edu>; Thu, 19 Sep 1996 11:37:16 -0700
Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id KAA06377 for <ntemacs-users@cs.washington.edu>; Thu, 19 Sep 1996 10:53:10 -0700
Received: from mozart by lamb.sas.com (5.65c/SAS/Gateway/01-23-95) 	id AA20423; Thu, 19 Sep 1996 13:53:08 -0400
Received: from lambda.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) 	id AA21567; Thu, 19 Sep 1996 13:52:53 -0400
Received: by lambda.unx.sas.com (5.65c/SAS/Generic 9.01/3-26-93) 	id AA02920; Thu, 19 Sep 1996 13:52:52 -0400
Message-Id: <199609191752.AA02920@lambda.unx.sas.com>
From: David Biesack <sasdjb@unx.sas.com>
To: ange@hplb.hpl.hp.com, ntemacs-users@cs.washington.edu
Subject: ange ftp and Microsoft Peer Web Services FTP server
Date: Thu, 19 Sep 1996 13:52:52 -0400


Anyone try to use ange-ftp to find files on an NT (4.0 Workstation) node
running MS Peer Web Services (2.0) FTP server?  The MS ftp daemon seems
to respond incorrectly to the ange-ftp protocol when you try to find a
file:

  (find-file "/sasdjb@self.pc.sas.com/D/djb/cmd.cmd")

This puts me in a dired mode file named cmd.cmd which
has the contents:

  /sasdjb@self.pc.sas.com:/D/djb/cmd.cmd:
  ----------   1 owner    group             246 Aug 29 20:00 cmd.cmd

That is, the ftp server responds to the ls -al cmd.cmd/.  as if cmd.cmd
where a directory, not a file. 

The ftp log shows:

   D:\djb\cmd.cmd is a file, but ange-ftp does not know
   that so it first checks to see if it's a directory:
   ftp> 200 Type set to A.
   ftp> ls "-al /D/djb/cmd.cmd/." /tmp/ange-ftpa18852
   200 PORT command successful.
   150 Opening ASCII mode data connection for /bin/ls.

   226 Transfer complete.

(The server is configured to return Unix directory listing.)

>From the dired window, I can open the file fine, so I can always
do a dired first, but that's kind of a pain.

Anyone have fixes for the ftp daemon (or a workaround in ange ftp?)
(I tried the War FTP Daemon 1.20b but could not get it to work
correctly for bare ftp.)

thanks

-- 
David J. Biesack                                    sasdjb@unx.sas.com
Object Programming Technology                  (919) 677-8000 ext 7771
SAS Institute Inc. SAS Campus Drive Cary, NC 27513  http://www.sas.com

From owner-ntemacs-users@june  Thu Sep 19 15:14:15 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "19" "September" "1996" "17:31:05" "-0400" "David Goldschmidt" "gold@ccr-p.ida.org" nil "27" "Re: shell mode limitations " "^From:" nil nil "9" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id PAA15769 for <voelker@june.cs.washington.edu>; Thu, 19 Sep 1996 15:14:15 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id PAA30751 for <voelker@joker.cs.washington.edu>; Thu, 19 Sep 1996 15:14:13 -0700
Received: from idacrd.ccr-p.ida.org (idacrd.ccr-p.ida.org [206.181.22.66]) by june.cs.washington.edu (8.7.5/7.2ju) with ESMTP id OAA10310 for <ntemacs-users@cs.washington.edu>; Thu, 19 Sep 1996 14:31:58 -0700
Received: from idacrd.ccr-p.ida.org (daemon@localhost) by idacrd.ccr-p.ida.org (8.7.2/8.7.2) with ESMTP id RAA26447 for <ntemacs-users@cs.washington.edu>; Thu, 19 Sep 1996 17:32:57 -0400 (EDT)
Received: from ccr-p.ida.org (xida.ccr-p.ida.org [198.3.6.62]) by idacrd.ccr-p.ida.org (8.7.2/8.7.2) with SMTP id RAA26443 for <ntemacs-users@cs.washington.edu>; Thu, 19 Sep 1996 17:32:56 -0400 (EDT)
Received: from runner.ccr-p.ida.org (runner.ccr-p.ida.org [198.3.6.2]) by ccr-p.ida.org (8.6.12/8.6.12) with ESMTP id RAA22532; Thu, 19 Sep 1996 17:31:07 -0400
Received: from runner (gold@localhost [127.0.0.1]) by runner.ccr-p.ida.org (8.7.5/8.7.3) with ESMTP id RAA08008; Thu, 19 Sep 1996 17:31:07 -0400 (EDT)
Message-Id: <199609192131.RAA08008@runner.ccr-p.ida.org>
In-reply-to: Your message of "Thu, 19 Sep 1996 13:04:23 EDT."              <2.2.32.19960919170423.006e2758@ultranet.com> 
From: David Goldschmidt <gold@ccr-p.ida.org>
To: Paul Mitchell <paul_mitchell@neocortek.com>
cc: ntemacs-users@cs.washington.edu
Subject: Re: shell mode limitations 
Date: Thu, 19 Sep 1996 17:31:05 -0400

>>>>> "Paul" == Paul Mitchell <paul_mitchell@neocortek.com> writes:

    Paul> I'm running emacs-19.34.1 under win95.  Any shell I invoke via M-x
    Paul> shell-mode seems unable to run .bat files or even .exe files.  Most
    Paul> .bat files fail because they run out of environment space, while
    Paul> when I try to compile from within shell-mode the shell process just
    Paul> hangs.  Is anyone actually able to use shell-mode as their main
    Paul> command line interface under win95?  I grew to like this while
    Paul> working on a unix box and I'd like to be able to continue to use it
    Paul> under win95.

I fixed the environment problem by putting the following line in my
config.sys:

shell = c:\command.com /p /e:1000

I think the /e:xxxx sets the space for environment strings to xxxx bytes.
I've had limited success with running M-x shell.  I can run the djgpp
port of gcc (I guess I actually ran this with M-x compile, come to think
of it), I can run dir and simple stuff, but my typed commands are echoed,
even after I put a line in my .emacs suggested in the FAQ which was supposed
to fix this.  But when I tried to run a program of mine which runs for a long
time and outputs to the console frequently I didn't get any output and
finally killed it (BTW this wasn't easy).  I'm not sure if it bombed or if
there's some sort of buffering problem.

David Goldschmidt

From owner-ntemacs-users@june  Thu Oct 17 08:08:01 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "17" "October" "1996" "10:15:05" "-0400" "Jim Wilcoxson" "jim@meritnet.com" nil "14" "Ange-ftp performance" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id IAA03723 for <voelker@june.cs.washington.edu>; Thu, 17 Oct 1996 08:08:01 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id IAA31180 for <voelker@joker.cs.washington.edu>; Thu, 17 Oct 1996 08:07:58 -0700
Received: from meritnet.com (mail.meritnet.com [206.5.219.2]) by june.cs.washington.edu (8.7.6/7.2ju) with ESMTP id HAA01760 for <ntemacs-users@cs.washington.edu>; Thu, 17 Oct 1996 07:24:54 -0700
Received: from lap.meritnet.com (user-37kb9ma.dialup.mindspring.com [207.69.166.202]) by meritnet.com (8.7.5/8.7.5) with SMTP id KAA30805 for <ntemacs-users@cs.washington.edu>; Thu, 17 Oct 1996 10:24:48 -0400
Message-ID: <32663F68.5114@meritnet.com>
Organization: Merit Software, Inc.
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Jim Wilcoxson <jim@meritnet.com>
To: ntemacs-users@cs.washington.edu
Subject: Ange-ftp performance
Date: Thu, 17 Oct 1996 10:15:05 -0400

Many thanks for the Win95 port and ange-ftp stuff!  Not to knock
anybody's tools, but I noticed that the transfer rates of the special
ftp client were pretty lousy - about .5K/sec on my 28.8 connection. 
After running some tests I found that ASCII mode transfers are extremely
slow with this version of ftp.  I added:

  (defvar ange-ftp-binary-file-name-regexp ".*")

to my .emacs startup file so that all transfers are binary, and the
transfers are 6-10x faster (100 MHz 486 laptop).  This works fine for
editing text files on Unix machines.  I didn't see any mention of this
in the mail archives or FAQ.

Jim

From owner-ntemacs-users@june  Sat Nov  2 10:37:45 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Sat" " 2" "November" "1996" "12:56:19" "-0500" "Jim Wilcoxson" "jim@meritnet.com" nil "9" "Undo bug using ange-ftp" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id KAA02541 for <voelker@june.cs.washington.edu>; Sat, 2 Nov 1996 10:37:45 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id KAA30454 for <voelker@joker.cs.washington.edu>; Sat, 2 Nov 1996 10:37:43 -0800
Received: from meritnet.com (mail.meritnet.com [206.5.219.2]) by june.cs.washington.edu (8.7.6/7.2ju) with ESMTP id JAA01120 for <ntemacs-users@cs.washington.edu>; Sat, 2 Nov 1996 09:56:26 -0800
Received: from nt (nt.meritnet.com [206.5.219.3]) by meritnet.com (8.7.5/8.7.5) with SMTP id MAA08561 for <ntemacs-users@cs.washington.edu>; Sat, 2 Nov 1996 12:56:24 -0500
Message-ID: <327B8B43.63C5@meritnet.com>
Reply-To: jim@meritnet.com
Organization: Merit Software, Inc.
X-Mailer: Mozilla 3.0 (WinNT; I)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Jim Wilcoxson <jim@meritnet.com>
To: ntemacs-users@cs.washington.edu
Subject: Undo bug using ange-ftp
Date: Sat, 02 Nov 1996 12:56:19 -0500

I've noticed an undo problem when using the ange-ftp extension.  If you
read a file using ange-ftp, delete a character, save the file, then do
an undo, the undo occurs but the buffer is still tagged as unmodified. 
If I undo several commands (do 3 deletes, save, 3 undos), the buffer is
tagged modified after the first undo but goes back to unmodified after
the last one.  All this works correctly on local files.  Anybody have
any ideas?

Jim

From owner-ntemacs-users@june  Sat Nov  2 13:55:57 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Sat" " 2" "November" "1996" "14:23:34" "-0700" "Fabio Somenzi" "fabio@joplin.colorado.edu" nil "16" "Re: Undo bug using ange-ftp" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id NAA12182 for <voelker@june.cs.washington.edu>; Sat, 2 Nov 1996 13:55:56 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id NAA30031 for <voelker@joker.cs.washington.edu>; Sat, 2 Nov 1996 13:55:56 -0800
Received: from joplin.colorado.edu (joplin.Colorado.EDU [128.138.246.8]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id NAA11077 for <ntemacs-users@cs.washington.edu>; Sat, 2 Nov 1996 13:24:32 -0800
Received: (from fabio@localhost) by joplin.colorado.edu (8.6.12/8.6.9) id OAA00306; Sat, 2 Nov 1996 14:23:34 -0700
Message-Id: <199611022123.OAA00306@joplin.colorado.edu>
From: Fabio Somenzi <fabio@joplin.colorado.edu>
To: jim@meritnet.com
Cc: ntemacs-users@cs.washington.edu
Subject: Re: Undo bug using ange-ftp
Date: Sat, 2 Nov 1996 14:23:34 -0700

->I've noticed an undo problem when using the ange-ftp extension.  If you
->read a file using ange-ftp, delete a character, save the file, then do
->an undo, the undo occurs but the buffer is still tagged as unmodified. 
->If I undo several commands (do 3 deletes, save, 3 undos), the buffer is
->tagged modified after the first undo but goes back to unmodified after
->the last one.  All this works correctly on local files.  Anybody have
->any ideas?

I can only say that I've seen the same behavior on both Win95 and Linux.

Fabio
--
Fabio Somenzi          | Phone: 303-492-3466
University of Colorado | Fax:   303-492-2758
ECE Dept.              | Email: Fabio@Colorado.EDU
Boulder CO 80309-0425  | WWW:   http://vlsi.colorado.edu/~fabio

From owner-ntemacs-users@june  Tue Nov 12 16:46:41 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "12" "November" "1996" "15:45:41" "PST" "Mary Holstege" "holstege@firstfloor.com" nil "29" "Re: UNC names and NTemacs?" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id QAA02021 for <voelker@june.cs.washington.edu>; Tue, 12 Nov 1996 16:46:41 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id QAA28072 for <voelker@joker.cs.washington.edu>; Tue, 12 Nov 1996 16:46:40 -0800
Received: from firstfloor.COM (firstfloor.firstfloor.com [198.4.162.3]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id PAA27753 for <ntemacs-users@cs.washington.edu>; Tue, 12 Nov 1996 15:48:35 -0800
Received: from homeplate.firstfloor.COM by firstfloor.COM (SMI-8.6/SMI-SVR4) 	id PAA11255; Tue, 12 Nov 1996 15:43:38 -0800
Received: from ABBOTT by homeplate.firstfloor.COM (4.1/SMI-4.1) 	id AA06183; Tue, 12 Nov 96 15:45:41 PST
Message-Id: <9611122345.AA06183@homeplate.firstfloor.COM>
In-Reply-To: <wk7mnrrt9m.fsf@pachinko.pec.co.nz>
References: <9611122024.AA7506@> 	<wk7mnrrt9m.fsf@pachinko.pec.co.nz>
Reply-To: holstege@firstfloor.COM
From: Mary Holstege <holstege@firstfloor.COM>
To: Jason Rumney <jasonr@pec.co.nz>
Cc: ntemacs-users <ntemacs-users@cs.washington.edu>
Subject: Re: UNC names and NTemacs?
Date: Tue, 12 Nov 96 15:45:41 PST


Jason Rumney writes:
> 
> In article <9611122024.AA7506@>, Paul Koning/US/3Com <Paul_Koning/US/3Com%3COM@smtp1.isd.3com.com> writes:
> 
> > I was just fiddling around with a home LAN (WFW based) so I had
> > stuff out on the other machine that was known to my box with a UNC name
> > (\\node\dir\dir2\foo).
> 
> > Is there some way to get NTemacs to access such stuff?  I tried various
> > approaches using quoted names with backslashes, unquoted names with
> > backslashes or slashes, but nothing worked.
> 

I can get this notation to work, but ange-ftp interferes with it.
Once you have ange-ftp loaded, completion doesn't work.
What's more, you cannot do find-file from an ange-ftp buffer.  For example,
suppose I am editing:
    /holstege@otherhost:/home/holstege/somefile.c
and then try to 
    find-file //node/dir/newfile.txt
What I get is
    /holstege@otherhost:/node/dir/newfile.txt
which is obviously not going to work.

If you use ange-ftp this may explain your difficulties.

	-- Mary
	   Holstege@firstfloor.com

From owner-ntemacs-users@june  Fri Oct 18 01:56:19 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Fri" "18" "October" "1996" "09:12:58" "+0100" "Timothy Regan" "tim.regan@bt-sys.bt.co.uk" nil "30" "Re: Ange-ftp performance" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id BAA19787 for <voelker@june.cs.washington.edu>; Fri, 18 Oct 1996 01:56:19 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id BAA28730 for <voelker@joker.cs.washington.edu>; Fri, 18 Oct 1996 01:56:17 -0700
Received: from mailhub.axion.bt.co.uk (mailhub.axion.bt.co.uk [132.146.5.4]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id BAA18535 for <ntemacs-users@cs.washington.edu>; Fri, 18 Oct 1996 01:07:13 -0700
Received: from rambo.futures.bt.co.uk by mailhub.axion.bt.co.uk with SMTP (PP); Fri, 18 Oct 1996 09:06:40 +0100
Received: from argon.bt-sys.bt.co.uk by rambo.futures.bt.co.uk with SMTP (PP); Fri, 18 Oct 1996 09:06:31 +0100
Received: from silver.bt-sys.bt.co.uk by argon.bt-sys.bt.co.uk (4.1/SMI-4.1) id AA12690; Fri, 18 Oct 96 09:13:00 BST
Received: by silver.bt-sys.bt.co.uk (5.x/SMI-SVR4) id AA12880; Fri, 18 Oct 1996 09:12:58 +0100
Message-Id: <9610180812.AA12880@silver.bt-sys.bt.co.uk>
X-Sun-Charset: US-ASCII
From: tim.regan@bt-sys.bt.co.uk (Timothy Regan)
To: ntemacs-users@cs.washington.edu
Subject: Re: Ange-ftp performance
Date: Fri, 18 Oct 1996 09:12:58 +0100


Hi All,


Ange-ftp has transformed my experience of Windoze 95. No more X
sessions just to run emacs. However if I get the syntax wrong, for
example

  /tregan@bt-sys.bt.co.uk:/home/tregan/

instead of

  /tregan@silver.bt-sys.bt.co.uk:/home/tregan/

emacs hangs and needs to be killed via ctrl-alt-del.


Also if I realize that I've misstyped the password and hit delete,
emacs complains "non-character input event".


Any guesses whats up and how to fix them?



			Cheers,



			 Tim.

From owner-ntemacs-users@june  Mon Nov 18 17:19:49 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" "18" "November" "1996" "16:23:35" "PST" "Mary Holstege" "holstege@firstfloor.com" nil "56" "UNC names and ange-ftp, how I fixed it" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id RAA25864 for <voelker@june.cs.washington.edu>; Mon, 18 Nov 1996 17:19:49 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id RAA01921 for <voelker@joker.cs.washington.edu>; Mon, 18 Nov 1996 17:19:47 -0800
Received: from firstfloor.COM (firstfloor.firstfloor.com [198.4.162.3]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id QAA19889 for <ntemacs-users@cs.washington.edu>; Mon, 18 Nov 1996 16:23:24 -0800
Received: from homeplate.firstfloor.COM by firstfloor.COM (SMI-8.6/SMI-SVR4) 	id QAA22240; Mon, 18 Nov 1996 16:21:25 -0800
Received: from ABBOTT by homeplate.firstfloor.COM (4.1/SMI-4.1) 	id AA08721; Mon, 18 Nov 96 16:23:36 PST
Message-Id: <9611190023.AA08721@homeplate.firstfloor.COM>
Reply-To: holstege@firstfloor.COM
From: Mary Holstege <holstege@firstfloor.COM>
To: ntemacs-users@cs.washington.edu
Subject: UNC names and ange-ftp, how I fixed it
Date: Mon, 18 Nov 96 16:23:35 PST


To recap, my problem was that certain file operations failed when
I was performing them from a buffer that was being managed via ange-ftp
magic.  So, for example, if I was looking at the file
    /holstege@unixbox:/home/holstege/work/stuff.txt
and then I tried to access a file with a UNC path, such as
    //ntbox/shared/holstege/more.txt
I would end up looking at
    /holstege@unixbox:/home/holstege/work/ntbox/shared/holstege/more.txt

This also interfered with my printing setup, as I was just doing a
ps-print-buffer-with-faces direct to the printer, e.g. "//printhost/printer"
So to print I would have to copy the file into a local buffer and then print
it.  

Various kind people suggested I upgrade ange-ftp, or sent me versions they
had tweaked and were using successfully.  I thank you, but none of this
made the slightest bit of difference.

I don't fully understand it all, but it boiled down to this:
(expand-file-name "//node/path") returned "node/path" from remote ange-ftp
buffers and "//node/path" from local buffers.

I ended up changing the function ange-ftp-real-expand-file-name-actual
itself.  This function is used only on Win95/NT and chops off spurious drive
letters.  It seems that it assumes those drive letters will always be there and
in some cases they are not.  Here is the fixed function (it is way down at
the end of ange-ftp.el):

(defun ange-ftp-real-expand-file-name-actual (&rest args) 
  (setq old-name (car args)) 
  (setq new-name (ange-ftp-run-real-handler 'expand-file-name args)) 
  (setq drive-letter (substring new-name 0 2) ) 
  ;; I'd like to distill the following lines into one (if) statement 
  ;;   removing the need for the temp final variable 
  (setq final new-name) 
  (if ( not (equal (substring old-name 0 1) "~") )
      (if (and (or (< (length old-name) 2) 
						 (not (string-match "/[a-zA-Z]:" old-name) ) )
					(string-match "[a-zA-Z]:" new-name))
	  (setq final (substring new-name 2) ) ) ) 
  final) 

I hope this isn't something so bizarre in my configuration that this isn't
of use to someone else!


	-- Mary
	   Holstege@firstfloor.com

| Mary Holstege, PhD
| First Floor Software                    (415) 254-5161
| 444 Castro Street, Suite 200            (415) 968-1193 (Fax)
| Mountain View, CA 94041
| 
| http://www-cs-students.stanford.edu/~holstege

From owner-ntemacs-users@june  Tue Nov 19 08:17:50 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "19" "November" "1996" "09:25:39" "-0600" "Milt Epstein" "epstein@cd.com" nil "92" "Re: UNC names and ange-ftp, how I fixed it" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id IAA14167 for <voelker@june.cs.washington.edu>; Tue, 19 Nov 1996 08:17:50 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id IAA01847 for <voelker@joker.cs.washington.edu>; Tue, 19 Nov 1996 08:17:48 -0800
Received: from beltway (beltway.cd.com [204.217.30.66]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id HAA10784 for <ntemacs-users@cs.washington.edu>; Tue, 19 Nov 1996 07:05:13 -0800
Received: from bif.cd.com by beltway (5.x/SMI-SVR4) 	id AA09350; Tue, 19 Nov 1996 09:04:23 -0600
Received: from localhost by bif.cd.com (4.1/SMI-4.1) 	id AA23853; Tue, 19 Nov 96 09:25:39 CST
In-Reply-To: <9611190023.AA08721@homeplate.firstfloor.COM>
Message-Id: <Pine.SUN.3.94.961119084304.22958A-100000@bif>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
From: Milt Epstein <epstein@cd.com>
Sender: epstein@cd.com
To: Mary Holstege <holstege@firstfloor.COM>
Cc: ntemacs-users@cs.washington.edu
Subject: Re: UNC names and ange-ftp, how I fixed it
Date: Tue, 19 Nov 1996 09:25:39 -0600 (CST)

On Mon, 18 Nov 1996, Mary Holstege wrote:

[ ... ]
> I ended up changing the function
> ange-ftp-real-expand-file-name-actual itself.  This function is used
> only on Win95/NT and chops off spurious drive letters.  It seems
> that it assumes those drive letters will always be there and in some
> cases they are not.  Here is the fixed function (it is way down at
> the end of ange-ftp.el):
> 
> (defun ange-ftp-real-expand-file-name-actual (&rest args)
>   (setq old-name (car args))
>   (setq new-name (ange-ftp-run-real-handler 'expand-file-name args))
>   (setq drive-letter (substring new-name 0 2) )
>   ;; I'd like to distill the following lines into one (if) statement
>   ;;   removing the need for the temp final variable
>   (setq final new-name)
>   (if (not (equal (substring old-name 0 1) "~"))
>     (if (and (or (< (length old-name) 2)
>                  (not (string-match "/[a-zA-Z]:" old-name)))
>              (string-match "[a-zA-Z]:" new-name))
>       (setq final (substring new-name 2))))
>   final)
> 
> I hope this isn't something so bizarre in my configuration that this isn't
> of use to someone else!

I know basically nothing about ange-ftp, but I do know lisp, and this
function looks quite odd to me (i.e. commenting more from a
syntactic/programming point of view rather than a semantic one).  It
mostly has to do with emacs-lisp's concept of global/local variables
(OK, OK, it really has to do with scope/extent, but those are trickier
concepts, and it can be intuitively understood by thinking of them as
global/local variables).

Basically, when you see something like:

(setq old-name ...)

*where old-name has not been mentioned previously in the function*, it
is referencing/changing the global variable old-name.  Now in many
cases in emacs-lisp, this is something you do intentionally (e.g. it
allows using user-settable variables/options).  However, in many
cases, it is a very bad thing to do.  For example, one thing you don't
want to use it for is to create temporary/local variables in a
function (this can have nasty, unintended, hard-to-debug
side-effects).  And it looks like that is what it is being used for
above.

For example, I could find no reference to the variables old-name,
new-name, and drive-letter anywhere else in the emacs-lisp code I
have.  And especially no declaration of them via defvar (which is
typical for emacs-lisp global variables).  They seem only to be being
used as temporary variables.  (Actually, it's doubly odd that
drive-letter is not even used later in the function.)

So, basically there's two possibilities here.  First, these variables
were really intended to be global (and must be being used somewhere
else that I can't find, e.g. perhaps in a code file that I don't
have).  If this is the case, however, these variables should be
defvar'ed (which could be happening in that other file), and more
specific/descriptive names should be used.

If they're not, then this function should be rewritten to avoid the
use of global variables.  (And from the comment about the temp final
variable, it kind of indicates that this is what is happening here.)

The way to use local variable in emacs-lisp is to use let (and it's
cousin, let*).  So, assuming that we really do want to use local
variables here, this is how I'd rewrite the above function (like I
said, I can't really comment on the semantics of the function):

(defun ange-ftp-real-expand-file-name-actual (&rest args)
  (let* ( (old-name (car args))
          (new-name (ange-ftp-run-real-handler 'expand-file-name args))
          (drive-letter (substring new-name 0 2)) )
    (if (not (equal (substring old-name 0 1) "~"))
      (if (and (or (< (length old-name) 2)
                   (not (string-match "/[a-zA-Z]:" old-name) ) )
               (string-match "[a-zA-Z]:" new-name))
         (setq new-name (substring new-name 2))))
    new-name))

Note: Once a local variable has been created/declared via a let, you
can freely use setq on it in the body of that let.

Milt Epstein
Software Engineer
Central Data Corporation
epstein@cd.com
WWW: http://www.cd.com/
FTP: ftp.cd.com

From owner-ntemacs-users@june  Wed Nov 20 02:23:27 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Wed" "20" "November" "1996" "09:32:29" "+0000" "Ronan Waide" "waider@autodealing.com" nil "24" "Re: UNC names and ange-ftp, how I fixed it" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id CAA09602 for <voelker@june.cs.washington.edu>; Wed, 20 Nov 1996 02:23:27 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id CAA01976 for <voelker@joker.cs.washington.edu>; Wed, 20 Nov 1996 02:23:26 -0800
Received: from mail (gate.autodealing.com [194.125.131.131]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id BAA05283 for <ntemacs-users@cs.washington.edu>; Wed, 20 Nov 1996 01:34:28 -0800
Received: from waider.autodealing.com(really [194.9.15.139]) by mail 	via sendmail with smtp 	id <m0vQ91B-000AznC@mail> 	for <ntemacs-users@cs.washington.edu>; Wed, 20 Nov 96 09:32:29 +0000 (GMT) 	(Smail-3.1.93 1996-May-30 #2 built 1996-Jun-28)
Message-Id: <m0vQ91B-000AznC@mail>
In-Reply-To: <Pine.SUN.3.94.961119084304.22958A-100000@bif>
References: <9611190023.AA08721@homeplate.firstfloor.COM> 	<Pine.SUN.3.94.961119084304.22958A-100000@bif>
Organization: AutoDealing Software, Ltd.
From: Ronan Waide <waider@autodealing.com>
To: ntemacs-users@cs.washington.edu
Subject: Re: UNC names and ange-ftp, how I fixed it
Date: Wed, 20 Nov 96 09:32:29 +0000 (GMT)

On November 19, Milt Epstein said:
> 
> (defun ange-ftp-real-expand-file-name-actual (&rest args)
>   (let* ( (old-name (car args))
>           (new-name (ange-ftp-run-real-handler 'expand-file-name args))
>           (drive-letter (substring new-name 0 2)) )
>     (if (not (equal (substring old-name 0 1) "~"))
>       (if (and (or (< (length old-name) 2)
>                    (not (string-match "/[a-zA-Z]:" old-name) ) )
>                (string-match "[a-zA-Z]:" new-name))
>          (setq new-name (substring new-name 2))))
>     new-name))

Which is all very nice and neatly reproduces the effects of the
original, but unfortunately the original mods seem to have broken
.netrc completion - actually, I think the original (virtunix)
distributed version has/had the same problem, but I had at some point
managed to fix this. *sigh* Back to the drawing board.

Waider.
-- 
waider@autodealing.com / AutoDealing Software Ltd / +353-1-6766455

Someone got their mojo working and all I got was this Indian spirit guide.

From owner-ntemacs-users@june  Mon Nov 25 05:05:55 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" "25" "November" "1996" "07:16:31" "-0500" "andreas@sccon.com" "andreas@sccon.com" nil "26" "ange-ftp, emacs-19.34, NT 4.0" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.3+CSE/7.2ju) with SMTP id FAA00121 for <voelker@june.cs.washington.edu>; Mon, 25 Nov 1996 05:05:54 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id FAA28526 for <voelker@joker.cs.washington.edu>; Mon, 25 Nov 1996 05:05:53 -0800
Received: from bort.mv.net (bort.mv.net [192.80.84.6]) by june.cs.washington.edu (8.8.3+CSE/7.2ju) with ESMTP id EAA28957 for <ntemacs-users@cs.washington.edu>; Mon, 25 Nov 1996 04:16:38 -0800
Received: from LIFELINE.sccon.com (test.med.iacnet.com [140.244.2.88]) by bort.mv.net (8.8.3/mem-951016) with SMTP id HAA05257 for <ntemacs-users@cs.washington.edu>; Mon, 25 Nov 1996 07:16:31 -0500 (EST)
Message-Id: <199611251216.HAA05257@bort.mv.net>
From: andreas@sccon.com
To: ntemacs-users@cs.washington.edu
Subject: ange-ftp, emacs-19.34, NT 4.0
Date: Mon, 25 Nov 1996 07:16:31 -0500 (EST)


hi all...

i just upgrade my workstation from NT 3.51 to NT 4.0 and have been
testing my programs and have found a problem with ange-ftp and emacs
19.34...

now all this worked with NT 3.51...

when i ange-ftp to a unix workstation and i have the following line
entered in the mini-buffer...

/prep.ai.mit.edu:/pub

what it gets translated to is:

/prep.ai.mit.edu:c:/pub

has anyone else seen this type of behavior...  and are there any fixes
as i use ange-ftp quit a bit...

i am using the ftp.exe as recommended in the faq and as i said all
worked in NT 3.51...

thanks in advance,
andreas

From owner-ntemacs-users@june  Mon Jun 24 15:08:41 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" "24" "June" "1996" "14:04:10" "-0700" "Chris McMahan" "cmcmahan@teknowledge.com" nil "30" "Re: ange-ftp problem in search of a solution" "^From:" nil nil "6" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id PAA10306 for <voelker@june.cs.washington.edu>; Mon, 24 Jun 1996 15:08:41 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id PAA30842 for <voelker@joker.cs.washington.edu>; Mon, 24 Jun 1996 15:08:40 -0700
Received: from silicon.Teknowledge.COM (silicon.Teknowledge.COM [128.136.240.12]) by june.cs.washington.edu (8.7.5/7.2ju) with ESMTP id OAA04377 for <ntemacs-users@cs.washington.edu>; Mon, 24 Jun 1996 14:10:25 -0700
Received: (from cmcmahan@localhost) by silicon.Teknowledge.COM (8.7.1/8.7.1) id OAA00849; Mon, 24 Jun 1996 14:04:10 -0700 (PDT)
Message-Id: <199606242104.OAA00849@silicon.Teknowledge.COM>
In-Reply-To: <17245440611784@zianet.com>
References: <9606222110.AB01477@novdpd.zilker.net> 	<18434104608429@zianet.com> 	<17245440611784@zianet.com>
From: cmcmahan@Teknowledge.COM (Chris McMahan)
To: Ken Brunell <ken@zianet.com>
CC: ntemacs-users@cs.washington.edu
Subject: Re: ange-ftp problem in search of a solution
Date: Mon, 24 Jun 1996 14:04:10 -0700 (PDT)

I've had the same problem from the start. The workaround I use is to
leave off the last letter or two from the filename, and let ange-ftp
complete it. This seems to load the directory tree correctly, and
everything else works from that point on.

I'd really appreciate a fix for this one!!!

Chris


>>> "KB" == Ken Brunell <ken@zianet.com> writes:
KB> Ken Brunell expounds:
>> Alfred Correira expounds:
>> > I can't get ange-ftp to work properly for me.  I *can* succesfully visit a
>> I have observed this same behavior.  I have found that I can't
>> retrieve anything with mixed-case in the path or file name.  I tried
KB> [...]

KB> Also, if I ask for, say, "index.html" it loads up dired and shows me a
KB> directory listing of that one file.  If I hit e to edit it from there,
KB> it gives (new file) as well.

KB> -Ken

==========================================================
Chris McMahan              	cmcmahan@teknowledge.com	
Teknowledge Corporation	      http://www.teknowledge.com/
(415) 424-0500
==========================================================
Hukt on fonix werkt fore me!

From owner-ntemacs-users@trout  Sun Apr  6 15:04:24 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Sun" " 6" "April" "1997" "16:32:29" "-0500" "TK Harris" "thomas@netdoor.com" nil "30" "Re: ange-ftp chmode fails on unix host" "^From:" nil nil "4" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id PAA04709 for <voelker@june.cs.washington.edu>; Sun, 6 Apr 1997 15:04:23 -0700
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id PAA17247 for <voelker@joker.cs.washington.edu>; Sun, 6 Apr 1997 15:04:22 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id OAA25963 for <ntemacs-users@trout.cs.washington.edu>; Sun, 6 Apr 1997 14:32:12 -0700 (PDT)
Received: from pike.netdoor.com (pike.netdoor.com [208.137.128.6]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id OAA03730 for <ntemacs-users@cs.washington.edu>; Sun, 6 Apr 1997 14:32:11 -0700
Received: from scimitar.netdoor.com (scimitar.netdoor.com [208.137.128.4])           by pike.netdoor.com (8.8.5/8.8.4) with SMTP 	  id QAA16182; Sun, 6 Apr 1997 16:32:03 -0500 (CDT)
In-Reply-To: <199704051139.NAA11115@stork.EMBL-Heidelberg.DE>
Message-ID: <Pine.WNT.3.96.970406162744.223A-100000@scimitar.netdoor.com>
X-X-Sender: thomas@pike.netdoor.com
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
From: TK Harris <thomas@netdoor.com>
To: David Starks-Browning <David.Starks-Browning@EMBL-Heidelberg.de>
cc: NT Emacs Users <ntemacs-users@cs.washington.edu>,         David Starks-Browning <starks@EMBL-Heidelberg.de>,         Andy Norman <ange@hplb.hpl.hp.com>
Subject: Re: ange-ftp chmode fails on unix host
Date: Sun, 6 Apr 1997 16:32:29 -0500 (Central Daylight Time)


> I'm just starting with ntemacs 19.34.1 on Win95.  I got the latest patched
> ftp.exe and ange-ftp.el.
> 
> I need ange-ftp & dired to work together properly when the remote host is
> unix.  How can I do that?  Locally on Win95, using dired on a remote unix
> host's directory through ange-ftp, and typing M to change the protection
> mode of the remote file, returns
> 
> chmode ("666" "lsfpmon.log.alpha6")
> Unknown remote command: chmode
> 
> chmode 666: error
> 	Sat Apr 05 13:22:39 1997	Buffer `lsflog'
> 
> I take it that "chmode" is the nt-version of "chmod" in unix?

In ange-ftp.el, the line

	  (cond ((equal "chmod" program)

should be

	  (cond ((equal dired-chmod-program program)

And somehow it should know to refresh the a direcry list as well.

TK Harris, IT Manager                      (601) 969-1434
NetDoor -> http://www.netdoor.com     FAX: (601) 969-3838


From seang@mail.emi.net  Sat Apr 19 16:11:14 1997
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[nil "Sat" "19" "April" "1997" "19:23:44" "-0400" "Sean Gibson" "seang@mail.emi.net" "<199704192321.TAA23585@florence.emi.net>" "18" "Using ftp to access files on a UNIX system from NT Emacs" "^From:" nil nil "4" nil nil nil nil]
	nil)
Received: from florence.emi.net (mail.emi.net [204.181.45.5]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id QAA25611 for <voelker@cs.washington.edu>; Sat, 19 Apr 1997 16:11:13 -0700
Received: from mail.emi.net (osaka04.emi.net [204.251.248.131]) by florence.emi.net (8.6.10/8.6.10) with SMTP id TAA23585 for <voelker@cs.washington.edu>; Sat, 19 Apr 1997 19:21:06 -0400
Message-Id: <199704192321.TAA23585@florence.emi.net>
X-Mailer: Microsoft Internet Mail and News for Macintosh - 1.5b1 (45)
Mime-version: 1.0
Content-type: text/plain; charset="us-ascii"
Content-transfer-encoding: 7bit
From: Sean Gibson <seang@mail.emi.net>
To: voelker@cs.washington.edu
Subject: Using ftp to access files on a UNIX system from NT Emacs
Date: Sat, 19 Apr 1997 19:23:44 -0400

Geoff,

First let me say that I really appreciate the information that you maintain
regarding Emacs for Windows NT.  It has been very useful.

I read through the information regarding downloading the new ftp.exe for
Windows NT Emacs.  Ftp is now working within Emacs, but I am having problems
using it to edit files on a UNIX system.  It appears that when Emacs tries
to list the files on the UNIX system that it is prepending c: onto the front
of the current directory, which doesn't work.  It appears that Emacs is
assuming that the UNIX file system is really a PC file system.  How does
Emacs determine what kind of system it is ftping from?  Is there a way that
I can change the Emacs functions to use ftp to access UNIX directories?

Thanks for the help,

Sean Gibson
seang@mail.emi.net

From waider@autodealing.com  Thu Mar 20 09:35:20 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "20" "March" "1997" "17:25" "GMT" "Ronan Waide" "waider@autodealing.com" nil "25" "suggestion for multiple disk handling in nt/emacs" "^From:" nil nil "3" nil nil nil nil]
	nil)
Received: from mail (gate.autodealing.com [194.125.131.131]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id JAA29103 for <voelker@cs.washington.edu>; Thu, 20 Mar 1997 09:35:18 -0800
Received: from waider.cognotec.com by mail with smtp 	(Smail3.1.29.1 #3) id m0w7lbB-002mKCC; Thu, 20 Mar 97 17:25 GMT
Message-Id: <m0w7lbB-002mKCC@mail>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: VM 6.20 under Emacs 19.34.1
Organization: AutoDealing Software, Ltd.
From: Ronan Waide <waider@autodealing.com>
To: Geoff Voelker <voelker@cs.washington.edu>,         Andrew Innes <andrewi@harlequin.co.uk>
Subject: suggestion for multiple disk handling in nt/emacs
Date: Thu, 20 Mar 97 17:25 GMT

Hiho,

having stumbled across yet another bizarre ange-ftp/emacs interaction
which I haven't yet looked into - attaching a remote file to a mail
message using vm 6.20 results in failure since /something/ prepends a
"c:" to the ange-ftp filename - I came up with the following potential
workaround for drive-related problems:

Why not map all drives to pseudo-directories such that c:/foo becomes
/c/foo, d:/foo becomes /d/foo, etc. This would, in theory, remove the
ange-ftp related problems; additionally, it'd avoid confusion over
filenames that /don't/ specify the drive, and also it'd prevent dired
from whining about directories not having a common parent (saw that
bug mentioned on the list recently). On the downside, you'd have to
support d:/ notation anyway to keep people happy, I guess.

Oh well, just my $0.02...

Cheers,
Waider.
-- 
waider@autodealing.com / AutoDealing Software Ltd. / +353-1-6766455

HTML is the computer equivalent of running over a page of text with a
few coloured pens, some nice pictures and some glue.

From owner-ntemacs-users@cs.washington.edu  Tue Jun 17 12:47:37 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "17" "June" "1997" "14:46:07" "-0400" "Norman Walsh" "norm@berkshire.net" nil "41" "ange-ftp in NT emacs (and odd ^M problem!)" "^From:" nil nil "6" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id MAA00253 for <voelker@june.cs.washington.edu>; Tue, 17 Jun 1997 12:47:37 -0700
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id MAA29806 for <voelker@joker.cs.washington.edu>; Tue, 17 Jun 1997 12:47:36 -0700
Received: (majordom@localhost) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) id LAA25553 for ntemacs-users-outgoing; Tue, 17 Jun 1997 11:47:49 -0700 (PDT)
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id LAA25549 for <ntemacs-users@trout.cs.washington.edu>; Tue, 17 Jun 1997 11:47:44 -0700 (PDT)
Received: from loomis.berkshire.net (berkshire.net [206.72.196.14]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id LAA24973 for <ntemacs-users@cs.washington.edu>; Tue, 17 Jun 1997 11:47:42 -0700
Received: from mergalang.berkshire.net (norm2.berkshire.net [206.72.196.74]) by loomis.berkshire.net (8.8.5/8.7.1) with SMTP id OAA22879 for <ntemacs-users@cs.washington.edu>; Tue, 17 Jun 1997 14:49:36 -0400 (EDT)
Message-ID: <2690-Tue17Jun1997144607-0400-norm@berkshire.net>
References: <2440-Thu05Jun1997104011-0400-norm@berkshire.net>
Reply-to: norm@berkshire.net
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
In-Reply-To: Norman Walsh's message of Thu,  5 Jun 1997 10:40:11 -0400
Lines: 41
X-Mailer: Gnus v5.4.55/Emacs 19.34
Precedence: bulk
From: Norman Walsh <norm@berkshire.net>
Sender: owner-ntemacs-users@cs.washington.edu
To: ntemacs-users@cs.washington.edu
Subject: ange-ftp in NT emacs (and odd ^M problem!)
Date: Tue, 17 Jun 1997 14:46:07 -0400

Hello world,

Despite the efforts of a half dozen or more kind souls, I was
never able to get ange-ftp working from NT Emacs with any simple
reconfiguration.

I finally dug my way down into the elisp and found the problem.
Or rather, I found a solution, but if someone else can suggest
why the change described below is necessary for me but, apparently,
no one else, I'd love to hear about it.

On line 1503 in ange-ftp.el, about 12 lines down from the top of
ange-ftp-process-filter, there is some code designed to handle the
hash marks returned by the ftp client:

1501	      ;; handle hash mark printing
1502	      (and ange-ftp-process-busy
1503		   (string-match "^#+$" str)
1504		   (setq str (ange-ftp-process-handle-hash str)))

On my machine, I must change that to

1503		   (string-match "^#+^M*$" str)

(Where ^M is really a control-M, not a caret followed by a capital M).

However, I just noticed an even more frightening problem that might be
related.  I cannot copy a block of text that contains a literal ^M.
I can kill a line that contains it, but when I yank that line back, the
^M is gone.

Is it me?  Have I got something horribly misconfigured because I dragged
a lot of my .emacs file over from a unix box?

                                        Cheers,
                                          norm
-- 
Norman Walsh <nwalsh@arbortext.com> | You are in a twisty little maze
Senior Application Analyst          | of URLs, all alluring.
ArborText, Inc. (www.arbortext.com) | 
413.549.3868 Voice/FAX              | 

From owner-ntemacs-users@cs.washington.edu  Mon Jun 16 18:02:19 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" "16" "June" "1997" "08:29:44" "-0400" "Chris Szurgot" "szurgot@itribe.net" nil "54" "Ange-ftp et. al..." "^From:" nil nil "6" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id SAA13440 for <voelker@june.cs.washington.edu>; Mon, 16 Jun 1997 18:02:19 -0700
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id SAA38682 for <voelker@joker.cs.washington.edu>; Mon, 16 Jun 1997 18:02:09 -0700
Received: (majordom@localhost) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) id RAA18825 for ntemacs-users-outgoing; Mon, 16 Jun 1997 17:28:07 -0700 (PDT)
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id RAA18821 for <ntemacs-users@trout.cs.washington.edu>; Mon, 16 Jun 1997 17:28:05 -0700 (PDT)
Received: from virtual.itribe.net (virtual.itribe.net [209.49.144.203]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id RAA11794 for <ntemacs-users@cs.washington.edu>; Mon, 16 Jun 1997 17:28:04 -0700
Received: from localhost (REV-209-49-146-50.itribe.net [209.49.146.50]) by virtual.itribe.net (8.8.5/8.6.12) with SMTP id UAA09656 for <ntemacs-users@cs.washington.edu>; Mon, 16 Jun 1997 20:29:30 -0400 (EDT)
Message-ID: <Pine.WNT.3.95.970616080748.204N-100000@morpheus.itribe.net>
X-X-Sender: szurgot@morpheus.itribe.net
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Precedence: bulk
From: Chris Szurgot <szurgot@itribe.net>
Sender: owner-ntemacs-users@cs.washington.edu
To: ntemacs-users@cs.washington.edu
Subject: Ange-ftp et. al...
Date: Mon, 16 Jun 1997 08:29:44 -0400 ()

I've always known that the ftp program I ported was poorly done, and
especially has trouble with firewalls (A problem I'm wrestling with
myself)

However, I'd noticed recently that you can get around the limitation where
Microsoft's ftp expect the password to be typed in (in won't take it
from a pipe) by "quote"ing the username/password string. Would some
emacs-lisp guru be able to use this information to allow ange-ftp to use
the standard ftp, this saving us all a LOT of headache? (I can't seem to
sort it out, and don't have much time lately.) :(

Sample sessions follow. 

This is the session ripped from an emacs login...
ftp> open porthos
Connected to porthos.itribe.net.
220 porthos.itribe.net FTP server ready.
ftp> user "szurgot" Turtle Power!
331 Password required for szurgot.
230 User szurgot logged in.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> ls "-al /" c:/tmp/ange-ftpa00269
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.

226 Transfer complete.

And here is a sample using the "quote" command.
C:\TEMP>ftp -n
ftp> open ftp.microsoft.com
Connected to ftp.microsoft.com.
220 ftp Microsoft FTP Service (Version 3.0).
ftp> quote user anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
ftp> quote pass szurgot@itribe.net
230-This is FTP.MICROSOFT.COM.  Please see the
 dirmap.txt file for more information.

 An alternate location for Windows NT
 Service Packs is located at:

 ftp://198.105.232.37/fixes/
230 Anonymous user logged in.
ftp>

NOTE: the whole "Turtle Power!" thing doesn't work, but otherwise, this
should work, right?

Chris

PS. Mind you, I'm not done trying myself, but...

Chris

