emacs-rcp  

Re: TRAMP suggestion: support fsh

Ed Avis
Wed, 25 Jul 2001 03:42:23 -0700

On Wed, 25 Jul 2001, Kai [iso-8859-1] Großjohann wrote:

>>Providing an inline fsh method would not make sense because fsh is
>>not interactive; it just sets up a tunnel that can be used for
>>successive non-interactive commands.

>Does this mean if you do "fsh -l USER HOST", then you don't get a
>shell prompt from the remote host?  Tramp expects a shell prompt in
>this case.

You do

% fsh somehost do-this...
% fsh somehost do-that...
% fsh somehost do-the-other...

The second and third commands reuse the existing ssh connection, there
is no need to set it up and tear it down each time.  Also

% fcp somefile somehost:
% fcp anotherfile somehost:

reuses the connection in a similar way.

I thought that the out-of-band scp and rcp methods would just run scp
or rcp to transfer files back and forth, so it would be easy to adapt
them to fsh.  Does tramp also require an actual prompt on the remote
machine, even when files are transferred with scp?

-- 
Ed Avis
[EMAIL PROTECTED]