ssh "!command" escape sequence - does it work?

Chris Green cl at isbd.net
Fri Sep 11 14:34:59 UTC 2020


On Fri, Sep 11, 2020 at 11:14:46PM +1000, Karl Auer wrote:
> On Fri, 2020-09-11 at 13:11 +0100, Chris Green wrote:
> > Yes, as it's supposed to be.  As you say though the rest of the
> > !command escape seems to be, at the very least, not quite what one
> > expects.  I've searched around quite a bit but I've not found
> > anything very helpful.
> 
> What do you actually want to use it for? I can dimly see how
> LocalCommand might be useful, but I don't get what the escapechar
> version of it would be good for.
> 
I read E-Mail using mutt, often via ssh from another computer.  To
view PDF (and other) files there's a .mailcap entry that mutt uses,
this is easy to work when you're on the computer where mutt is running
but I want to run the PDF viewer on the remote (client) system.  I can
easily copy the files across or make them available to the remote but
firing up a PDF viewer is more difficult.  This LocalCommand escape
might be just the job.

-- 
Chris Green




More information about the ubuntu-users mailing list