emacs-rcp  

Re: TRAMP suggestion: support fsh

Ed Avis
Tue, 24 Jul 2001 08:39:14 -0700

On Tue, 24 Jul 2001, Pete Forman wrote:

>[about auto sensing connection methods]
>
>How about this approach?
>
>Maintain a ~/.tramprc file with, say, an alist with the associations
>between hosts or tags and connection methods.
>
>A normal tramp connection would read this file (if present) to
>determine the methods.
>
>The file could be maintained by hand but I'd hope that it would be
>updated programatically.  Something like tramp-explore-connections-to-
>host.  That would be done as a separate operation to normal tramp
>connections.

Well, I'd prefer that the user gets the option to do it automatically
the first time TRAMP tries to connect to a host.

'You have not connected to this host before.  Do you want to:
   0.  Have TRAMP try to figure out the best connection method;
   1.  Choose a connection method by hand.
 Your choice (default 0):'

But yes, that idea sounds good!

To have truly 'transparent' access to remote files, the user shouldn't
have to worry too much about the mechanics of how the file is fetched.
So the connection method ideally should not be part of the Emacs
filename, or at least you should be able to omit it if you want.
TRAMP could figure out what method to use based on ~/.tramprc,
prompting the user and (maybe) auto-discovery.

-- 
Ed Avis
[EMAIL PROTECTED]