DOS PC/TCP server

sandy@ibm550.sissa.it
Fri, 27 May 1994 12:17:08 +0200


>>>>> On Fri, 20 May 94 17:24:21 EDT,
      iddpbp@iddis.com (Paul B. Poh) said:

 > I appear to be unsuccesful in getting efs to work with PC/TCP's (v2.3) FTP
 > server for DOS. The following is my efs setup in my .emacs file

 > -----
 > (require 'efs)
 > (efs-add-host 'dos:ftp "ppoh")

There are some problems with the DOS support in 1.6.  They are fixed
with 1.8, which is due real soon.  However, your problem is above.

dos:ftp isn't a valid host type, it's a listing type.

If you want to specify a host type then you should do

(efs-add-host 'dos "ppoh")
(efs-add-listing-type 'dos:ftp "ppoh" "ppoh")

The second arg to efs-add-listing-type is supposed to be the user
(which in your case is also "ppoh").  The point is that some machines
show different styles of listings to different users.  However, the
overall operating system doesn't change.  I realize that this syntax
seems a little weird for DOS, but we had to create structures that
would be general enough for the dozens of OS's supported.

By the way, listing types always have colons in the name

Usually, it's safest not to specify any host types or listing types in
your .emacs file, and let efs figure it out.  Contrary to what you
might think, specifying a host type is only somewhere between zero and
small as an efficiency win.

--sandy